[cairo] Cairo animation
amiblit at gmail.com
Mon May 25 05:29:29 PDT 2015
Seems that you have sent your last posting as a private reply to me, so
we are off cairo list now!"
Sorry, didn't trealize this.
I do this kind of sequence. I should missing something.
To tell the truth i have a port of cairo clock source, but it uses
different techique, drawing during timer events.
"But of course you
have to ensure that whenever you draw something it is displayed to your
screen before you clear it and draw next sequence."
there's a way to verify this?
thank you very much
2015-05-24 22:51 GMT+02:00 Stefan Salewski <mail at ssalewski.de>:
> On Sun, 2015-05-24 at 22:17 +0200, Davide Calaminici wrote:
> > No, the problem is not Amiga OS 4.1
> > I think it's the way i do the cairo commands sequence.
> Seems that you have sent your last posting as a private reply to me, so
> we are off cairo list now!
> Drawing with cairo basically is easy. You have to know that the actual
> drawing occurs not immediately -- so you can have a few cairo_line_to()
> function calls, which needs a cairo_stroke() call to become visible. To
> clear the whole drawing area, you can set a foreground color with
> cairo_set_source_rgba() and then call cairo_paint(). But of course you
> have to ensure that whenever you draw something it is displayed to your
> screen before you clear it and draw next sequence. I can not tell you
> how to do that. Smooth drawing with cairo on a GTK drawing area is not
> always simple, because cairo is not very fast, so clearing each frame
> and making a complete redraw of a complicated scene may be not smooth.
> Maybe best is if you post some of your C code to cairo mailing list and
> explain what you get with that code and what you want to get. I hope
> someone can help you more.
> Regards, Stefan Salewski
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo