Share via


CD2DGeometry::Outline

Computes the outline of the geometry and writes the result to an ID2D1SimplifiedGeometrySink.

BOOL Outline(
   const D2D1_MATRIX_3X2_F& worldTransform,
   ID2D1SimplifiedGeometrySink* geometrySink,
   FLOAT flatteningTolerance = D2D1_DEFAULT_FLATTENING_TOLERANCE
) const;

Parameters

  • worldTransform
    The transform to apply to the geometry outline.

  • geometrySink
    The ID2D1SimplifiedGeometrySink to which the geometry transformed outline is appended.

  • flatteningTolerance
    The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.

Return Value

If the method succeeds, it returns TRUE. Otherwise, it returns FALSE.

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DGeometry Class