Object <- FontDescription <- Font |
|
|
FontDraw FontOffsets FontTotalWidth FontWidths MaximumGlyphWidth |
|
Ascent Descent Height |
| Field | Type | |
|---|---|---|
| FontDescription: | fontIdentifier: | Buffer |
| fontName: | Text | |
| fontSize: | Unsigned | |
| isBold: | Boolean | |
| isItalic: | Boolean | |
| isUnderlined: | Boolean |
#endif Define Class Font; abstract; inherits from FontDescription; attribute Ascent: Micron, readOnly, noGetter; attribute Descent: Micron, readOnly, noGetter; attribute Height: Micron, readOnly, noGetter; operation MaximumGlyphWidth(style: TextStyle): Micron, noMethod; operation FontDraw(characters: ReadOnlyCharactersPointer; characterCount: Unsigned; var where: Dot; style: TextStyle; mode: Signed), noMethod; operation FontTotalWidth(characters: ReadOnlyCharactersPointer; characterCount: Unsigned; style: TextStyle): Micron, noMethod; operation FontWidths(characters: ReadOnlyCharactersPointer; characterCount: Unsigned; widthTable: MicronArrayPointer; style: TextStyle), noMethod; operation FontOffsets(characters: ReadOnlyCharactersPointer; characterCount: Unsigned; firstOffset: Micron; offsetTable: MicronArrayPointer; style: TextStyle), noMethod; // fills offsetTable with characterCount + 1 offsets end class;