CD2DGeometry Class
A wrapper for ID2D1Geometry.
class CD2DGeometry : public CD2DResource;
Members
Public Constructors
Name |
Description |
---|---|
Constructs a CD2DGeometry object. |
|
The destructor. Called when a D2D geometry object is being destroyed. |
Public Methods
Name |
Description |
---|---|
Attaches existing resource interface to the object |
|
Combines this geometry with the specified geometry and stores the result in an ID2D1SimplifiedGeometrySink. |
|
Describes the intersection between this geometry and the specified geometry. The comparison is performed using the specified flattening tolerance. |
|
Computes the area of the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance. |
|
Calculates the length of the geometry as though each segment were unrolled into a line. |
|
Calculates the point and tangent vector at the specified distance along the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance. |
|
Destroys a CD2DGeometry object. (Overrides CD2DResource::Destroy.) |
|
Detaches resource interface from the object |
|
Indicates whether the area filled by the geometry would contain the specified point given the specified flattening tolerance. |
|
Returns ID2D1Geometry interface |
|
Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix. |
|
Checks resource validity (Overrides CD2DResource::IsValid.) |
|
Computes the outline of the geometry and writes the result to an ID2D1SimplifiedGeometrySink. |
|
Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an ID2D1SimplifiedGeometrySink. |
|
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform. |
|
Creates a set of clockwise-wound triangles that cover the geometry after it has been transformed using the specified matrix and flattened using the specified tolerance. |
|
Widens the geometry by the specified stroke and writes the result to an ID2D1SimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance. |
Public Operators
Name |
Description |
---|---|
Returns ID2D1Geometry interface |
Protected Data Members
Name |
Description |
---|---|
A pointer to an ID2D1Geometry. |
Inheritance Hierarchy
Requirements
Header: afxrendertarget.h