think he means he used something like this:

    cairo_move_to(cr,x,y);
    cairo_arc (cr, x, y, r, 2*M_PI);
    cairo_fill (cr);

Instead of drawing a cricle with cairo_arc first then cairo_filling it, does
cairo provide any alternatives for this task?

On Fri, May 8, 2009 at 12:43 PM, Dancefire <[email protected]> wrote:

> Hi,
>
> I know how to draw line, arc(circle) in cairo. however, I cannot find the
> efficient way to draw a simple round dot. I tried arc(), it works, however,
> it is very slow. I need draw thousands of the small dot with different
> radius. arc() is a little bit slow to do that.
>
> I also tried draw a rectangle with round cap, round join and 0 width and
> height. It works and seems faster than arc(). But I may in the wrong track.
>
> Could anyone point me out, how to draw a lot of dot with different radius
> efficiently? Thanks.
>
> --
> Tao Wang
> Microsoft Certified Technology Specialist
> CCNA
>
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to