ID2D1GradientMesh::GetPatches method (d2d1_3.h)
Returns a subset of the patches that make up this gradient mesh.
Syntax
HRESULT GetPatches(
UINT32 startIndex,
D2D1_GRADIENT_MESH_PATCH *patches,
UINT32 patchesCount
);
Parameters
startIndex
Type: UINT32
Index of the first patch to return.
patches
Type: D2D1_GRADIENT_MESH_PATCH*
A pointer to the array to be filled with the patch data.
patchesCount
Type: UINT32
The number of patches to be returned.
Return value
Type: HRESULT
S_OK if successful, otherwise a failure HRESULT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2016 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d2d1_3.h |
DLL | D2d1.dll |