Commit Graph

46 Commits

Author SHA1 Message Date
Mikael Sand
13487029c0 Fix paths. 2018-02-15 13:29:32 +02: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
Douglas Lowder
27f0245110 Fix tvOS compile issue (BezierElement.m) 2018-01-26 23:08:39 -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
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
Horcrux
bd189437a4 Remove unused linker flags 2017-11-07 23:55:06 +08:00
Horcrux
177f71c801 import QuartzBookPack as framework 2017-11-07 21:03:53 +08:00
Horcrux
2998aa1bb6 Download Quartz and PerformanceBezier from github 2017-11-07 18:49:53 +08:00
Mikael Sand
04887af278 Implement kerning, ligatures, etc., and cleanup; in ios.
Implement hasGlyph ligature helper.

Export view property setters for:
 text: textLength, baselineShift, lengthAdjust, alignmentBaseline,
 textPath: side, method, midLine, spacing.

Attempt to fix alignmentBaseline and baselineShift,
but both properties are nil at all times, I must be missing something.
2017-08-29 02:34:56 +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
f3cd34f2e1 Fix ios/objective-c types and errors/red boxes. 2017-08-11 02:27:33 +03:00
magicismight
39ffaaf758 Fix #387 2017-07-21 12:26:09 +08:00
Connor McEwen
3682234d25 Add tvOS target 2017-04-26 13:00:16 +01:00
Horcrux
cfaca8b3cb Add gradientUnits support 2017-01-24 22:24:36 +08:00
Horcrux
1b04e11ca4 Refactor Symbol on iOS 2017-01-22 17:51:47 +08:00
Horcrux
1381cd8fca Refactor Text related elements 2017-01-11 17:02:40 +08:00
Horcrux
155ce27594 BezierPath => BezierTransformer 2017-01-10 13:14:51 +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
da32b1bb96 Temp commit 2016-11-05 18:42:49 +08:00
Horcrux
d549f6ca9c clean up unused code 2016-09-17 09:49:28 +08:00
Horcrux
74b9917bd3 flattern text into several spans
flattern text into several spans (step 1, not finish yet)
2016-09-02 10:24:33 +08:00
Horcrux
28fa1cd091 refactor gradients on Android merge #86 into branch 2016-07-26 17:17:48 +08:00
Horcrux
03685f3787 remove unused context param, fix typo 2016-07-25 12:53:34 +08:00
Horcrux
a2598a5591 native prop tranform => trans,fix defs typo 2016-07-25 11:15:39 +08:00
Horcrux
cbea7a4edb finish Symbol refactor
finish Symbol refactor
finish all reusable elements refactor (iOS)
2016-07-24 11:41:00 +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
5ee5c2239a fix memory leak issue with CGMutablePathRef 2016-07-21 18:22:23 +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
6a0c47a898 refactor clipPath native code
refactor clipPath native code
add strokeMiterlimit prop support
2016-05-21 19:58:49 +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
Horcrux
b81eba5684 Add text path for iOS
Add text path for iOS
Add clipPath Text support (iOS)
2016-05-13 10:00:47 +08:00
Horcrux
9043443934 refactor Text element 2016-05-12 15:34:56 +08:00
Horcrux
0b887bccf5 add Image element (iOS) 2016-05-05 18:50:22 +08:00
Horcrux
24dcc83a80 complete basic shapes(ios) 2016-04-26 19:10:57 +08:00
Horcrux
c8aaa1eb12 change copy right and add clip for ios 2016-04-21 15:42:30 +08:00
Horcrux
a136063f90 add filleRule for ios 2016-04-20 23:27:12 +08:00
Horcrux
c4a185354a fix gradients stops in a right order 2016-04-20 21:50:35 +08:00
Horcrux
d700ca5493 refactor all components and isolated from ART dependency 2016-04-20 00:52:59 +08:00