Fabian Meyer
Fabian Meyer
### What is the problem this feature will solve? As per https://nodejs.org/dist/latest-v18.x/docs/api/test.html#test-runner-execution-model, the test runner can be started as `node --test dirname/` to recursively run all test files (ending in...
Hello, I think it's quite awesome that this package is now written in TypeScript! Since it's been over half a year since the last v3 canary, I would like to...
This implements one part of issue #149. By basing the renderer for rectangles off of the path painting algorithms, we can easily obtain rotated and skewed rectangles. This would be...
Renderers such as the rect renderer currently assume only translation and scale transforms are present. This means that e.g. rotated rects cannot be rendered. Instead of computing the bottom-right corner...
From https://svgwg.org/svg2-draft/painting.html#SpecifyingPaint: > For any [](https://www.w3.org/TR/css3-values/#colors) value, all color syntaxes defined in [CSS Color Module Level 3](https://www.w3.org/TR/css-color-3/#colorunits) must be supported, including rgb(), rgba(), hsl(), hsla(), the [extended color keywords](https://www.w3.org/TR/css-color-3/#svg-color) and...
Currently the hypothenuse is often computed by hand via `sqrt(a*a + b*b)`. This can be simplified to `hypot(a, b)`.
This is currently a TODO in SVGReader: https://github.com/meyfa/php-svg/blob/c9a89c19b5c2b3cef509c38fd3a83569f4205389/src/Reading/SVGReader.php#L177 Due to the outdated-ness of PHP 5.3 and the relative rarity of namespaces on child nodes, this is not a priority. Nonetheless,...
The current rasterizer implementation is severely lacking due to limitations with PHP's GD module. The only advantage of GD over Gmagick, and the reason this library exists, is that GD...