Commit Graph

18 Commits

Author SHA1 Message Date
Mikael Sand
13fcdf6f15 Merge remote-tracking branch 'msand/NestedSvg' into merge-test
# Conflicts:
#	ios/Elements/RNSVGGroup.m
#	ios/RNSVGNode.h
#	ios/RNSVGNode.m
2018-03-19 00:27:01 +02:00
Nikolay Demyankov
26964598fc Fix retain cycle for nested views. 2018-03-14 11:05:20 +01:00
Mikael Sand
b5eeb1ee72 Allow nesting React-Native View components inside svg 2018-02-21 12:17:12 +02: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
83d00d09db Optimize and improve accuracy of textPath. 2018-01-02 23:39:58 +02:00
Mikael Sand
f8b0d34c6a Fix types and glyph context nextX spacing handling. 2017-12-31 04:23:58 +02: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
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
Horcrux
1db96aaa07 Fix warnings 2017-01-22 19:45:50 +08:00
Horcrux
af6db7039f Finish percentage props refactor on iOS 2017-01-20 17:47: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
155ce27594 BezierPath => BezierTransformer 2017-01-10 13:14:51 +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
da32b1bb96 Temp commit 2016-11-05 18:42:49 +08:00