
January 18th, 2013, 12:49 AM
|
|
Contributing User
|
|
Join Date: May 2012
Posts: 134
Time spent in forums: 1 Day 4 h 26 m
Reputation Power: 2
|
|
|
Most (if not all) GDI calls already wrapped in TCanvas. So you can use methods of TCanvas to do GDI "drawing". For your case, you would need to move the "pointer" to one corner of the triangle, draw a line to the next corner, then draw another line to the next corner, and finally draw the final line to the initial corner.
Open help for TCanvas, and there you should find methods named MoveTo and Line (or was it LineTo?).
|