[cairo] Clear Screen command?
Mj Mendoza IV
mjmendoza at konsolscript.org
Thu May 27 20:47:00 PDT 2010
Hello,
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
clear screen
draw stuff to buffer
draw buffer to screen
end while
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)?
Regards.
Mj Mendoza IV,
Developer, KonsolScript
http://www.konsolscript.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100528/01109ff1/attachment.html>
More information about the cairo
mailing list