|
-
January 26th, 2010, 11:02 AM
#1
[MFC] PolyLine and autoscrolling canvas
Hello everyone!!!!
I'm creating a task manager's-like-scroll-graphic.
So for this I was thinking to create a vector of vectors of values, where the main vector is to draw more sources, and inside each "internal" vector there are a set of values. The size of each vector containing values would be the same as rect.right converted in points using ((float)rc.right / (float)dwDPI) * 72) where dwDPI was read from the registry to get the current DPI screen.
BUT, since I thought to have a wide size of array due for resizing/enlarging window, since I was thinking to use PolyPolyLine, how I can make it drawing so the last element of the array would be drawn at rc.right of the drawing region?... Or maybe there's a better way to draw it avoiding also flickering?....
Thanks to everyone in advance
Ciao,
Luigi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|