![]() |
![]() |
![]() |
![]() |
Set colors for underlining text
void PgSetUnderline( PgColor_t c1, PgColor_t c2, int flags );
ph
This function sets the color or colors used for underlining text:
c1 | c2 | Underline |
---|---|---|
Pg_TRANSPARENT | N/A | Disabled |
Any color | Pg_TRANSPARENT | Single underline |
Any color | Any color | Double underline |
You should find double underlining useful for scored underlining (where c2 is a shadow color) or for thick underlining (where both c1 and c2 are the same color).
No flags are currently defined.
This function affects only the drawing operations that involve text:
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgColor_t, PgDefaultText(), PgDrawMultiTextArea(), PgDrawString(), PgDrawText(), PgDrawTextArea(), PgExtentMultiText(), PgExtentText(), PgSetDrawMode(), PgSetFont(), PgSetTextColor(), PgSetTextDither(), PgSetTextTransPat(), PgSetTextXORColor()
"Drawing attributes" and "Text" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |