Commit Graph
58 Commits
Author SHA1 Message Date
Alisa Mylnikova 2aed94aec2 Split on MacawView and DrawingView 2020-04-16 15:46:02 +07:00
Alisa Mylnikova eabb1810f0 Move layer to renderer 2019-05-08 13:13:50 +07:00
Alisa Mylnikova 44dfb89d16 Add animation layer hierarchy 2019-04-30 15:13:39 +07:00
Andrew Romanov 14db8659e3 renamed kern to kerning, fixed tests for kerning attribute 2019-03-01 23:42:01 +07:00
Andrew Romanov ca65880621 property kern renamed to kerning 2019-03-01 21:31:59 +07:00
Andrew Romanov 2b5f671d60 added support of kerning to Text. Added example for text rendering. 2019-02-28 13:53:40 +07:00
Anton Marunko c7196470ef Fix lint warnings 2019-01-29 10:14:12 +06:00
Yuri Strot 4dceea892b Fix #347: Fill color disappears if there is stroke color 2019-01-25 20:45:27 +07:00
Alisa Mylnikova 178c66529a NodePath 2018-11-13 18:56:48 +07:00
Alisa Mylnikova 4f23e4672a Code review improvements 2018-11-09 12:19:58 +07:00
Alisa Mylnikova da870907a7 Remove nodes map 2018-11-01 17:30:16 +07:00
Alisa Mylnikova cb34f7843c Swift 4.2 adaptation 2018-09-04 17:31:00 +07:00
Anton Marunko 738e2a95af Added dispose on deinit 2018-08-08 18:23:01 +07:00
Anton Marunko f2d887bd6f Moved bounds to computed property 2018-06-21 13:05:38 +07:00
Alisa Mylnikova 4aa568466c Apply mask's color, not only form 2018-06-07 17:42:57 +07:00
Alisa Mylnikova dfbbfb23ee Fix events example
Replace UIView with MView

MacOs fix
2018-06-04 16:51:48 +07:00
Alisa Mylnikova 7a608c7c0c Fix #34: Implement DropShadow effect rendering 2018-05-23 15:39:46 +07:00
Yuri Strot 59baee462c Fix all SwiftLint warnings 2018-05-16 23:40:04 +07:00
Yuri Strot 9c97666620 Add public extensions to convert Macaw primitives to system CG primitives 2018-05-14 20:34:16 +07:00
Alisa Mylnikova 41b31adb83 Merge branch 'master1' into task/fontWeight
# Conflicts:
#	Source/render/RenderUtils.swift
#	Source/render/TextRenderer.swift
2018-05-03 18:09:55 +07:00
Alisa Mylnikova 73422282f3 Fix #337: SVGParser: Apply font weight to custom fonts 2018-04-27 17:29:10 +07:00
Alisa Mylnikova 3e3bbe6d0c Fix #335: Parse generic fonts from svg 2018-04-27 16:42:03 +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
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
Florian Hirschmann b050f8cf53 Added #available statement to TextRenderer
This needed for the Swift Package Manager to work accordingly, since it does not yet support build settings (like the deployment target).
https://lists.swift.org/pipermail/swift-evolution-announce/2017-January/000307.html
2017-12-13 14:13:52 +01:00
shipinev 9d3a96bca4 Add SwiftLint configuration and apply autocorrection 2017-10-16 16:13:54 +07:00
Yuriy Kashnikov 12b37c8293 Fix minor warning in Text renderer 2017-10-09 17:37:16 +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
Viktor Sukochev c5d93a69c3 Basic conversion 2017-08-28 14:56:52 +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
Viktor Sukochev 3fa5d84c59 Keeping weak reference on animation cache 2017-07-03 14:09:56 +07:00
Viktor Sukochev cc62334bbc Weak references for renderer's nodes 2017-06-30 18:33:15 +07:00
Viktor Sukochev 8dee2a9b18 Making renderer to node reference weak 2017-06-26 19:04:33 +07:00
Viktor Sukochev 702cd311f3 Text node touch detection fix 2017-04-14 18:16:09 +07:00
Viktor Sukochev ba64b537b4 Complex text fix 2016-11-30 16:11:36 +07:00
Victor Sukochev 5c555733cf Merge branch 'swift_3.0'
# Conflicts:
#	Source/model/scene/Shape.swift
#	Source/render/GroupRenderer.swift
#	Source/render/ImageRenderer.swift
#	Source/render/NodeRenderer.swift
#	Source/render/RenderUtils.swift
#	Source/render/ShapeRenderer.swift
#	Source/render/TextRenderer.swift
#	Source/views/MacawView.swift
2016-09-29 23:03:58 +06:00
Yuri Strot 483dff7674 Resolve #14, #26, #56: clip, opaque and full events support. 2016-09-28 00:18:51 +07:00
Victor Sukochev bed4386799 Raw automated swift 3.0 conversion (not buildable) 2016-09-27 19:45:31 +06:00
Yuri Strot 28500305fc Reuse node renderers and fix animation performance issues 2016-09-08 18:54:26 +07:00
Victor Sukochev b4a907c0f7 Disabling renderer event by individual node 2016-09-08 18:19:53 +06:00
Yuri Strot 3f4959dbad Resolve #50: MacawView doesn't refresh on scene updates 2016-09-06 16:33:28 +07:00
Yuri Strot 1b53cd17b4 Add default values for Color/Fill/Font. 2016-08-22 16:12:57 +07:00
Victor Sukochev 8254a02d2b TextRenderer fix (using current context) 2016-08-22 13:12:45 +06:00
Victor Sukochev 5070c2e1b1 Animation cache refactored not to be singleton 2016-08-18 15:53:33 +06:00