Set the draw transparency for strokes
void PgSetStrokeTransPat( PgPattern_t pat );
This function sets a masking pattern and applies it to outlines. You should use it in combination with PgSetStrokeColor() or PgSetStrokeDither().
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(), PgSetTextColor(), PgSetTextDither(), PgSetTextTransPat()