I have a number of graphics objects which I am plotting in a graphics context in a windows forms application. There is some interaction with the ui element in which the paths are rendered which allows the user to pan, zoom and set an origin for the zoom point. The question I have is, is it possible to set up a sequence of transform operations on the graphics object as follows?
 Apply a translate transfrom (to shift paths to the origin point for the scale transform)  Apply scale transform  Apply a translate transform (to shift the path back to the correct location)
It seems I can only order individual transform operations types (translate, scale, etc), so the two translate transforms will not be applied at the correct point (either side of the scale operation). Is there a way to do this? Alternatively, is it possible to set an origin for the scale transform?
I did mess around with nested graphicscontainers, but they didn't seem to help.