TurboCAD Forums
SDK Corner => Sample SDK Projects => SDK General Discussion => Topic started by: Orion20036 on May 01, 2012, 07:55:45 PM

If anyone has any examples of delphi draw graphic routines, it would be much appreciated, as I have scoured the planet and have yet to find any.
I have a number of the basic line circle arc and other 2d routines working, but anything with extended syntax is still a mystery.
Here are some of the things i would like to get me started.
draw a sphere
draw a box
draw a polyline
draw a 3d polyline
and any other routines that have an array of vertices.
I don't need complex examples, of multiple objects, just the basic. Delphi appears to require more parameters than the other language examples. As an example Vertices.add requires 11 OleVariants while the other languages only require the first three which are the x,y,z coords. A lot of the other routines also require extra parameters, and I am at a loss as to what they expect.
Any help appreciated.
Mike Geraghty.