共用方式為


CD2DPathGeometry::Stream

Copies the contents of the path geometry to the specified ID2D1GeometrySink.

BOOL Stream(
   ID2D1GeometrySink* geometrySink
);

Parameters

  • geometrySink
    The sink to which the path geometry's contents are copied. Modifying this sink does not change the contents of this path geometry.

Return Value

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

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DPathGeometry Class