Set the text font and attributes in a RastPort.
Source position: agraphics.pas line 2384
function SetFont( |
rp: pRastPort; |
const textFont: pTextFont |
):LongInt; |
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 |