Created
January 3, 2014 01:51
-
-
Save pbrewczynski/8231151 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef enum : uint32_t { | |
/* Typeface info (lower 16 bits of UIFontDescriptorSymbolicTraits) */ | |
UIFontDescriptorTraitItalic = 1u << 0, | |
UIFontDescriptorTraitBold = 1u << 1, | |
UIFontDescriptorTraitExpanded = 1u << 5, | |
UIFontDescriptorTraitCondensed = 1u << 6, | |
UIFontDescriptorTraitMonoSpace = 1u << 10, | |
UIFontDescriptorTraitVertical = 1u << 11, | |
UIFontDescriptorTraitUIOptimized = 1u << 12, | |
UIFontDescriptorTraitTightLeading = 1u << 15, | |
UIFontDescriptorTraitLooseLeading = 1u << 16, | |
/* Font appearance info (upper 16 bits of UIFontDescriptorSymbolicTraits */ | |
UIFontDescriptorClassMask = 0xF0000000, | |
UIFontDescriptorClassUnknown = 0u << 28, | |
UIFontDescriptorClassOldStyleSerifs = 1u << 28, | |
UIFontDescriptorClassTransitionalSerifs = 2u << 28, | |
UIFontDescriptorClassModernSerifs = 3u << 28, | |
UIFontDescriptorClassClarendonSerifs = 4u << 28, | |
UIFontDescriptorClassSlabSerifs = 5u << 28, | |
UIFontDescriptorClassFreeformSerifs = 7u << 28, | |
UIFontDescriptorClassSansSerif = 8u << 28, | |
UIFontDescriptorClassOrnamentals = 9u << 28, | |
UIFontDescriptorClassScripts = 10u << 28, | |
UIFontDescriptorClassSymbolic = 12u << 28 | |
} UIFontDescriptorSymbolicTraits; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment