[Previous] [Contents] [Index] [Next]

PgSetUnderline()

Set colors for underlining text

Synopsis:

void PgSetUnderline( PgColor_t c1, 
                     PgColor_t c2,
                     int flags );

Library:

ph

Description:

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:

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

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


[Previous] [Contents] [Index] [Next]