Re: Newbie looking for info on basic graphics with Delphi.



Mike Barnard wrote:
Hi.

I have delphi 5 personal and I am doing a short program to calculate
the sizes of timbers needed to build the carcass of an outbuilding.

What I'd like it to be able to draw a basic wireframe to scale on a
panel objuct on the main form. I have googled and come up with stuff
that I can't use or is too advanced. Can anyone point me to a basic
tutorial on stuff like this?

Questions I have are:

Does every viewable object (buttons, listboxes, panels etc) have its
own canvas?

Do I need to use a canvas to draw?

If not, how?

Where can I find some basic algorithms for wireframe drawing?

Thanks for any pointers.

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
you can draw on any surface that has a canvas how ever, to retain the
image you draw when the surface gets an Repaint request from the OS, you
need to draw on a canvas that also stores the data in a image in the
background. For this, use a Timage which contains a surface canvas and
a connected bitmap image to hold your image data..


--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5

.


Quantcast