Skip to content

Releases: swhitty/SwiftDraw

Fix Images sized with Percentage

06 Mar 06:41
f8dc874
Compare
Choose a tag to compare

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

09 Jan 02:58
0bcdd35
Compare
Choose a tag to compare

display-p3 color is now correctly supported.

e.g.
fill-color="color(display-p3 0 1 1)"

Swift Code Generation

19 Jun 12:01
e558bda
Compare
Choose a tag to compare

Adds swift code generation to command line tool.

Swift 5.4

06 Jun 11:11
ca2363e
Compare
Choose a tag to compare

Adds public method to create Image from Data

Swift 5.4

06 Jun 04:54
e187cbc
Compare
Choose a tag to compare

Fixes iOS compatibility in Package.swift
Binary is built with Xcode 12.5

Gradient UserSpaceOnUse

12 Jul 01:29
3595556
Compare
Choose a tag to compare

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

27 Jun 02:24
0ee91a9
Compare
Choose a tag to compare

Includes localised fix for referenced gradients

v0.7.1 Swift 5.2

22 May 22:59
f09a8c4
Compare
Choose a tag to compare

Updated for compatibility with Swift 5.2

v0.7.0 CommandLineTool Size

05 Jan 00:43
dc3bf2c
Compare
Choose a tag to compare

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

10 Jun 06:31
16f3f81
Compare
Choose a tag to compare

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.