Condividi tramite


CD2DGeometry::CombineWithGeometry

Combines this geometry with the specified geometry and stores the result in an ID2D1SimplifiedGeometrySink.

BOOL CombineWithGeometry(
   CD2DGeometry& inputGeometry,
   D2D1_COMBINE_MODE combineMode,
   const D2D1_MATRIX_3X2_F& inputGeometryTransform,
   ID2D1SimplifiedGeometrySink* geometrySink,
   FLOAT flatteningTolerance = D2D1_DEFAULT_FLATTENING_TOLERANCE
) const;

Parameters

  • inputGeometry
    The geometry to combine with this instance.

  • combineMode
    The type of combine operation to perform.

  • inputGeometryTransform
    The transform to apply to inputGeometry before combining.

  • geometrySink
    The result of the combine operation.

  • flatteningTolerance
    The maximum bounds on the distance between points in the polygonal approximation of the geometries. 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