[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):
http://www.cc.gatech.edu/classes/AY2003/cs4451_spring/bezierdraw.pdf
Give it a try and see if it helps.
Cheers,
Rhys.
- Re: [DotGNU]GUI, System.Drawing and custom widgets, (continued)
- Re: [DotGNU]GUI, System.Drawing and custom widgets, Rhys Weatherley, 2003/06/11
- RE: [DotGNU]GUI, System.Drawing and custom widgets, Simon Guindon, 2003/06/11
- Re: [DotGNU]GUI, System.Drawing and custom widgets, Rhys Weatherley, 2003/06/12
- RE: [DotGNU]GUI, System.Drawing and custom widgets, Simon Guindon, 2003/06/12
- Re: [DotGNU]GUI, System.Drawing and custom widgets, Rhys Weatherley, 2003/06/12
- Re: [DotGNU]GUI, System.Drawing and custom widgets, Gopal V, 2003/06/12
- RE: [DotGNU]GUI, System.Drawing and custom widgets, Simon Guindon, 2003/06/12
- Re: [DotGNU]GUI, System.Drawing and custom widgets, Rhys Weatherley, 2003/06/12
- RE: [DotGNU]GUI, System.Drawing and custom widgets, Simon Guindon, 2003/06/12
- Re: [DotGNU]GUI, System.Drawing and custom widgets, Gopal V, 2003/06/12
- Re: [DotGNU]GUI, System.Drawing and custom widgets,
Rhys Weatherley <=
- Re: [DotGNU]GUI, System.Drawing and custom widgets, Gopal V, 2003/06/12
- Re: [DotGNU]GUI, System.Drawing and custom widgets, Gopal V, 2003/06/12
- Re: [DotGNU]GUI, System.Drawing and custom widgets, Gopal V, 2003/06/12