Re: Free Hand Drawing
Jorge Sandoval <[email protected]> Wed, 13 Aug 2003 06:04:25 -0700 (PDT)
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
Thanks Rory, but that is essentially what the TCanvas methods do. I used an ellipse as an example but basically I just need to be able to draw any type of figure freehandedly. I simply need to learn how to draw directly on the canvas freehand. Even draw a swirl pattern if necessary. Pretty much the way MS Paint works. --- Rory Daulton <[email protected]> wrote: > Jorge, > > > Can anyone tell me or have example code of how to do freehand > drawing > > on TCanvas? I understand the methods for line, ellipse, and > rectangle > > drawing, but I'd like to be able to draw and ellipse freehand. > > I believe the usual method for an ellipse is to draw the "bounding > rectangle" (the horizontal rectangle that circumscribes the ellipse) > as well > as the ellipse inside it. The user drags and draws the rectangle, > with the > ellipse following along. When the user ends the drag, the ellipse is > finalized so the rectangle disappears. > > Rory Daulton > [email protected] > > > --- > [This E-mail scanned for viruses by Declude Virus and Nmax "Your > MAXimum Connection!"] > [This E-mail scanned for spam by Declude JunkMail and Nmax "Your > MAXimum Connection!"] > > ===== Nothing has any significance except that which we assign to it. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/i7folB/TM ---------------------------------------------------------------------~-> CodeCoffer - new Delphi code protection Tool! http://www.delphicollection.com/public/CodeCoffer.htm --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/