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
ec2a967592
Implement getAlignmentBaseline and getBaselineShift in ios. ( #527 )
...
* Implement correct transform parser
* Implement getAlignmentBaseline and getBaselineShift in ios.
Add comments to glyphcontext and align with android.
Implement correct isWordSeparator predicate.
Cleanup GlyphContext j2objc remnants.
* Fix getBaselineShift bugs and font data invalidation.
2017-12-16 08:57: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
c6028e825d
Fix rotate and G element font settings.
2017-08-25 13:46:03 +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
601d15a686
Fix warnings on iOS
2017-01-22 20:35:26 +08:00
Horcrux
1b04e11ca4
Refactor Symbol on iOS
2017-01-22 17:51:47 +08:00
Horcrux
b15d0791e0
Add startOffset support
2017-01-10 12:30:48 +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
152e839126
Remove path data usage in clipPath
...
Remove path data usage in clipPath.
Use clipPath in SVG way
2017-01-07 23:17:10 +08:00
Janic Duplessis
ad360e71c2
Update iOS RN header paths
2016-12-01 05:14:57 -05:00
Horcrux
0434cddc8b
Fix memory issue with ClipPath
...
Fix memory issue with ClipPath.
2016-11-11 13:25:16 +08: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
a37c3ceee6
finish basic text support on iOS
2016-09-17 15:42:27 +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
13ddd15d09
add ios code
2016-08-30 09:37:52 +08:00
Horcrux
1f20bb07b8
fix #116
...
remove unused files.
2016-08-16 09:23:31 +08:00
Horcrux
d1afb78da0
Add preserveAspectRatio prop for Image
...
Add preserveAspectRatio prop for Image.
Fix touch events for Image on Android.
Fix viewBox slice bug on Android.
2016-08-13 14:03:08 +08:00
Horcrux
857b5f5207
Fix Image not rendering the first time svg is displayed
...
Fix Image not rendering the first time svg is displayed
Add toDataURL method for Svg elements for Android (not finished yet)
2016-08-11 16:27:15 +08:00
Horcrux
76a3e8e32d
add toDataURL method for svg elements
...
Add toDataURL method for svg elements to get data64 data of svg.(iOS)
Add example for this.
2016-08-10 16:54:48 +08:00
Horcrux
92ea884d6f
native prop trans => matrix
2016-07-27 15:54:45 +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
18e1b60823
complete ClipPath refactor
2016-07-20 14:44:19 +08:00
Horcrux
dd6cb80e84
refactor Use and Defs element with native code support(iOS)
2016-07-19 23:09:51 +08:00
Horcrux
d610729208
clipPathId => clipPathRef
2016-07-19 09:34:27 +08:00
Horcrux
1f21660a88
touchable => responsible
2016-06-11 09:38:20 +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
f34c0c209a
run hitTest only if necessary
2016-05-18 20:15:29 +08:00
Horcrux
5c0aa77390
fix touch system on iOS
...
subViews in G will run hitTest now.
fix hitTest while using clipPath
2016-05-18 18:30:51 +08:00
Horcrux
ea7f462022
remove unused code
2016-05-15 18:24:53 +08:00
Horcrux
233ea81a4a
fix create native component issue
...
fix create native component issue
2016-05-15 10:50:53 +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
0b887bccf5
add Image element (iOS)
2016-05-05 18:50:22 +08:00
Horcrux
5008457ba6
fix percentage bug, add Svg element flex layout support
2016-04-29 21:26:04 +08:00
Horcrux
fa751e31b0
complete ClipPath element on iOS
2016-04-27 23:14:15 +08:00
Horcrux
24dcc83a80
complete basic shapes(ios)
2016-04-26 19:10:57 +08:00
Horcrux
70a9473b5f
strokeDash => strokeDasharray
2016-04-23 15:28:32 +08:00
Horcrux
b144bd23fc
add dashoffset support
2016-04-23 15:21:07 +08:00
Horcrux
74b5e82781
support stroke in pattern.
...
support stroke="url(#pattern)"
2016-04-22 19:04:07 +08:00
Horcrux
c8aaa1eb12
change copy right and add clip for ios
2016-04-21 15:42:30 +08:00