gdi+ render viewport/camera perspective only
-
anyone have links, magazine articles, book titles, or open source project references question 1: what are some algorithms available to simulate how ms word draws each page as i scroll through 1000+ page document. Assuming the whole document cannot be loaded+drawn in memory all at once. How does the buffering work? Realistically i'll be rendering a printed circuit board that might have many circles, rectangles using filled polygons. If the user zooms in, a given polygon might border the canvas and outside region. how would this partially on screen object be drawn? Should i send my canvas containing perspective+coordinate to all the objects and have the actual objects draw themselves to the canvas. Each shape will need to know how to partially render itself. are there any advanced articles in this subject? question 2: what are some algorithms for snapping to grid, when connecting components how auto route lines (shortest route + no overlapping.) thanks, -lm