|
-
Mar 29th, 2002, 01:01 AM
#1
Thread Starter
Addicted Member
MFC triangle
Is there anyway to draw a trangle given a CDC without creating a CPoint array and copying all the information across. I have the locations of the x and the y of the three points, but I don't want to have to copy the information into a CPoint array?
int p1x, p2x, p3x; x's of the 3 points
int p1y, p2y, p3y; y's of the 3 points
...
cdc->Polygon( ??,3);
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
|