<HTML> <STYLE> <!-- A{textdecoration:none} --> </STYLE> <HEAD> <TITLE>DirectFB Reference Manual</TITLE> </HEAD> <BODY bgcolor=#FFFFFF link=#0070FF vlink=#0070FF text=#404040> <TABLE width=100% bgcolor=black border=0 cellspacing=1 cellpadding=3> <TR><TD width=30%> <A href="http://www.directfb.org"><IMG border=0 src="directfb.png"></A> </TD><TD align=right> <A href="index.html"><FONT size=+3 color=white>DirectFB Reference Manual</FONT></A> </TD></TR> <TR><TD colspan=2 align=center bgcolor=#303030> <TABLE border=0 cellspacing=0 cellpadding=0> <TR><TD align=right width=50%> <BIG><A href="IDirectFBSurface.html"><FONT color=#DDDDDD>IDirectFBSurface</FONT></A> </BIG> </TD><TD align=left width=50%> <BIG><FONT color=orange> Clear</FONT></BIG> </TD></TR> </TABLE> </TD></TR> </TABLE> <P> Clear the surface with an extra color.</P><P> <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#C0C0C0> <TR><TD colspan=3><I><FONT color=black>Clear (</FONT></I></TD></TR> <TR><TD width=50> </TD><TD valign=top> <A href="IDirectFBSurface.html">IDirectFBSurface</A> </TD><TD valign=top> <FONT color=black><B>*thiz</B></FONT> </TD></TR> <TR><TD width=50> </TD><TD valign=top> __u8 </TD><TD valign=top> <FONT color=black><B>r</B></FONT> </TD></TR> <TR><TD width=50> </TD><TD valign=top> __u8 </TD><TD valign=top> <FONT color=black><B>g</B></FONT> </TD></TR> <TR><TD width=50> </TD><TD valign=top> __u8 </TD><TD valign=top> <FONT color=black><B>b</B></FONT> </TD></TR> <TR><TD width=50> </TD><TD valign=top> __u8 </TD><TD valign=top> <FONT color=black><B>a</B></FONT> </TD></TR> <TR><TD colspan=3><I><FONT color=black>);</FONT></I></TD></TR> </TABLE> </P> <P> Fills the whole (sub) surface with the specified color ignoring drawing flags and color of the current state, but limited to the current clip. </P><P> 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.</P> <TABLE width=100% bgcolor=black border=0 cellspacing=0 cellpadding=0> <TR><TD valign=center> <FONT size=-3> (C) Copyright by convergence GmbH</FONT> </TD><TD align=right> <A href="http://www.convergence.de"> <IMG border=0 hspace=4 src="cimlogo.png"> </A> </TD></TR> </TABLE> </BODY> </HTML>