How to draw a simply dot in cairo?
- From: Dancefire <dancefire gmail com>
- To: gtkmm-list gnome org
- Subject: How to draw a simply dot in cairo?
- Date: Fri, 8 May 2009 12:43:31 +1000
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.
Microsoft Certified Technology Specialist
] [Thread Prev