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

92 Commits

Author SHA1 Message Date
Yuriy Kashnikov
18b579b425 Fix text constructors
- Pass text anchor
- Pass stroke
2017-10-05 11:39:30 +07:00
Anton Marunko
397628e96f Fixes for serializer optional section format 2017-10-04 11:54:14 +07:00
Yuriy Kashnikov
20d48db7ab Add grammar checks to style parser 2017-10-03 17:11:13 +07:00
Yuriy Kashnikov
5de677eefe Coerce Substring to String in parseStyle method 2017-10-03 16:58:38 +07:00
Yuriy Kashnikov
ac012dfb5b Add implementation for style classes support in SVG parser 2017-10-03 13:04:11 +07:00
Yuriy Kashnikov
2190f817ea Merge pull request #174 from exyte/feature/enhance-support-for-svg-text-attributes
Feature/enhance support for svg text attributes
2017-09-29 17:12:39 +07:00
Yuriy Kashnikov
0ec26a878f Fix stroke fill color parsing 2017-09-29 15:25:39 +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
5156ceff57 Fix default baseline for Text in SVG 2017-09-21 15:57:20 +07:00
Viktor Sukochev
dac8552e82 Merge remote-tracking branch 'origin/master' into swift4 2017-09-14 15:11:16 +07:00
Victor Sukochev
dd3d1a72b7 Merge pull request #163 from exyte/feature/add-macaw-to-svg-serializer
Aadd Macaw to SVG serializer
2017-09-14 11:56:58 +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
Anton Marunko
ea8b6e3f6b Warnings fixes for deprecated substring method of String class 2017-09-12 18:32:07 +07:00
Viktor Sukochev
868ab5602d Merge remote-tracking branch 'origin/master' into swift4 2017-09-12 14:59:15 +07:00
Yuriy Kashnikov
d140291208 Add 'transparent' value handling to SVG parser 2017-09-07 16:46:25 +03:00
Simon Corsin
1fb5d8246d Respecting fill color opacity for rgb and color constant. 2017-09-06 13:52:23 -04:00
Viktor Sukochev
c5d93a69c3 Basic conversion 2017-08-28 14:56:52 +07:00
Viktor Sukochev
ffff19619e Merge branch 'macos_support'
# Conflicts:
#	Source/animation/AnimationImpl.swift
#	Source/animation/AnimationProducer.swift
#	Source/animation/types/AnimationSequence.swift
#	Source/animation/types/CombineAnimation.swift
#	Source/animation/types/ContentsAnimation.swift
#	Source/animation/types/MorphingAnimation.swift
#	Source/animation/types/OpacityAnimation.swift
#	Source/animation/types/ShapeAnimation.swift
#	Source/animation/types/TransformAnimation.swift
#	Source/animation/types/animation_generators/MorphingGenerator.swift
#	Source/animation/types/animation_generators/OpacityGenerator.swift
#	Source/animation/types/animation_generators/ShapeAnimationGenerator.swift
#	Source/animation/types/animation_generators/TransformGenerator.swift
#	Source/model/scene/Node.swift
#	Source/render/NodeRenderer.swift
#	Source/svg/SVGConstants.swift
#	Source/svg/SVGParser.swift
#	Source/views/NodesMap.swift
2017-08-25 16:32:30 +07: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
Yuriy Kashnikov
b81e82372c Simplify nesting with compound if-let 2017-08-16 14:16:18 +07:00
Yuriy Kashnikov
995dd5344d Fix rgb string unwrapping
Color conversion should default to black if parsing failed
2017-08-16 14:05:40 +07:00
Yuriy Kashnikov
d80ba98062 Support rgb( color notation in SVG parser 2017-08-16 12:00:00 +07:00
manindaniil
d71442b4a6 add first example 2017-08-11 17:47:02 +07:00
manindaniil
ce1fce6998 first success build 2017-08-11 15:08:31 +07:00
manindaniil
536bc08709 update classes...20% 2017-08-10 20:01:11 +07:00
manindaniil
10766c3403 added platform files for ios/macos 2017-08-10 18:26:02 +07:00
manindaniil
bd397ec4eb fix svg parser 2017-05-15 00:36:34 +07:00
Khoren Markosyan
5234142a21 Fixed conflicts. 2017-03-09 17:15:14 +04:00
Khoren Markosyan
c287e6b16f Merge remote-tracking branch 'original/master' into fix_warnings 2017-03-09 17:11:09 +04:00
Yuri Strot
0f536c7729 Translate SVG id attribute to Node.tag 2017-03-07 17:52:21 +07:00
Khoren Markosyan
03f3d7b73d Fixed all warnings in project. 2017-03-06 21:00:05 +04:00
Viktor Sukochev
bc0aeb8a2e SVGView constructor default values 2017-02-16 16:53:35 +07:00
Yuri Strot
58b95f3166 Fix #68: Change SVGParser.parse signature 2017-01-26 22:10:33 +07:00
shipinev
6b8b9ec744 #86: Add ability to instantiate SVGView programmatically 2017-01-24 20:22:48 +07:00
Viktor Sukochev
23dadfd5e0 Cathage project dependencies attached as sources 2017-01-16 21:43:22 +07:00
Viktor Sukochev
23fb87cb6b Fixing minor warnings 2017-01-16 14:24:44 +07:00
shipinev
b1532680fa Fix incorrect fill color parsing in SVG parser 2016-12-30 10:51:28 +07:00
shipinev
2bae64ffb3 Prevent SVG view from repeatable file parsing when layoutSubviews is called 2016-12-19 16:08:51 +07:00
shipinev
0074bd7dfe SVG parser performance improvements 2016-12-16 21:03:12 +07:00
shipinev
88cd2699f0 SVG parser improvements 2016-12-16 21:03:12 +07:00
shipinev
4979390a35 Add proper fill color handling for SVG shapes and masks 2016-12-08 16:21:57 +07:00
shipinev
e480eb4dc5 Add SVG named color codes 2016-12-08 16:14:08 +07:00
shipinev
49467744ec Fix #72. Correct initial fill property color (according to SVG specification) 2016-12-07 12:58:00 +07:00
shipinev
7a5f59c755 Fix #68. Change SVGParser.parse signature 2016-12-02 15:10:52 +07:00