As a follow-up, to clarify: I am caching patterns to avoid redrawing later. I want to know how much memory they are taking. If I cache a 100px by 100px area - I want to know it's doing that and NOT caching the entire width x height of the context surface every time! Does that make sense? Thx, \d