vivek_mtechcse2006 wrote: > Thanks for the reply .....The thing is I am drawing the free line but > its not smooth ... basically its look like a staringt line drawn > between two move points ... is there any way I can make it smooth .. > and look like natural free hand one .... I have all the API to set > font, draw line,draw poxcel... to handle, press, move, down ... I > need the logic to make it smooth .... Any code in C for any target > is fine .. I just need logic ... I can turn that into my platform > code ..... > Thanks in advance .... > > > Cheers , > Vivek R
You aren't making a whole lot of sense, but what you seem to be after is called "antialiasing". There are algorithms for drawing single pixel anti-aliased lines: http://courses.ece.uiuc.edu/ece390/archive/archive-f2000/mp/mp4/anti.html But such algorithms don't typically scale well beyond a single pixel. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
