[cairo] Clear Screen command?
Mj Mendoza IV
mjmendoza at konsolscript.org
Thu May 27 20:47:00 PDT 2010
Coming from _BitBlt_ methodology of creating 2D games, what is the equivalent of _clear screen_ on Cairo?
On rastered type of rendering engine, the pseudo code would be:
while app is running
draw stuff to buffer
draw buffer to screen
How is this logic applied when using cairo library? Is it safe to simply FILL the whole area of the main context with color black (or any color that is)?
Mj Mendoza IV,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo