NSGlyphGenerator.inc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. { Parsed from AppKit.framework NSGlyphGenerator.h }
  2. {$ifdef TYPES}
  3. type
  4. NSGlyphGeneratorPtr = ^NSGlyphGenerator;
  5. NSGlyphStorageProtocolPtr = ^NSGlyphStorageProtocol;
  6. {$endif}
  7. {$ifdef TYPES}
  8. const
  9. NSShowControlGlyphs = 1 shl 0;
  10. NSShowInvisibleGlyphs = 1 shl 1;
  11. NSWantsBidiLevels = 1 shl 2;
  12. {$endif}
  13. {$ifdef PROTOCOLS}
  14. type
  15. NSGlyphStorageProtocol = objcprotocol external name 'NSGlyphStorage'
  16. procedure insertGlyphs_length_forStartingGlyphAtIndex_characterIndex (glyphs: NSGlyphPtr; length: NSUInteger; glyphIndex: NSUInteger; charIndex: NSUInteger); message 'insertGlyphs:length:forStartingGlyphAtIndex:characterIndex:';
  17. procedure setIntAttribute_value_forGlyphAtIndex (attributeTag: NSInteger; val: NSInteger; glyphIndex: NSUInteger); message 'setIntAttribute:value:forGlyphAtIndex:';
  18. function attributedString: NSAttributedString; message 'attributedString';
  19. function layoutOptions: NSUInteger; message 'layoutOptions';
  20. end;
  21. {$endif}
  22. {$ifdef CLASSES}
  23. type
  24. NSGlyphGenerator = objcclass external (NSObject)
  25. public
  26. procedure generateGlyphsForGlyphStorage_desiredNumberOfCharacters_glyphIndex_characterIndex (glyphStorage: NSGlyphStorageProtocol; nChars: NSUInteger; glyphIndex: NSUIntegerPtr; charIndex: NSUIntegerPtr); message 'generateGlyphsForGlyphStorage:desiredNumberOfCharacters:glyphIndex:characterIndex:';
  27. class function sharedGlyphGenerator: NSGlyphGenerator; message 'sharedGlyphGenerator';
  28. end;
  29. {$endif}