![]() |
![]() |
![]() |
![]() |
Set the fill color
PgColor_t PgSetFillColor( PgColor_t color );
ph
This function sets the fill color used for subsequent draws. If the driver doesn't support 24-bit color, it selects the nearest color available to the one requested.
This function overrides the color defined by PgSetFillDither().
The previous color.
/* Set the draw color to white. */ PgSetFillColor( Pg_WHITE );
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgARGB(), PgCMY(), PgColor_t, PgDefaultFill(), PgGray(), PgHSV(), PgRGB(), PgSetDrawMode(), PgSetFillDither(), PgSetFillTransPat(), PgSetFillXORColor(), PgSetStrokeColor(), PgSetTextColor()
"Drawing attributes" and "Arcs, ellipses, polygons, and rectangles" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |