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
+21
View File
@@ -0,0 +1,21 @@
#import <Foundation/Foundation.h>
#if !defined (TextDecoration_)
#define TextDecoration_
NS_ENUM(NSInteger, TextDecoration) {
TextDecorationNone,
TextDecorationUnderline,
TextDecorationOverline,
TextDecorationLineThrough,
TextDecorationBlink,
TextDecorationDEFAULT = TextDecorationNone,
};
static NSString* const TextDecorationStrings[] = {@"None", @"Underline", @"Overline", @"LineThrough", @"Blink", nil};
NSString* TextDecorationToString( enum TextDecoration fw );
enum TextDecoration TextDecorationFromString( NSString* s );
#endif