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

PgSetTextTransPat()

Set the draw transparency for text and bitmaps

Synopsis:

void PgSetTextTransPat( PgPattern_t pat );

Description:

This function sets a masking pattern and applies it to text and bitmaps. You should use it in combination with PgSetTextColor() or PgSetTextDither().

This function uses the same patterns as PgSetFillDither(). To disable transparency and draw normally, specify the Pg_PAT_DEFAULT pattern.


Note: Because of speed considerations, some graphics drivers don't draw strokes with a transparency mask and, as a result, ignore the stroke transparency pattern.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgSetFillColor(), PgSetFillDither(), PgSetFillTransPat(), PgSetStrokeColor(), PgSetStrokeDither(), PgSetStrokeTransPat(), PgSetTextColor(), PgSetTextDither()


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