Yuri Strot
59baee462c
Fix all SwiftLint warnings
2018-05-16 23:40:04 +07:00
Alisa Mylnikova
bc2ae5969b
Merge branch 'master' into swift_4.1
2018-04-23 21:05:52 +07:00
Alisa Mylnikova
00410b80ea
Don't serialize empty dasharray
2018-04-19 16:37:25 +07:00
Alisa Mylnikova
e97646c53d
Fix #186 : Support stroke-dashoffset in SVG parser, renderer, and serializer
2018-04-19 16:00:41 +07:00
Alisa Mylnikova
40fd1ed1e0
Merge branch 'master' into swift_4.1
2018-04-12 10:17:19 +07:00
Alisa Mylnikova
45dbffc1b7
Swift 4.1 adaptation
2018-04-10 11:55:36 +07:00
Alisa Mylnikova
49e16e9f52
Better Align implementation
2018-04-03 13:17:43 +07:00
Yuri Strot
05c91d8250
Fix #173 : Implement elliptical Arc support in path SVG shape
2017-12-28 17:55:45 +07:00
Yuriy Kashnikov
bdc3d5b562
Change Double.pi to .pi
2017-10-23 15:45:59 +07:00
shipinev
425a3f4b56
Lint project files
2017-10-19 15:09:09 +07:00
Victor Sukochev
27443fd43a
Merge pull request #209 from exyte/feature/parse-svg-clip-path
...
Feature/parse svg clip path
2017-10-19 12:32:54 +07:00
Yuriy Kashnikov
9b34d18d27
Implement clip-path support in SVG parser
...
- Fix Locus to Path conversion: all should be counter-clockwise,
otherwise fill-rulle=nonzero will not work properly and paths
will have donut holes
- Fix Arc serialization: parse largeArc and sweep flags properly
- Add test for clip
2017-10-18 17:48:42 +07:00
Yuriy Kashnikov
8c95c8612a
Fix alpha channel to SVG opacity serialization
2017-10-18 12:52:08 +07:00
Yuriy Kashnikov
2857d28b1c
Fix color to SVG conversion in SVG serializer
2017-10-18 11:22:47 +07:00
Yuriy Kashnikov
a641ea32ec
Fix tests and prettify transform
2017-10-10 14:34:10 +07:00
Yuriy Kashnikov
7f58995f62
Handle baseline for text element
2017-10-10 13:59:41 +07:00
Yuriy Kashnikov
7a55066265
Implement forced placing, i.e. always do matrix transform
2017-10-09 20:43:08 +07:00
Yuriy Kashnikov
8520622b2f
Fix transform and add more complex test
2017-10-09 17:27:40 +07:00
Yuriy Kashnikov
7b95e13b61
Add transform for text and image
2017-10-09 15:29:29 +07:00
Yuriy Kashnikov
b9d175f0aa
Combine all defs on top of the SVG file
2017-10-09 14:47:48 +07:00
Yuriy Kashnikov
535536959a
Implement straightforward clip serialization
2017-10-09 13:49:46 +07:00
Yuriy Kashnikov
882c19798c
Add tests for SVG image serialization
2017-10-06 17:45:36 +07:00
Yuriy Kashnikov
a001162b8b
Fix Image to SVG serialization
2017-10-06 17:12:31 +07:00
Yuriy Kashnikov
a6af6f0782
Fix relative/absolute placing for Shapes in SVG serializer
2017-10-06 12:42:27 +07:00
Yuriy Kashnikov
36d65c9365
Fix ellipse test
2017-10-06 10:13:59 +07:00
Yuriy Kashnikov
77ed4dc2bf
Implement arc to SVG serialiation
...
For details see https://www.w3.org/TR/SVG/implnote.html#ArcImplementationNotes
2017-10-06 00:43:51 +07:00
Anton Marunko
397628e96f
Fixes for serializer optional section format
2017-10-04 11:54:14 +07:00
Yuriy Kashnikov
b3c2469597
Resolve merge conflict for parseText method
2017-09-29 12:58:54 +07:00
Yuriy Kashnikov
cf74a919ff
Remove unnecessary namespace prefix in Serializer
2017-09-22 15:46:05 +07:00
Yuriy Kashnikov
d27e20e1f5
Fix review comments
...
- Update SVG tests: added basic test for ellipse.svg
- Handle optional params via Optional
2017-09-13 16:02:04 +03:00
Yuriy Kashnikov
524b734fc1
Improve SVG Serializer
...
- Support transform and placing
- Expose height and width
2017-09-13 11:54:54 +03:00
Yuriy Kashnikov
2845efb93c
Support Macaw.Text in serializer
2017-08-18 12:34:46 +07:00
Yuriy Kashnikov
cd4d3ce8f6
Support Macaw.Image in serializer
2017-08-18 12:18:47 +07:00
Yuriy Kashnikov
2c9cf915f8
Minor fixes
2017-08-17 16:56:46 +07:00
Yuriy Kashnikov
6be05cb99d
Minor fixes
...
- Same style for string interpolation
- Indentation control
2017-08-17 16:42:48 +07:00
Yuriy Kashnikov
9e8f739b3f
Implement Macaw to SVG serializer
...
- Add Macaw to SVG serializer
- Add basic test for serializer
- Fix default LineCap in Parses
- Add default linecap and linejoin values to SVGConstants
2017-08-17 16:08:36 +07:00