Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Changing Icon for an .exe file Pin
Joaquín M López Muñoz29-Aug-01 6:10
Joaquín M López Muñoz29-Aug-01 6:10 
GeneralRe: Changing Icon for an .exe file Pin
Vijay S30-Aug-01 19:37
Vijay S30-Aug-01 19:37 
GeneralCOMM problem Pin
Sandeep Shetty29-Aug-01 1:48
Sandeep Shetty29-Aug-01 1:48 
GeneralSimple/Extended MAPI & CDO Pin
AJ12328-Aug-01 23:38
AJ12328-Aug-01 23:38 
GeneralBeginner's question about calendar controls Pin
28-Aug-01 23:14
suss28-Aug-01 23:14 
GeneralProcess Monitoring Pin
v_krishnan28-Aug-01 23:13
v_krishnan28-Aug-01 23:13 
GeneralRe: Process Monitoring Pin
Tomasz Sowinski29-Aug-01 0:37
Tomasz Sowinski29-Aug-01 0:37 
GeneralClipping Polygons / Lines to Visable area Pin
AndyC28-Aug-01 23:10
AndyC28-Aug-01 23:10 
Can any body help?

I have got an application that draws a set of filled polygons and line to a CWnd Derived Object. There is also a zoom in/out functionality, which is where my problems start. If the user zooms in far enough the drawing starts to go a bit screwy. I am sure this is because when I convert the real world coordinates to screen coords some points are out side the 32000(98) / 64000(NT) limit on the size of the DC.

What I would now like to do is impliment some clipping code that clipps all the plygons to the visable area.

Does anybody have some code that does this ?

Best Regards
Andy
GeneralRe: Clipping Polygons / Lines to Visable area Pin
28-Aug-01 23:36
suss28-Aug-01 23:36 
GeneralRe: Clipping Polygons / Lines to Visable area Pin
AndyC28-Aug-01 23:59
AndyC28-Aug-01 23:59 
GeneralBeginner question Pin
28-Aug-01 21:19
suss28-Aug-01 21:19 
GeneralRe: Beginner question Pin
Michael Dunn28-Aug-01 21:26
sitebuilderMichael Dunn28-Aug-01 21:26 
GeneralRe: Beginner question Pin
28-Aug-01 21:31
suss28-Aug-01 21:31 
Generalproperty storage(persistance) Pin
Pankaj Mongia28-Aug-01 20:02
Pankaj Mongia28-Aug-01 20:02 
Generalrecognizing string with mouse hooking Pin
prog758428-Aug-01 19:49
prog758428-Aug-01 19:49 
GeneralFIle Copying Pin
balgovindpandey28-Aug-01 19:35
balgovindpandey28-Aug-01 19:35 
GeneralIRC Chat Pin
MaTrIX2k228-Aug-01 18:57
MaTrIX2k228-Aug-01 18:57 
GeneralRe: IRC Chat Pin
Jack Ploeg29-Aug-01 2:55
Jack Ploeg29-Aug-01 2:55 
GeneralRe: IRC Chat Pin
MaTrIX2k229-Aug-01 8:36
MaTrIX2k229-Aug-01 8:36 
GeneralScrolling multiline edit ctrl to bottom Pin
Jake Palmer28-Aug-01 18:43
Jake Palmer28-Aug-01 18:43 
GeneralRe: Scrolling multiline edit ctrl to bottom Pin
The_Server29-Aug-01 3:13
The_Server29-Aug-01 3:13 
Questionhow to debug multity threads Pin
haozl28-Aug-01 17:21
haozl28-Aug-01 17:21 
AnswerRe: how to debug multity threads Pin
Focht28-Aug-01 20:51
Focht28-Aug-01 20:51 
GeneralRe: how to debug multity threads Pin
KingsGambit29-Aug-01 1:26
KingsGambit29-Aug-01 1:26 
GeneralRe: how to debug multity threads Pin
haozl29-Aug-01 2:35
haozl29-Aug-01 2:35 

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.