1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-11-11 01:42:35 +03:00
Commit Graph

940 Commits

Author SHA1 Message Date
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
Yuriy Kashnikov
8c6f9d777c Merge pull request #187 from exyte/bug/fix-text-parameters
Fix SVG parser for text anchor and stroke in text elements
2017-10-06 17:17:10 +07:00
Yuriy Kashnikov
4f9d7e04b6 Fix Arc tests 2017-10-06 17:14:57 +07:00
Yuriy Kashnikov
a001162b8b Fix Image to SVG serialization 2017-10-06 17:12:31 +07:00
Yuriy Kashnikov
a8ef0f2958 Merge pull request #188 from exyte/bug/fix-arc-serialization
Implement arc to SVG serialization
2017-10-06 15:01:22 +07:00
Yuriy Kashnikov
a6af6f0782 Fix relative/absolute placing for Shapes in SVG serializer 2017-10-06 12:42:27 +07:00
Viktor Sukochev
e05337b2f0 PDF export 2017-10-06 12:24:04 +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
Yuriy Kashnikov
18b579b425 Fix text constructors
- Pass text anchor
- Pass stroke
2017-10-05 11:39:30 +07:00
Yuri Strot
2d42a83bea Provide better way to add arcs to path 2017-10-05 11:06:48 +07:00
Yuriy Kashnikov
24c01a2fb3 Merge pull request #182 from amarunko/serializer_fixes
Fixes for serializer optional section format
2017-10-04 12:01:28 +07:00
Anton Marunko
397628e96f Fixes for serializer optional section format 2017-10-04 11:54:14 +07:00
Viktor Sukochev
732e92fec0 xcodeproj: os x target 2017-10-03 21:21:37 +07:00
Viktor Sukochev
edf532d8df MacawIOS target supported platforms fix 2017-10-03 21:02:15 +07:00
Viktor Sukochev
3a82d0ac1c Architecture settings fix 2017-10-03 20:57:29 +07:00
Yuriy Kashnikov
3b10a4735b Merge pull request #181 from exyte/qfix/fix-style-parsing-method
Refactor and fix css style parser in SVG parser
2017-10-03 17:21:09 +07:00
Yuriy Kashnikov
dfe5469a0c Merge pull request #179 from exyte/qfix/update-deployment-target-version
Update iOS deployment target version to 9.0
2017-10-03 17:14:37 +07:00
Yuriy Kashnikov
20d48db7ab Add grammar checks to style parser 2017-10-03 17:11:13 +07:00
Yuriy Kashnikov
e56df16918 Merge pull request #180 from exyte/qfix/update-swift-compiler-version
Update Swift compiler version to 4.0
2017-10-03 17:00:16 +07:00
Yuriy Kashnikov
5de677eefe Coerce Substring to String in parseStyle method 2017-10-03 16:58:38 +07:00
Yuriy Kashnikov
4fd186cd4b Update Swift compiler version to 4.0 2017-10-03 16:52:38 +07:00
Yuriy Kashnikov
b635e21563 Merge pull request #178 from exyte/qfix/simplify-color-expression
Qfix/simplify color expression
2017-10-03 15:44:21 +07:00
Yuriy Kashnikov
99cac33d32 Update iOS deployment target version to 9.0 2017-10-03 15:37:27 +07:00
Yuriy Kashnikov
be6ac6cdd3 Simplify color expression to ease Swift compiler's job 2017-10-03 15:24:15 +07:00
Yuriy Kashnikov
3d1a61f9c6 Fix indentation 2017-10-03 15:23:47 +07:00
Yuriy Kashnikov
05d267d085 Merge pull request #177 from exyte/feature/support-css-style-reference
Add implementation for style classes support in SVG parser
2017-10-03 13:33: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
19ea43220a Merge pull request #175 from exyte/bug/fix-stroke-fill-color
Fix stroke fill color parsing
2017-09-29 16:23:38 +07:00
Yuriy Kashnikov
a4cf382a9c Update stroke-width in SVG tests 2017-09-29 16:22:21 +07:00
Yuriy Kashnikov
f500c40882 Update iOS Deployment Target to iOS 9.0 2017-09-29 15:28:16 +07:00
Yuriy Kashnikov
0ec26a878f Fix stroke fill color parsing 2017-09-29 15:25:39 +07:00
Yuriy Kashnikov
08003735ab Port MacawTests to Mac OS X
- Wrap parts into platform dependent macro
- Disable the following tests:
    MacawTests/Animation/CombineAnimationTests.swift
    MacawTests/Animation/DelayedAnimationTests.swift
    MacawTests/Animation/SequenceAnimationTests.swift
    MacawTests/Bounds/ImageBoundsTests.swift
    MacawTests/Bounds/NodeBoundsTests.swift

Add proper text weight rendering

Enhance support for SVG text attributes

- Support `text-anchor` in parser, serializer, and renderer
- Support `font-weight` in parser and serializer
- Support `stroke` (width/fill color) in parser, serializer, and
  renderer
2017-09-29 14:25:46 +07:00
Yuriy Kashnikov
b3c2469597 Resolve merge conflict for parseText method 2017-09-29 12:58:54 +07:00
Igor Zapletnev
f1e59470ff Who is using Macaw? 2017-09-29 12:00:24 +07:00
Yuriy Kashnikov
74990bd368 Merge pull request #167 from exyte/bug/add-missing-appkit-imports
Add missing AppKit imports
2017-09-22 16:10:12 +07:00
Yuriy Kashnikov
582360bd83 Add missing AppKit imports 2017-09-22 15:58:50 +07:00
Yuriy Kashnikov
1cc80f4130 Merge pull request #166 from exyte/qfix/remove-macaw-namespace-prefix
Remove unnecessary namespace prefix in SVG Serializer
2017-09-22 15:48:54 +07:00
Yuriy Kashnikov
cf74a919ff Remove unnecessary namespace prefix in Serializer 2017-09-22 15:46:05 +07:00
Yuriy Kashnikov
e87b71f3dc Merge pull request #165 from exyte/task/test-for-svg-support
Add basic tests for SVG Parser and Serializer
2017-09-21 17:02:17 +07:00
Yuriy Kashnikov
13ab9a01d4 Merge pull request #164 from exyte/qfix/fix-text-default-baseline
Fix default baseline for Text in SVG
2017-09-21 16:12:34 +07:00
Yuriy Kashnikov
5156ceff57 Fix default baseline for Text in SVG 2017-09-21 15:57:20 +07:00
Yuriy Kashnikov
09f8421261 Add basic tests for SVG Parser and Serializer 2017-09-20 16:01:33 +07:00