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

833 Commits

Author SHA1 Message Date
shipinev
425a3f4b56 Lint project files 2017-10-19 15:09:09 +07:00
shipinev
7217120853 Merge branch 'master' into task/swiftlint
# Conflicts:
#	Source/animation/layer_animation/FuncBounds.swift
#	Source/animation/layer_animation/PathBounds.swift
#	Source/model/geom2d/GeomUtils.swift
#	Source/render/RenderUtils.swift
#	Source/svg/SVGParser.swift
#	Source/svg/SVGSerializer.swift
2017-10-19 15:01:09 +07:00
shipinev
bc02ad310d Add SwiftLint to macOS target 2017-10-19 14:38:29 +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
6925209d88 Fix clip test 2017-10-19 00:08:35 +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
b0165deebd Add Locus to Path util functions 2017-10-18 17:46:18 +07:00
Yuriy Kashnikov
da6c83eb9d Merge pull request #208 from exyte/bug/fix-fill-color-in-serializer
Fix color to SVG conversion in SVG serializer
2017-10-18 13:35:55 +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
703ce5d3ef Merge pull request #206 from exyte/bug/fix-skewx-skewy-in-svg-parser
Fix skewX and skewY in SVG parser
2017-10-17 08:48:18 +07:00
Yuriy Kashnikov
0c0ea87996 Merge pull request #202 from exyte/bug/fix-path-bounds-calculation
Add bounds computation via derivative
2017-10-16 22:56:28 +07:00
Yuriy Kashnikov
4c82045d4b Add trasnform.svg resource 2017-10-16 16:47:23 +07:00
shipinev
a0407ea18e Add format option to autocorrect command 2017-10-16 16:39:53 +07:00
shipinev
d241aee7a8 Format SVG Parser file 2017-10-16 16:38:41 +07:00
shipinev
85ec22d79c Correct and clean up SVG Parser file 2017-10-16 16:33:01 +07:00
Yuriy Kashnikov
e3d4498970 Fix skewX and skewY in SVG parser 2017-10-16 16:23:35 +07:00
shipinev
9d3a96bca4 Add SwiftLint configuration and apply autocorrection 2017-10-16 16:13:54 +07:00
Yuriy Kashnikov
661c684f24 Merge pull request #204 from exyte/bug/fix-rgb-notation
Support short rgb notation in SVG parser
2017-10-16 15:17:22 +07:00
Yuriy Kashnikov
32a037901f Support short rgb notation in SVG parser 2017-10-16 14:07:43 +07:00
Yuriy Kashnikov
4bfb9f50da Remove todos 2017-10-13 17:47:24 +07:00
Yuriy Kashnikov
9055efc5c9 Remove test with incorrect bezier curve 2017-10-13 17:05:32 +07:00
Yuriy Kashnikov
0d05f5e6bf Add bounds computation via derivative 2017-10-13 16:20:07 +07:00
Victor Sukochev
aa1d3c9163 Merge pull request #201 from amarunko/bug/content-mode-fix
Fix for aspect fit content mode
2017-10-12 19:00:29 +07:00
Anton Marunko
4aec82fd10 Fix for aspect fit content mode 2017-10-12 18:50:09 +07:00
Yuriy Kashnikov
7af984eb1b Merge pull request #200 from exyte/bug/fix-path-bounds-calculation
Bug/fix path bounds calculation
2017-10-12 16:55:35 +07:00
Yuriy Kashnikov
c4bf083ec9 Fix vertical path bounds calculation 2017-10-12 16:44:30 +07:00
Yuriy Kashnikov
1fd0376694 Fix horizontal path bounds 2017-10-12 16:38:57 +07:00
Yuriy Kashnikov
bb8017b72e Fix path bounds calculation
After this fix bounds for pathbounds1.svg will be correct.
Bounds for pathbounds2.svg still not.
2017-10-12 15:41:46 +07:00
Victor Sukochev
58f1d320f8 Merge pull request #199 from exyte/bug/fix-path-bounds
Path bounds fix for s cubic curve
2017-10-11 17:15:45 +07:00
Yuriy Kashnikov
2b6e746e0e Path bounds fix for s cubic curve 2017-10-11 17:02:06 +07:00
Yuriy Kashnikov
abc9296458 Merge pull request #196 from exyte/bug/fix-text-transform
Bug/fix text transform
2017-10-10 14:42:46 +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
811fef8a18 Merge pull request #195 from exyte/qfix/fix-warning-in-text-renderer
Fix minor warning in Text renderer
2017-10-09 17:58:32 +07:00
Yuriy Kashnikov
12b37c8293 Fix minor warning in Text renderer 2017-10-09 17:37:16 +07:00
Yuriy Kashnikov
5b13b90311 Merge pull request #194 from exyte/bug/fix-complex-transform
Bug/fix complex transform
2017-10-09 17:35:31 +07:00
Yuriy Kashnikov
8520622b2f Fix transform and add more complex test 2017-10-09 17:27:40 +07:00
Yuriy Kashnikov
527ea134dc Add basic test for text transform 2017-10-09 16:16:01 +07:00
Yuriy Kashnikov
4b6af3cfe6 Merge pull request #193 from exyte/bug/fix-transform
Add transform for text and image
2017-10-09 16:03:07 +07:00
Yuriy Kashnikov
7b95e13b61 Add transform for text and image 2017-10-09 15:29:29 +07:00
Yuriy Kashnikov
91dc76fe51 Merge pull request #192 from exyte/bug/fix-clip-in-serializer
Implement straightforward clip serialization
2017-10-09 14:54:41 +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
9828a5b2a0 Merge pull request #190 from exyte/bug/fix-image-serialization
Fix Image to SVG serialization
2017-10-09 11:25:39 +07:00
Yuriy Kashnikov
3c9ff9e0fd Fix duplicating resource (logo) name 2017-10-09 11:05:55 +07:00
Yuriy Kashnikov
aaaa7218f8 Add logo.png to fix Image serialization tests 2017-10-06 17:56:20 +07:00
Yuriy Kashnikov
991996ce42 Merge pull request #189 from exyte/bug/fix-arc-tests
Fix Arc tests
2017-10-06 17:55:24 +07:00
Yuriy Kashnikov
882c19798c Add tests for SVG image serialization 2017-10-06 17:45:36 +07:00