
Home / Autodocs / graphics.library
NAME
- AskFont
-
get the text attributes of the current font
SYNOPSIS
AskFont(rp, textAttr)
void AskFont(
struct RastPort *,
struct TextAttr *);
FUNCTION
This function fills the text attributes structure with the attributes of the current font in the RastPort.
INPUTS
- rp
-
the RastPort from which the text attributes are extracted
- textAttr
-
the TextAttr structure to be filled. Note that there is no support for a TTextAttr.
RESULT
The textAttr structure is filled with the RastPort's text attributes.
SEE ALSO
graphics/text.h