View Full Version : TPAintBox questions?

17-08-2004, 06:59 AM
1. How do i draw like the pen tool in ms paint in squares. Ive sorta got tht going using PenPos and LineTo() but it's not quite the same......

2. How do i draw in units like ms paint or pixels w/e you know how even though you draw somewhere it only fills a specific space i would like to know how this is done.

04-09-2004, 03:41 AM
Have a look at the help files. Esp. the TCanvas object. I think you'll find alot of useful methods there. All VCL objects contain a TCanvas(named Canvas oddly enough ;))