Click here to Skip to main content
15,947,523 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Converting lines to polygons? Pin
John R. Shaw15-Jul-03 9:20
John R. Shaw15-Jul-03 9:20 
GeneralRe: Converting lines to polygons? Pin
Ryan Binns15-Jul-03 14:49
Ryan Binns15-Jul-03 14:49 
GeneralRe: Converting lines to polygons? Pin
cdsmith16-Jul-03 3:35
cdsmith16-Jul-03 3:35 
GeneralRe: Converting lines to polygons? Pin
John R. Shaw16-Jul-03 6:12
John R. Shaw16-Jul-03 6:12 
QuestionRotating a shape within a bounding rect? Pin
cdsmith15-Jul-03 7:35
cdsmith15-Jul-03 7:35 
AnswerRe: Rotating a shape within a bounding rect? Pin
Ryan Binns15-Jul-03 14:48
Ryan Binns15-Jul-03 14:48 
GeneralRe: Rotating a shape within a bounding rect? Pin
cdsmith16-Jul-03 3:40
cdsmith16-Jul-03 3:40 
GeneralRe: Rotating a shape within a bounding rect? Pin
Ryan Binns16-Jul-03 3:52
Ryan Binns16-Jul-03 3:52 
Smile | :) Yeah, and when you figure it out, think about writing an article to post. That would be cool Cool | :cool:

It shouldn't be too difficult, but will depend on the shape you're working with. If you're dealing with a polygon, you can calculate the distance out of the box for each point, and scale all the points so that the furthest one fits in the box. Sounds complex, but I don't think it is really, just takes a bit of thought Smile | :)

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralPipes and Child Process Pin
anqin15-Jul-03 7:26
anqin15-Jul-03 7:26 
GeneralDownload ActiveX Pin
Anonymous15-Jul-03 5:33
Anonymous15-Jul-03 5:33 
GeneralRe: Download ActiveX Pin
Iain Clarke, Warrior Programmer15-Jul-03 5:44
Iain Clarke, Warrior Programmer15-Jul-03 5:44 
GeneralRe: Download ActiveX Pin
Ryan Binns15-Jul-03 5:52
Ryan Binns15-Jul-03 5:52 
GeneralRe: Download ActiveX Pin
Iain Clarke, Warrior Programmer15-Jul-03 6:11
Iain Clarke, Warrior Programmer15-Jul-03 6:11 
GeneralRe: Download ActiveX Pin
Ryan Binns15-Jul-03 14:44
Ryan Binns15-Jul-03 14:44 
QuestionIs there any way to get this to work CString??? Pin
johnstonsk15-Jul-03 4:31
johnstonsk15-Jul-03 4:31 
AnswerRe: Is there any way to get this to work CString??? Pin
Ryan Binns15-Jul-03 5:05
Ryan Binns15-Jul-03 5:05 
GeneralRe: Is there any way to get this to work CString??? Pin
johnstonsk15-Jul-03 5:21
johnstonsk15-Jul-03 5:21 
GeneralRe: Is there any way to get this to work CString??? Pin
Ryan Binns15-Jul-03 5:48
Ryan Binns15-Jul-03 5:48 
GeneralRe: Is there any way to get this to work CString??? Pin
johnstonsk15-Jul-03 6:11
johnstonsk15-Jul-03 6:11 
GeneralRe: Is there any way to get this to work CString??? Pin
David Crow15-Jul-03 7:34
David Crow15-Jul-03 7:34 
GeneralRe: Is there any way to get this to work CString??? Pin
John M. Drescher15-Jul-03 7:59
John M. Drescher15-Jul-03 7:59 
GeneralRe: Is there any way to get this to work CString??? Pin
Ryan Binns15-Jul-03 14:40
Ryan Binns15-Jul-03 14:40 
GeneralRe: Is there any way to get this to work CString??? Pin
johnstonsk15-Jul-03 15:20
johnstonsk15-Jul-03 15:20 
AnswerRe: Is there any way to get this to work CString??? Pin
Shay Harel15-Jul-03 7:54
Shay Harel15-Jul-03 7:54 
AnswerRe: Is there any way to get this to work CString??? Pin
John M. Drescher15-Jul-03 8:03
John M. Drescher15-Jul-03 8:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.