Implement TextPath: first step (iOS)

This commit is contained in:
Horcrux
2017-01-09 20:16:20 +08:00
parent 1d06134719
commit 52dfe21074
18 changed files with 223 additions and 106 deletions

View File

@@ -27,7 +27,9 @@
- (CTFontRef)getComputedFont;
- (RNSVGGlyphPoint)getComputedGlyphPoint:(NSUInteger *)index glyphOffset:(CGPoint)glyphOffset;
- (RNSVGText *)getTextRoot;
- (CGPathRef)getTextGroupPath:(CGContextRef)context;
- (CGAffineTransform)getTextPathTransform:(CGFloat)distance;
- (CGPathRef)getGroupPath:(CGContextRef)context;
- (void)resetTextPathAttributes;
- (void)traverseTextSuperviews:(BOOL (^)(__kindof RNSVGText *node))block;
@end