Commit Graph
65 Commits
Author SHA1 Message Date
Yuri Strot aa908389a9 Fix formatting and warnings 2020-07-30 15:48:36 +07:00
Alisa Mylnikova 2aed94aec2 Split on MacawView and DrawingView 2020-04-16 15:46:02 +07:00
Alisa Mylnikova a3d70e56e3 Apply clip during bounds calculation 2019-07-05 11:31:00 +07:00
Alisa Mylnikova 8b2027af27 Merge commit '1fbc6f335b441a18dff22b851e2db429950461dc' into task/cascade-animation 2019-05-29 15:04:59 +07:00
Yuri Strot 34d2382d93 Avoid NPE mentioned in #571: LoadFont with "bold" weight will crash 2019-05-13 19:36:55 +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
Yuri Strot baea2ccfc6 Fix #473 and #474: custom fonts are not loaded correctly 2019-02-11 18:59:13 +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
Anton Marunko 24e0449826 Moving changed only for iOS classes to platform specific methods and structs + RenderUtils methods for converting LineJoin and LineCap moved to appropriate structs 2018-09-27 17:30:04 +06:00
Alisa Mylnikova 7c1a7655e6 Sort test references alphabetically 2018-09-14 16:56:06 +07:00
Alisa Mylnikova cb34f7843c Swift 4.2 adaptation 2018-09-04 17:31:00 +07:00
Aurelius Prochazka be9cec1bcf Store a lowercased font for multiple checks 2018-08-20 01:37:51 -07:00
Aurelius Prochazka 1ab4dfd3bf Moved lowercasing as to not be destructive 2018-08-19 17:46:44 -07:00
Anton Marunko 709283c61a Changes related to crash on bounds calculating 2018-06-21 12:41:12 +07:00
Anton Marunko cdc7d361b2 Fix for ellipse locus converting to cgPath 2018-06-13 17:58:39 +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
Alisa Mylnikova 5fb37e78cb Move transformation to path creation 2018-05-22 11:09:15 +07:00
Alisa Mylnikova c839011d34 Fix #274: Fix rendering of Figma generated svgs 2018-05-21 18:09:01 +07:00
Yuri Strot 59baee462c Fix all SwiftLint warnings 2018-05-16 23:40:04 +07:00
Alisa Mylnikova 1c80faad8d Fix crash when polygon points count is odd 2018-05-15 17:23:34 +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 770f4d16bb Fix #356: Path's stroke-dasharray is reversed 2018-05-14 14:09:24 +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 d749c33e78 Logic fix 2018-05-03 17:28:20 +07:00
Alisa Mylnikova f4adb557b8 MacOS adaptation 2018-04-28 13:04:13 +07:00
Alisa Mylnikova e95a56a178 More MacOS adaptation 2018-04-28 12:50:40 +07:00
Alisa Mylnikova 73422282f3 Fix #337: SVGParser: Apply font weight to custom fonts 2018-04-27 17:29:10 +07:00
Alisa Mylnikova 5c538f8c59 MacOS adaptation 2018-04-27 16:52:23 +07:00
Alisa Mylnikova 3e3bbe6d0c Fix #335: Parse generic fonts from svg 2018-04-27 16:42:03 +07:00
Sroik cfd23c7012 swiftlint tweaks 2018-04-04 17:59:28 +03:00
Kristaps Grinbergs be06d6cff3 macOS doesn’t have UIBezierPath
* Use MBezierPath to create bezier path
* AffineTransform is different for iOS and macOS
2018-02-28 17:22:25 +02:00
Yuri Strot a93d4d80e9 Improve SVG arc parsing:
* elliptical arc support
* x-axis-rotation support
* handle invalid values according to specification
2018-02-09 21:05:56 +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 fb7663e159 Fix #258: Quadratic path segments support 2017-12-27 17:37:52 +07:00
Anton Marunko 989866b387 Characters warnings fixes 2017-11-29 14:24:00 +07:00
shipinev 425a3f4b56 Lint project files 2017-10-19 15:09:09 +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
Yuri Strot 2d42a83bea Provide better way to add arcs to path 2017-10-05 11:06:48 +07:00
Anton Marunko ea8b6e3f6b Warnings fixes for deprecated substring method of String class 2017-09-12 18:32:07 +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 f6963f0ee7 zPos animation prototype 2017-07-04 14:37:16 +07:00
Viktor Sukochev 3fa5d84c59 Keeping weak reference on animation cache 2017-07-03 14:09:56 +07:00
Viktor Sukochev 3145d60a23 Warnings fix 2017-05-05 16:16:46 +07:00
Viktor Sukochev adcc211b91 Reversing generated bezierPath for better morphing animation 2017-03-21 20:12:54 +07:00
Khoren Markosyan 03f3d7b73d Fixed all warnings in project. 2017-03-06 21:00:05 +04:00