Commit Graph

49 Commits

Author SHA1 Message Date
Mikael Sand
0de4213e03 Rename regex to be namespaced 2018-08-19 23:57:30 +03:00
Mikael Sand
3879c90bd8 Support native animation of fill and stroke 2018-08-17 22:09:47 +03:00
Ben Roth
5f74c92a58 Namespaces or un-globalifies a handful more iOS globals 2018-02-16 17:14:10 -08:00
Ben Roth
b217dcaff8 Prefix iOS symbols with RNSVG
fixes https://github.com/react-native-community/react-native-svg/issues/603
2018-02-14 19:04:32 -08:00
Mikael Sand
f07e8f041c Allow TextPath to reference any RNSVGNode instead of only RNSVGPath.
Remove unused RNSVGTextAnchor
2017-12-30 03:35:58 +02:00
Mikael Sand
7088d52b71 Refactor and simplify, cache path properties.
Remove use of UIBezierPath and categories.
2017-12-29 23:04:24 +02:00
Mikael Sand
f49eabf8e8 Rewrite recursive block using stack and while loop. 2017-12-28 16:55:06 +02:00
Mikael Sand
77dbd3c306 Fix retain cycle warning 2017-12-28 14:57:49 +02:00
Mikael Sand
b9959c779c Implement tailor made data structure and logic for text on a path rendering.
Remove postinstall script and dependencies on PerformanceBezier & QuartzBookPack.
2017-12-28 06:25:07 +02:00
Ben Roth
9fa9667a93 Fix crash when passing wrong type to percentage prop 2017-12-04 17:25:48 -08:00
Horcrux
75786787e9 Fix Image in iOS 2017-11-08 01:34:53 +08:00
Mikael Sand
0dbddcc2b4 Fix viewbox scale and translate order/interaction on ios. 2017-08-27 17:31:03 +03:00
Mikael Sand
8dd795bdd7 Fix text on a path rendering accuracy 2017-08-27 01:09:01 +03:00
Mikael Sand
ccb8729917 Port new GlyphContext, FontData, enums, props, Bezier and text rendering 2017-08-23 05:41:35 +03:00
Mikael Sand
3cafc34cb2 Fix ViewBox, images, transforms, and, gradients; on ios.
Make getContextWidth/Height and setupGlyphContext take clip bounding box and affine transform matrix into consideration.
2017-08-16 19:06:23 +03:00
Mikael Sand
f3cd34f2e1 Fix ios/objective-c types and errors/red boxes. 2017-08-11 02:27:33 +03:00
Horcrux
cfaca8b3cb Add gradientUnits support 2017-01-24 22:24:36 +08:00
Horcrux
a93013307c Fix fillRule on iOS 2017-01-22 21:50:12 +08:00
Horcrux
601d15a686 Fix warnings on iOS 2017-01-22 20:35:26 +08:00
Horcrux
1db96aaa07 Fix warnings 2017-01-22 19:45:50 +08:00
Horcrux
1b04e11ca4 Refactor Symbol on iOS 2017-01-22 17:51:47 +08:00
Horcrux
af6db7039f Finish percentage props refactor on iOS 2017-01-20 17:47:57 +08:00
Horcrux
da9b9f0a20 A quick fix for 5.1.1 2017-01-16 14:39:41 +08:00
Horcrux
4ae54df091 Fix arcTo 2017-01-15 19:30:56 +08:00
Horcrux
29e63e6291 Fix curveTo bug 2017-01-13 23:49:33 +08:00
Horcrux
e3026c0bb5 Fix TextPath bug when using lines 2017-01-12 20:09:57 +08:00
Horcrux
1381cd8fca Refactor Text related elements 2017-01-11 17:02:40 +08:00
Horcrux
a493141bd6 Fix PathParser bug when dealing with decimal arcs 2017-01-10 16:29:44 +08:00
Horcrux
52dfe21074 Implement TextPath: first step (iOS) 2017-01-09 20:16:20 +08:00
Horcrux
1d06134719 Add TextPath element 2017-01-09 13:08:22 +08:00
Horcrux
f9fe7bdc4e merge master fix conflicts 2017-01-09 11:11:12 +08:00
Horcrux
293263d6ef Move d parsing to native side(iOS) 2017-01-07 09:22:52 +08:00
Janic Duplessis
ad360e71c2 Update iOS RN header paths 2016-12-01 05:14:57 -05:00
Horcrux
aae482236d Finish TSpan 2016-11-11 00:48:55 +08:00
Horcrux
a305a33985 merge master 2016-11-09 15:32:09 +08:00
Horcrux
da32b1bb96 Temp commit 2016-11-05 18:42:49 +08:00
Chengyin Liu
1a875f9483 Better font family check on iOS
Font names can be specified as something like `Helvetica-Bold`. This is specially common when using custom fonts. This fix makes sure those supported custom fonts are not accidentally removed.

Fix #122
2016-10-25 18:44:18 -07:00
Horcrux
ed2da1b364 Merge branch 'master' into text-refactor 2016-09-17 21:06:33 +08:00
Horcrux
d549f6ca9c clean up unused code 2016-09-17 09:49:28 +08:00
Horcrux
ad196a7071 finish Text props extract refactoring 2016-09-16 23:59:38 +08:00
Dima
8bd66fc2b0 Use RCTFont instead of RCTConvert 2016-08-22 15:58:29 +03:00
Horcrux
d84b00d02f set unrecognized font family to default. 2016-08-13 17:00:15 +08:00
Horcrux
39610f01c0 fix #107 2016-08-08 09:47:31 +08:00
Horcrux
7f4eb47f81 fix touch events within the elements which are nested in G 2016-08-06 21:37:58 +08:00
Horcrux
10b28434bb refactor viewBox for svg 2016-07-23 23:44:26 +08:00
Horcrux
7e13b801e1 refactor text render
Support G inherit props.
Refactor text render. Text glyphs will perfectly draw along the path
2016-07-22 23:49:15 +08:00
Horcrux
ff2395bcc2 finish gradients refactor 2016-07-20 22:38:45 +08:00
Horcrux
dd6cb80e84 refactor Use and Defs element with native code support(iOS) 2016-07-19 23:09:51 +08:00
Horcrux
8d01e8eccb refactor shape elements add responder system.
refactor shape elements add responder system.
Just iOS.
2016-05-15 00:40:43 +08:00