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

PgSetUnderline()

Set colors for underlining text

Synopsis:

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

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 doesn't affect any drawing operations other than PgDrawText() and PgDrawString().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgCMY(), PgDrawString(), PgDrawText(), PgGray(), PgHSV(), PgRGB(), PgSetFillColor(), PgSetFillDither()


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