Click here to Skip to main content
15,868,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFast 2D drawing Pin
Leif Simon Goodwin2-Apr-10 0:46
Leif Simon Goodwin2-Apr-10 0:46 
AnswerRe: Fast 2D drawing Pin
Maximilien2-Apr-10 1:34
Maximilien2-Apr-10 1:34 
GeneralRe: Fast 2D drawing Pin
Leif Simon Goodwin2-Apr-10 2:50
Leif Simon Goodwin2-Apr-10 2:50 
AnswerRe: Fast 2D drawing Pin
Graham Breach2-Apr-10 1:34
Graham Breach2-Apr-10 1:34 
GeneralRe: Fast 2D drawing Pin
Leif Simon Goodwin3-Apr-10 22:42
Leif Simon Goodwin3-Apr-10 22:42 
AnswerRe: Fast 2D drawing Pin
Iain Clarke, Warrior Programmer2-Apr-10 5:25
Iain Clarke, Warrior Programmer2-Apr-10 5:25 
GeneralRe: Fast 2D drawing Pin
Leif Simon Goodwin3-Apr-10 22:38
Leif Simon Goodwin3-Apr-10 22:38 
GeneralRe: Fast 2D drawing Pin
Leif Simon Goodwin3-Apr-10 22:44
Leif Simon Goodwin3-Apr-10 22:44 
Iain Clarke, Warrior Programmer wrote:
It sounds like you're doing this pretty inefficiently.

Have a look at PolyPolyLine. With a combination of that and SetViewportxxx functions, you could zoom and pan quite speedily.

Have a look at:
The ViewPort Explorer[^]


I'm familiar with viewports. But that is a good point, that the code (not written by me) might be scaling distances without needing to.
AnswerRe: Fast 2D drawing Pin
includeh102-Apr-10 6:28
includeh102-Apr-10 6:28 
GeneralRe: Fast 2D drawing Pin
Maximilien2-Apr-10 6:41
Maximilien2-Apr-10 6:41 
AnswerRe: Fast 2D drawing Pin
Rozis3-Apr-10 12:44
Rozis3-Apr-10 12:44 
GeneralRe: Fast 2D drawing Pin
Leif Simon Goodwin3-Apr-10 22:40
Leif Simon Goodwin3-Apr-10 22:40 
QuestionAny body know about Dia2Dump SDK and its usage? Pin
glitteringsound2-Apr-10 0:34
glitteringsound2-Apr-10 0:34 
AnswerRe: Any body know about Dia2Dump SDK and its usage? Pin
Richard MacCutchan2-Apr-10 5:48
mveRichard MacCutchan2-Apr-10 5:48 
GeneralRe: Any body know about Dia2Dump SDK and its usage? Pin
glitteringsound2-Apr-10 6:44
glitteringsound2-Apr-10 6:44 
GeneralRe: Any body know about Dia2Dump SDK and its usage? Pin
Richard MacCutchan2-Apr-10 6:56
mveRichard MacCutchan2-Apr-10 6:56 
GeneralRe: Any body know about Dia2Dump SDK and its usage? Pin
glitteringsound2-Apr-10 7:08
glitteringsound2-Apr-10 7:08 
QuestionDragging in excel sheet from code Pin
Sunshine Always1-Apr-10 22:22
Sunshine Always1-Apr-10 22:22 
AnswerRe: Dragging in excel sheet from code Pin
mesajflaviu2-Apr-10 7:41
mesajflaviu2-Apr-10 7:41 
Questioncontrol event list empty in VS2008 - no messages listed Pin
permutations1-Apr-10 21:39
permutations1-Apr-10 21:39 
AnswerRe: control event list empty in VS2008 - no messages listed Pin
David Crow2-Apr-10 2:39
David Crow2-Apr-10 2:39 
QuestionRe: control event list empty in VS2008 - no messages listed Pin
permutations2-Apr-10 3:33
permutations2-Apr-10 3:33 
AnswerRe: control event list empty in VS2008 - no messages listed Pin
permutations2-Apr-10 3:47
permutations2-Apr-10 3:47 
AnswerRe: control event list empty in VS2008 - no messages listed Pin
yooyo21-Apr-10 1:17
yooyo21-Apr-10 1:17 
Questionwebbrowser problem Pin
Aric Wang1-Apr-10 21:00
Aric Wang1-Apr-10 21:00 

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.