This topic has not yet been rated - Rate this topic

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.


Namespace: Microsoft.Expression.Media
Assembly: Microsoft.Expression.Drawing (in microsoft.expression.drawing.dll)
public abstract class GeometrySource<TParameters> : IGeometrySource where TParameters : IGeometrySourceParameters
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.
System.Object
  Microsoft.Expression.Media.GeometrySource
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.