blob: 580f84866f49127a873d169bdd3edd87546287d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
{ Parsed from Appkit.framework NSGlyphGenerator.h }
{$ifdef TYPES}
{$ifndef NSGLYPHGENERATOR_PAS_T}
{$define NSGLYPHGENERATOR_PAS_T}
{ Constants }
const
NSShowControlGlyphs = 1 shl 0;
NSShowInvisibleGlyphs = 1 shl 1;
NSWantsBidiLevels = 1 shl 2;
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSGLYPHGENERATOR_PAS_R}
{$define NSGLYPHGENERATOR_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSGLYPHGENERATOR_PAS_F}
{$define NSGLYPHGENERATOR_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSGLYPHGENERATOR_PAS_S}
{$define NSGLYPHGENERATOR_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSGlyphStorageProtocol = objcprotocol;
NSGlyphGenerator = objcclass;
NSGlyphGeneratorPointer = ^NSGlyphGenerator;
NSGlyphGeneratorPtr = NSGlyphGeneratorPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSGLYPHGENERATOR_PAS_C}
{$define NSGLYPHGENERATOR_PAS_C}
{ NSGlyphGenerator }
NSGlyphGenerator = objcclass external (NSObject)
public
procedure generateGlyphsForGlyphStorage_desiredNumberOfCharacters_glyphIndex_characterIndex(glyphStorage: NSGlyphStorageProtocol; nChars: NSUInteger; glyphIndex: NSUIntegerPtr; charIndex: NSUIntegerPtr); message 'generateGlyphsForGlyphStorage:desiredNumberOfCharacters:glyphIndex:characterIndex:';
class function sharedGlyphGenerator: id; message 'sharedGlyphGenerator';
end;
{$endif}
{$endif}
{$ifdef PROTOCOLS}
{$ifndef NSGLYPHGENERATOR_PAS_P}
{$define NSGLYPHGENERATOR_PAS_P}
{ NSGlyphStorage Protocol }
NSGlyphStorageProtocol = objcprotocol external name 'NSGlyphStorage'
procedure insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(glyphs: NSGlyphPtr; length: NSUInteger; glyphIndex: NSUInteger; charIndex: NSUInteger); message 'insertGlyphs:length:forStartingGlyphAtIndex:characterIndex:';
procedure setIntAttribute_value_forGlyphAtIndex(attributeTag: NSInteger; val: NSInteger; glyphIndex: NSUInteger); message 'setIntAttribute:value:forGlyphAtIndex:';
function attributedString: NSAttributedString; message 'attributedString';
function layoutOptions: NSUInteger; message 'layoutOptions';
end;
{$endif}
{$endif}
|