Port new GlyphContext, FontData, enums, props, Bezier and text rendering

This commit is contained in:
Mikael Sand
2017-08-23 05:41:35 +03:00
parent 3cafc34cb2
commit ccb8729917
105 changed files with 10437 additions and 105 deletions

18
ios/Text/TextPathMethod.h Normal file
View File

@@ -0,0 +1,18 @@
#import <Foundation/Foundation.h>
#if !defined (TextPathMethod_)
#define TextPathMethod_
NS_ENUM(NSInteger, TextPathMethod) {
TextPathMethodAlign,
TextPathMethodStretch,
TextPathMethodDEFAULT = TextPathMethodAlign,
};
static NSString* const TextPathMethodStrings[] = {@"align", @"stretch", nil};
NSString* TextPathMethodToString( enum TextPathMethod fw );
enum TextPathMethod TextPathMethodFromString( NSString* s );
#endif