Re: Anti-aliased GnomeCanvas



On Sat, Mar 25, 2000 at 10:18:20PM +0000, Gareth Bowker wrote:
> Hi,
> 	I'm having a strange problem playing about with the GnomeCanvas in 
> anti-aliased mode. I need to draw some lines onto the canvas and group them. 
> Although it's drawing the lines I ask it to, it also seems to add some extra 
> lines in there, going back to 0,0. I've cut the code down to the following:
> 
>   points = gnome_canvas_points_new(6);

This should be 

	 points = gnome_canvas_points_new(3);

I am pretty sure about that anyhow. You have three points, the
way they are indexed makes it a little confusing. My guess is the
unused points get set to 0.0.

HTH,
Sam Hunter
shunter@bigsky.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]