home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!wombat.newcastle.edu.au!phshl
- From: phshl@wombat.newcastle.edu.au (S.H. LEE (61) 49 21 5566)
- Subject: Help with scrolling drawing
- Message-ID: <1993Jan9.232326.1@wombat.newcastle.edu.au>
- Lines: 16
- Sender: news@seagoon.newcastle.edu.au
- Organization: University of Newcastle, AUSTRALIA
- Date: Sat, 9 Jan 1993 12:23:26 GMT
-
- Hi ,
- I am trying to draw Time Series in a window. I am using the
- mm_anisotropic Mapping Mode as follows
-
- setMapMode(PaintDC, mm_anisotropic)
- SetWindowExt(PaintDC, 512, 256) { 512 points in a window }
- SetViewportExt(PaintDC, r.right, -r.bottom); { Client area }
- SetViewportOrg(PaintDC, 0,r.bottom);
- draw;
-
- The problem is if I then scrolll the window, the picture will not be
- redrawn properly.
-
- Does anybody know what's wrong?
-
- Lee
-