Nikolay Demyankov
f7c81ef368
Remove getAlignmentBaseline and getBaselineShift methods, use property methods instead.
2018-03-14 17:00:38 +01: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
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
ccb8729917
Port new GlyphContext, FontData, enums, props, Bezier and text rendering
2017-08-23 05:41:35 +03:00
Mikael Sand
f1657d9ddf
Prepare for new GlyphContext.
2017-08-15 19:50:50 +03:00
Mikael Sand
f3cd34f2e1
Fix ios/objective-c types and errors/red boxes.
2017-08-11 02:27:33 +03:00
Horcrux
e3026c0bb5
Fix TextPath bug when using lines
2017-01-12 20:09:57 +08:00
Horcrux
d7daee343c
Fix ClipPath with Text
2017-01-11 18:18:51 +08:00
Horcrux
1381cd8fca
Refactor Text related elements
2017-01-11 17:02:40 +08:00
Horcrux
b15d0791e0
Add startOffset support
2017-01-10 12:30:48 +08:00
Horcrux
52dfe21074
Implement TextPath: first step (iOS)
2017-01-09 20:16:20 +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
5f4ff90c2a
finish basic Text features on iOS
2016-09-17 17:14:31 +08:00
Horcrux
a37c3ceee6
finish basic text support on iOS
2016-09-17 15:42:27 +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
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
8d01e8eccb
refactor shape elements add responder system.
...
refactor shape elements add responder system.
Just iOS.
2016-05-15 00:40:43 +08:00