Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

drawing a polygon with some line width

Status
Not open for further replies.

rajeshki

Programmer
Aug 27, 2003
1
DE
hi
i am using c++ (with MS visual C++ compiler)to get a geometry of polygon and i could get the coordiates of lines but i don't know how can i provide some width to the lines. if anyone of u help me in this regard i would be so thankful to u..
bye
rajesh
 
[blue]to get a geometry of polygon and i could get the coordiates of lines but i don't know how can i provide some width to the lines.[/blue]

If that means your drawing a polygon, the width of lines comes from the PEN object your using to draw with. You are probably using the default so you need to create a PEN object with the desired width.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top