Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves a geometric representation of this ink object.
Syntax
HRESULT StreamAsGeometry(
[in, optional] ID2D1InkStyle *inkStyle,
[in, optional] const D2D1_MATRIX_3X2_F *worldTransform,
FLOAT flatteningTolerance,
[in] ID2D1SimplifiedGeometrySink *geometrySink
);
Parameters
[in, optional] inkStyle
Type: ID2D1InkStyle*
The ink style to be used in determining the geometric representation.
[in, optional] worldTransform
Type: const D2D1_MATRIX_3X2_F*
The world transform to be used in determining the geometric representation.
flatteningTolerance
Type: FLOAT
The flattening tolerance to be used in determining the geometric representation.
[in] geometrySink
Type: ID2D1SimplifiedGeometrySink*
The geometry sink to which the geometry representation will be streamed.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1_3.h |
Library | D2d1_3.lib |
DLL | D2d1_3.dll |