I need to draw a GraphicsPath (a polygon made with several appended lines), and the view may be scrolled (in other words, the polygon may be drawn at a different location).
My first attempt was to try with GraphicsPath.MoveToPoint OffsetX,OffsetY, but that doesn’t have any effect. I also tried GraphicsPath.Bounds.Offset OffsetX,OffsetY with the same result.
Since there doesn’t appear to have a way to retrieve the path’s components, I can’t loop thru them to change their location either. It looks like the only way is to re-create the shape every single time the user scrolls, which doesn’t sound practical to me.
Thanks for your reply.
So, in effect, you’re reconstructing the path each time something changes (which I mentioned as “not practical” in my original question, but perhaps my words were poorly chosen; I meant it looks weird to rebuild the path each time).