I'm painting a rather complex "image" (which often needs to be refreshed and has many drawing primitives) in a WPF window by overriding the OnRender method of a separate UIElement and using the DrawingContext to directly draw the primitives.
My question is, what exactly happens behind the scenes? As far as I understand this is not using the retained mode (which would be the case if I were placing Shapes into the control). I'm asking the question because I am anxious that drawing like this will actually just use GDI+ at the back which brings with its own problems (e.g. printing stuff drawn with GDI+ has already cost us time and effort).
Are there any good resources (besides the obvious MSDN resources which haven't seemed to be able to enlighten me?
Or have I got everything completely wrong?
Thanks for any answers pointing me in the right direction. [edit: spelling]