|
-
May 8th, 2003, 12:55 PM
#1
Thread Starter
Junior Member
How to draw triangles ?
What is the best way to draw triangles other than drawing three line coords ?
-
May 8th, 2003, 01:21 PM
#2
Fanatic Member
Not sure if it is "better" but another way to get it done is to use the DrawPolygon method:
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemDrawingGraphicsClassDrawPolygonTopic.htm
-
May 8th, 2003, 01:39 PM
#3
Thread Starter
Junior Member
Thanks. Works fine with draw ploygon. I also like to know how to fill the traingle with color ? draw polygon uses a pen to draw so I am wondering how to fill it ? Thanks
-
May 8th, 2003, 02:40 PM
#4
Fanatic Member
Take a look at your docs:
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemdrawinggraphicsmemberstopic.htm
FillPolygon:
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemdrawinggraphicsclassfillpolygontopic.htm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|