[Top][All Lists]

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

Re: [DotGNU]GUI, System.Drawing and custom widgets

From: Gopal V
Subject: Re: [DotGNU]GUI, System.Drawing and custom widgets
Date: Thu, 12 Jun 2003 15:27:03 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Rhys Weatherley wrote:
> Fixed!  Next bug please!
> :-)

Now that you've asked for it ... the Graphics.DrawBeziers() is buggy.

I find that trying to draw a 6 or 8 control point bezier is 
impossible. It just draws the lowest 3*i+1 points and stops ...

        I do know cubic beziers are approximations , but now I'm
in a quandary ... how do I implement cubic interpolations for
first degree continuity (I know the collinearity method , but
I've not managed to find decent equations on it to implement.).
But that's after I manage to get it to process the extra points.
generally speaking this is just an implementation detail , but
well .. Notice the break in the bezier in the test case ?. Thus
we've got local control on this (and not truly bezier :-)

Any comments rhys ?

The difference between insanity and genius is measured by success

Attachment: graph_control2.tgz
Description: GNU Zip compressed data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]