![]() | DirectFB Reference Manual | ||
|
Clear the surface with an extra color.
Clear ( | ||
IDirectFBSurface | *thiz | |
__u8 | r | |
__u8 | g | |
__u8 | b | |
__u8 | a | |
); |
Fills the whole (sub) surface with the specified color ignoring drawing flags and color of the current state, but limited to the current clip.
As with all drawing and blitting functions the backbuffer is written to. If you are initializing a double buffered surface you may want to clear both buffers by doing a Clear-Flip-Clear sequence.
(C) Copyright by convergence GmbH |
![]() |