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

PgSetStrokeColor()

Set the stroke color

Synopsis:

PgColor_t PgSetStrokeColor( PgColor_t color );

Description:

This function sets the stroke color used for subsequent draws.

If the driver doesn't support 24-bit color, it selects the nearest color available to the one requested. If you OR the color with Pg_MIX_COLOR, most drivers try to mix two available colors to produce the requested color.

This function overrides the color defined by PgSetStrokeDither().

Returns:

The previous color.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgCMY(), PgColor_t, PgGray(), PgHSV(), PgRGB(), PgSetDrawMode(), PgSetFillColor(), PgSetFillDither(), PgSetFillTransPat(), PgSetStrokeDither(), PgSetStrokeTransPat(), PgSetTextColor(), PgSetTextDither(), PgSetTextTransPat()


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