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
+19
View File
@@ -0,0 +1,19 @@
#import <Foundation/Foundation.h>
#if !defined (TextAnchor_)
#define TextAnchor_
NS_ENUM(NSInteger, TextAnchor) {
TextAnchorStart,
TextAnchorMiddle,
TextAnchorEnd,
TextAnchorDEFAULT = TextAnchorStart,
};
static NSString* const TextAnchorStrings[] = {@"start", @"middle", @"end", nil};
NSString* TextAnchorToString( enum TextAnchor fw );
enum TextAnchor TextAnchorFromString( NSString* s );
#endif