ID2D1Ink::GetSegments method (d2d1_3.h)
Retrieves the specified subset of segments stored in this ink object.
Syntax
HRESULT GetSegments(
UINT32 startSegment,
[out] D2D1_INK_BEZIER_SEGMENT *segments,
UINT32 segmentsCount
);
Parameters
startSegment
Type: UINT32
The index of the first segment in this ink object to retrieve.
[out] segments
Type: D2D1_INK_BEZIER_SEGMENT*
When this method returns, contains a pointer to an array of retrieved segments.
segmentsCount
Type: UINT32
The number of segments to retrieve. Note that segmentsCount must be less than or equal to the number of segments in the ink object minus startSegment.
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for