<div dir="ltr"><div><div><div><div><div><div>"<span class="im"><br>
</span>Seems that you have sent your last posting as a private reply to me, so<br>
we are off cairo list now!"<br><br></div>Sorry, didn't trealize this.<br><br></div>I do this kind of sequence. I should missing something.<br></div>To tell the truth i have a port of cairo clock source, but it uses different techique, drawing during timer events.<br><br></div>"But of course you<br>
have to ensure that whenever you draw something it is displayed to your<br>
screen before you clear it and draw next sequence."<br><br></div>there's a way to verify this?<br><br></div>thank you very much<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-24 22:51 GMT+02:00 Stefan Salewski <span dir="ltr"><<a href="mailto:mail@ssalewski.de" target="_blank">mail@ssalewski.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, 2015-05-24 at 22:17 +0200, Davide Calaminici wrote:<br>
> No, the problem is not Amiga OS 4.1<br>
><br>
> I think it's the way i do the cairo commands sequence.<br>
<br>
</span>Seems that you have sent your last posting as a private reply to me, so<br>
we are off cairo list now!<br>
<br>
Drawing with cairo basically is easy. You have to know that the actual<br>
drawing occurs not immediately -- so you can have a few cairo_line_to()<br>
function calls, which needs a cairo_stroke() call to become visible. To<br>
clear the whole drawing area, you can set a foreground color with<br>
cairo_set_source_rgba() and then call cairo_paint(). But of course you<br>
have to ensure that whenever you draw something it is displayed to your<br>
screen before you clear it and draw next sequence. I can not tell you<br>
how to do that. Smooth drawing with cairo on a GTK drawing area is not<br>
always simple, because cairo is not very fast, so clearing each frame<br>
and making a complete redraw of a complicated scene may be not smooth.<br>
Maybe best is if you post some of your C code to cairo mailing list and<br>
explain what you get with that code and what you want to get. I hope<br>
someone can help you more.<br>
<br>
Regards, Stefan Salewski<br>
<br>
</blockquote></div><br></div>