dotgnu-general
[Top][All Lists]
Advanced

[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 23:48:55 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Gopal V wrote:
> > Give it a try and see if it helps.

Nope, it does draw a curve but even a casual observer will have difficulty
calling it a bezier ... I'm of course assuming that I have not made any
collosal blunders in the algorithm implementation .

The attached patch draws an blocky bezier especially for sharp bends,
but does perform decently for some cases ... ( especially for cases 
where the 4 points are convex hulled..., ie all points on one side 
of the line connecting the end points, it gives an illusion of a bezier)

Anyway catch the patch :-)

Gopal
-- 
The difference between insanity and genius is measured by success

Attachment: patch
Description: Text document


reply via email to

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