[Top][All Lists]

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

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

From: Rhys Weatherley
Subject: Re: [DotGNU]GUI, System.Drawing and custom widgets
Date: Thu, 12 Jun 2003 20:55:49 +1000
User-agent: KMail/1.4.3

On Thursday 12 June 2003 07:57 pm, Gopal V wrote:

> Any comments rhys ?

Don't look at me.  I was planning to nick the algorithm from somewhere and 
hope for the best. :-)

The only note that I have at this point is that it usually isn't a good idea 
to pass a large number of lines or points to an X draw request, since it will 
max out and blow up at some point.

Here is a simple recursive algorithm, based on decomposing the Bezier into 
sub-Beziers, which may be easier and faster to implement using only integer 
arithmetic (see page 3):

Give it a try and see if it helps.



reply via email to

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