1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-21 01:47:44 +03:00
Commit Graph

183 Commits

Author SHA1 Message Date
Alisa Mylnikova
9d6e0f6d41 Fix wrong text-anchor parsing 2018-04-28 11:59:17 +07:00
Alisa Mylnikova
843cac6b6d Parse units in font sizes (Tribute to #156 Text fixes) 2018-04-24 14:11:57 +07:00
Yuri Strot
6f83de00d1
Merge pull request #316 from f3dm76/task/rootElement
Add root svg element to the scene
2018-04-24 13:55:19 +07:00
Alisa Mylnikova
c5d8aa90f2 Merge branch 'master' into task/rootElement
# Conflicts:
#	Macaw.xcodeproj/project.pbxproj
2018-04-24 11:41:49 +07:00
Alisa Mylnikova
26a3e7bee1 Merge branch 'master' into task/visibilityAttribute
# Conflicts:
#	Source/svg/SVGParser.swift
2018-04-23 21:09:30 +07:00
Yuri Strot
48504ea7e5
Merge pull request #329 from f3dm76/task/opacityRounding
Fix  #328: Fill opacity > 1 is processed incorrectly
2018-04-23 20:07:28 +07:00
Yuri Strot
8ce50eaba2
Merge pull request #322 from f3dm76/task/units
Fix #185: Implement px m Stroke-dasharray
2018-04-23 20:04:04 +07:00
Alisa Mylnikova
02075ce0c1 Move the check to parser 2018-04-23 17:19:59 +07:00
Alisa Mylnikova
584adf861e Add e notation parsing 2018-04-23 17:08:12 +07:00
Yuri Strot
4af9f85804
Merge pull request #293 from fdelencl42/svgParser_fix
fix 3 style attributes on SVGParser class
2018-04-23 16:23:42 +07:00
Yuri Strot
e4d3a0f7b4
Merge pull request #327 from f3dm76/task/strokeOffset
Fix #186: Support stroke-dashoffset in SVG parser, renderer, and seri…
2018-04-23 15:24:06 +07:00
Yuri Strot
e6f236de55
Merge pull request #321 from f3dm76/task/currentColor
Fix #320: Add "currentColor" support
2018-04-23 15:10:23 +07:00
Yuri Strot
38d996acf5
Merge pull request #319 from f3dm76/task/newLinesInTranform
Fix #318: Can't parse translate attributes if they contain \n
2018-04-23 15:08:03 +07:00
Yuri Strot
cdd08b2f08
Merge pull request #317 from f3dm76/task/sliceContentAlign
Apply align for slice content mode
2018-04-23 15:07:01 +07:00
Alisa Mylnikova
00410b80ea Don't serialize empty dasharray 2018-04-19 16:37:25 +07:00
Alisa Mylnikova
219b92e6de Use node's style attributes, not only group's 2018-04-19 16:14:08 +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
0cba5aa616 Fix #325: Attribute "visibility" is ignored 2018-04-19 12:35:46 +07:00
Alisa Mylnikova
6efee3b536 Fix #185: Implement px m Stroke-dasharray 2018-04-18 18:28:21 +07:00
Alisa Mylnikova
6c0c709ced Fix #320: Add "currentColor" support 2018-04-18 17:29:28 +07:00
Alisa Mylnikova
d20f5a04d7 Fix #318: Can't parse translate attributes if they contain \n 2018-04-18 15:49:21 +07:00
Félix Delenclos
2f7dc2f44e fix conflict 2018-04-14 07:52:05 +02:00
Alisa Mylnikova
4268db024e Apply align for slice content mode 2018-04-13 11:21:47 +07:00
Alisa Mylnikova
8fb3bdc59d Add root svg element to the scene 2018-04-13 11:13:58 +07:00
Alisa Mylnikova
90c6e61a12 Fix #303: RadialGradient. Stop Offset > 1 (IOS) 2018-04-12 10:36:24 +07:00
Yuri Strot
7844137b34 Add special model class for root SVG element 2018-04-11 22:38:23 +07:00
Alisa Mylnikova
fdd5679d94 Fix #309: Style attribute "display" is being ignored 2018-04-11 17:58:21 +07:00
Yuri Strot
dd7b7904c1
Merge pull request #291 from f3dm76/task/svgViewBox
Fix #87: Support <svg> viewBox attribute
2018-04-11 16:19:48 +07:00
Alisa Mylnikova
ac071be63a Fix #306: Named colors don't work in gradients 2018-04-10 18:58:18 +07:00
Alisa Mylnikova
e3cb7decd7 Code review improvements 2018-04-10 10:59:12 +07:00
Alisa Mylnikova
052003ade0 Merge commit 'c78b3e9605d1e50fed488f98214cbaff8e3808f9' into task/svgViewBox 2018-04-09 18:22:27 +07:00
Alisa Mylnikova
16a4c36d4a Improve SVGView aspect scaling 2018-04-06 18:17:04 +07:00
Sroik
cfd23c7012 swiftlint tweaks 2018-04-04 17:59:28 +03:00
Alisa Mylnikova
5cfe028494 Better aspect ratio implementation 2018-04-03 15:09:49 +07:00
Alisa Mylnikova
49e16e9f52 Better Align implementation 2018-04-03 13:17:43 +07:00
Félix Delenclos
988df59096 fix "use of unresolved identifier 'cap'" 2018-04-02 20:03:05 +02:00
Félix Delenclos
c6dbb541fa add 'round' stroke-linecap and stroke-linejoin and fixed stroke-width with decimal digits 2018-04-02 19:47:26 +02:00
Alisa Mylnikova
26ee61a2c8 Merge remote-tracking branch 'Macaw/master' into task/svgViewBox 2018-03-30 11:53:42 +07:00
Alisa Mylnikova
f70bc1b82b Use TransformHelper in SVGView 2018-03-29 18:27:58 +07:00
Alisa Mylnikova
50803e10ff Add test for viewBox 2018-03-29 17:28:05 +07:00
Yuri Strot
54a417be7d Optimize prepare phase of SVG parser and make "style" place-independent as well as "defs". 2018-03-29 16:00:39 +07:00
Alisa Mylnikova
22c77a3cf1 Add helper for aspectFill/Fit transformations 2018-03-29 15:40:08 +07:00
Alisa Mylnikova
858dfddd38 Support 'preserveAspectRatio' attribute 2018-03-29 12:02:21 +07:00
Alisa Mylnikova
3ace85105e Fix #87: Support <svg> viewBox attribute 2018-03-28 14:51:25 +07:00
Alisa Mylnikova
7177d9fe12 Fixed tests 2018-03-28 14:15:19 +07:00
Alisa Mylnikova
a59c6312cf Fix #289: Defs section can be declared anywhere in SVG file 2018-03-27 18:06:17 +07:00
Viktor Sukochev
214cbaf084 SVGParser: exponential format fix 2018-03-12 23:50:17 +07:00
Yuri Strot
931583e12c Fix #261: "D" attribute of path parsed incorrectly 2017-12-28 18:31:39 +07:00
Yuri Strot
05c91d8250 Fix #173: Implement elliptical Arc support in path SVG shape 2017-12-28 17:55:45 +07:00
Yuri Strot
3d2814ed5b Fix SVG style order issue 2017-12-20 23:18:00 +07:00