GeometrySource Generic Class
Expression Studio 4.0
Provides the base class of a source of geometry. Generates and caches the geometry based on the input parameters and the layout bounds.
Assembly: Microsoft.Expression.Drawing (in microsoft.expression.drawing.dll)
A typical implementation will extend the UpdateCachedGeometry() to update this.cachedGeometry. This base class will then handle the invalidation, pipeline to the geometry effects, and then cache relative to the layout bounds. An implementation should try to reuse the cached geometry as much as possible to avoid reconstruction in the rendering thread. An implementation can extend the ComputeLogicalBounds to handle Stretch differently.