v0.12.0
What's Changed
- feat: Implement path rendering that respects fill-rule! :) by @meyfa in #136
- fix: Round the strokeWidth when outlining shapes in renderers by @meyfa in #137
- feat: Implement a Transform class by @meyfa in #138
- feat: Add normalized diagonal getters to SVGRasterizer by @meyfa in #139
- tests: Ensure Length::convert() with null input returns null by @meyfa in #141
- refactor: Convert lengths to pixels outside of renderers by @meyfa in #142
- feat: Add resize() method to Transform for measuring width/height scale by @meyfa in #143
- refactor: Use Transform class for viewport scale+offset during render by @meyfa in #144
- feat: Implement TransformParser for converting strings to Transform by @meyfa in #145
- feat: Add SVGRasterizer::pushTransform() and ::popTransform() by @meyfa in #150
- refactor: Move path approximation into renderer by @meyfa in #151
- refactor: Make PathApproximator explicitly stateful by @meyfa in #152
- chore(ci): Use composer.json for cache key instead of composer.lock by @meyfa in #153
- chore(ci): Cache composer's internal cache directory instead of vendor by @meyfa in #154
- feat: Rewrite PathApproximator to take the Transform into account by @meyfa in #155
- feat: Implement fill-rule support for PolygonRenderer by @meyfa in #157
- feat: Implement renderer support for 'fill-opacity' and 'stroke-opacity' by @meyfa in #158
- fix: Ensure style properties do not contain surrounding whitespace by @meyfa in #161
- fix: Round pixel coordinates for path stroke and fill by @meyfa in #162
- fix: Avoid path fill crash with too few points by @meyfa in #164
- fix: Avoid path stroke crash with too few points by @meyfa in #166
- refactor: Simplify PathRendererImplementation loop by @meyfa in #167
- docs(readme): Rewrite the README (fixes #125) by @meyfa in #163
- fix: Avoid deprecation warnings when passing null by @beatjaeckle in #169
- docs: Declare
null
return typehints on SVG::getWidth/getHeight by @norkunas in #170 - feat: Add LIBXML_PARSEHUGE flag to allow larger content by @walidaalhomsi in #172
- refactor: Use hypot() to calculate hypotenuse by @Niellles in #176
- fix: Add shim for trim() that accepts null by @Niellles in #177
- chore: Improve each() polyfill (fixes #178) by @Niellles in #179
- fix: Fix more wrong typehints by @norkunas in #181
New Contributors
- @beatjaeckle made their first contribution in #169
- @norkunas made their first contribution in #170
- @walidaalhomsi made their first contribution in #172
- @Niellles made their first contribution in #176
Full Changelog: v0.11.3...v0.12.0