Set the draw transparency for text and bitmaps
void PgSetTextTransPat( PgPattern_t pat );
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.
Because of speed considerations, some graphics drivers don't draw strokes with a transparency mask and, as a result, ignore the stroke transparency pattern. |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgSetFillColor(), PgSetFillDither(), PgSetFillTransPat(), PgSetStrokeColor(), PgSetStrokeDither(), PgSetStrokeTransPat(), PgSetTextColor(), PgSetTextDither()