Set the text font and attributes in a RastPort.
Source position: agraphics.pas line 2304
procedure SetFont( |
Rp: PRastPort; |
const TextFont: PTextFont |
); |
Rp |
|
The RastPort in which the text attributes are to be changed |
TextFont |
|
pointer to a TextFont structure returned from OpenFont() or OpenDiskFont |
This function sets the font in the RastPort to that described by font, and updates the text attributes to reflect that change. This function clears the effect of any previous soft styles.
This function had previously been documented that it would accept a null font. This practice is discouraged.
|
Get a pointer to a system font. |
|
|
||
|
Remove the TextFontExtension from a font |