ID2D1Geometry::Outline(constD2D1_MATRIX_3X2_F*,ID2D1SimplifiedGeometrySink*) method (d2d1.h)
Computes the outline of the geometry and writes the result to an ID2D1SimplifiedGeometrySink.
HRESULT Outline( [in, optional] const D2D1_MATRIX_3X2_F *worldTransform, [in] ID2D1SimplifiedGeometrySink *geometrySink );
[in, optional] worldTransform
Type: const D2D1_MATRIX_3X2_F*
The transform to apply to the geometry outline, or NULL.
The ID2D1SimplifiedGeometrySink to which the geometry's transformed outline is appended.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The Outline method allows the caller to produce a geometry with an equivalent fill to the input geometry, with the following additional properties:
- The output geometry contains no transverse intersections; that is, segments may touch, but they never cross.
- The outermost figures in the output geometry are all oriented counterclockwise.
- The output geometry is fill-mode invariant; that is, the fill of the geometry does not depend on the choice of the fill mode.
For more information about the fill mode, see D2D1_FILL_MODE.
|Minimum supported client||Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]|