smooth line on a plam

2003-01-29 Thread DNR
Hi all I'm working on a paint application in palm. To draw curved lines I get pen move positions and link them with straight lines on a fly. But the lines are not smooth as expected. Is there another stratergy to draw curved lines smoothly (on a fly) ? Is there a way to get more pen move events

Re: smooth line on a plam

2003-01-29 Thread kcorey
On Wed, 2003-01-29 at 08:50, DNR wrote: I'm working on a paint application in palm. To draw curved lines I get pen move positions and link them with straight lines on a fly. But the lines are not smooth as expected. Is there another stratergy to draw curved lines smoothly (on a fly) ? Is

Re: smooth line on a plam

2003-01-29 Thread Henk Jonas
Sounds like splines or bezier curves... Henk DNR wrote: Hi all I'm working on a paint application in palm. To draw curved lines I get pen move positions and link them with straight lines on a fly. But the lines are not smooth as expected. Is there another stratergy to draw curved lines

Re: smooth line on a plam

2003-01-29 Thread David Webb
Do a search for graphic gems, and you will find tons of routines for curve smoothing. The palm may not be able to process them fast enough on the fly though. What I ended up doing was just optimizing the hell out of the draw capture routine which used a gadget which resutled in relatively smooth