Total members 11890 |It is currently Sat Apr 20, 2024 5:24 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





I am trying to draw a free hand line or curve ... but I am not able to
succeed. If anybody knows an algorithm/program for free hand drawing ....
please share with me.




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

Depending on the API for the OS/platform, there should be a way to draw
a sequence of lines. At each polling interval for the mouse, grab the
coordinates and draw a line from the previous coordinates. This tends to
produce a smoother, more complete line.

There are algorithms for drawing single pixel
anti-aliased lines:

http://courses.ece.uiuc.edu/ece390/arch ... /anti.html

But such algorithms don't typically scale well beyond a single pixel.

_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : Free hand drawing
 Change the mouse cursor to hand pointer     -  
 Free down the ST0-47X Test from Ourexam     -  
 Free Classifieds and Ads in Dubai(UAE)     -  
 Free practice tests on SAP and SCM Concepts     -  
 Looking for developers to help in free and opensource projec     -  
 Free Work at Home Info Pack     -  
 Get disk free space for Unix-Linux in php     -  
 web hosting sites free check out important useful     -  
 Free Quality Comparison Guide to VoIP     -  
 Call of duty 4 Mobile Game Free Download     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com