Releases: swhitty/SwiftDraw
Fix Images sized with Percentage
SVG images that have a size in % unit failed to size correctly.
<svg width="100%" height="100%" viewBox="0 0 500 500">
Width should be 500px not 100px.
P3 Color
Swift Code Generation
Adds swift code generation to command line tool.
Swift 5.4
Swift 5.4
Gradient UserSpaceOnUse
Adds support for gradients that are define within userSpaceOnUse
. Previously objectBoundingBox
was only supported.
Small fix for Paths that begin with M ## ## ## ##
whereby SVGs should interpret this as M ## ## L ## ##
.
Referenced Gradients
Includes localised fix for referenced gradients
v0.7.1 Swift 5.2
Updated for compatibility with Swift 5.2
v0.7.0 CommandLineTool Size
Adds support for custom images sizes and scales within the command line tool
% swiftdraw sample.svg --format pdf --size 48x48
v0.6.0 PDF Transparency Masks
Adds support for creating PDF images with SVGs what include transparency masks. This is achieved by using a rendered greyscale image mask so PDF file size is increased while the quality is reduced compared to native Core Graphics transparency layers.