Skip to content

Latest commit

 

History

History
158 lines (102 loc) · 4.65 KB

ns-d2d1_3-d2d1_gradient_mesh_patch.md

File metadata and controls

158 lines (102 loc) · 4.65 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:d2d1_3.D2D1_GRADIENT_MESH_PATCH
D2D1_GRADIENT_MESH_PATCH (d2d1_3.h)
Represents a tensor patch with 16 control points, 4 corner colors, and boundary flags. An ID2D1GradientMesh is made up of 1 or more gradient mesh patches. Use the GradientMeshPatch function or the GradientMeshPatchFromCoonsPatch function to create one.
D2D1_GRADIENT_MESH_PATCH
D2D1_GRADIENT_MESH_PATCH structure [Direct2D]
d2d1_3/D2D1_GRADIENT_MESH_PATCH
direct2d.D2D1_GRADIENT_MESH_PATCH
direct2d\D2D1_GRADIENT_MESH_PATCH.htm
Direct2D
16d1ef03-f0c9-7414-d54d-9513199272aa
12/05/2018
D2D1_GRADIENT_MESH_PATCH, D2D1_GRADIENT_MESH_PATCH structure [Direct2D], d2d1_3/D2D1_GRADIENT_MESH_PATCH, direct2d.D2D1_GRADIENT_MESH_PATCH
d2d1_3.h
Windows
Windows 10 [desktop apps \| UWP apps]
Windows Server 2016 [desktop apps \| UWP apps]
Windows
D2D1_GRADIENT_MESH_PATCH
19H1
D2D1_GRADIENT_MESH_PATCH
d2d1_3/D2D1_GRADIENT_MESH_PATCH
c++
APIRef
kbSyntax
HeaderDef
d2d1_3.h
D2D1_GRADIENT_MESH_PATCH

D2D1_GRADIENT_MESH_PATCH structure

-description

Represents a tensor patch with 16 control points, 4 corner colors, and boundary flags. An ID2D1GradientMesh is made up of 1 or more gradient mesh patches. Use the GradientMeshPatch function or the GradientMeshPatchFromCoonsPatch function to create one.

-struct-fields

-field point00

The coordinate-space location of the control point in column 0 and row 0 of the tensor grid.

-field point01

The coordinate-space location of the control point in column 0 and row 1 of the tensor grid.

-field point02

The coordinate-space location of the control point in column 0 and row 2 of the tensor grid.

-field point03

The coordinate-space location of the control point in column 0 and row 3 of the tensor grid.

-field point10

The coordinate-space location of the control point in column 1 and row 0 of the tensor grid.

-field point11

The coordinate-space location of the control point in column 1 and row 1 of the tensor grid.

-field point12

The coordinate-space location of the control point in column 1 and row 2 of the tensor grid.

-field point13

The coordinate-space location of the control point in column 1 and row 3 of the tensor grid.

-field point20

The coordinate-space location of the control point in column 2 and row 0 of the tensor grid.

-field point21

The coordinate-space location of the control point in column 2 and row 1 of the tensor grid.

-field point22

The coordinate-space location of the control point in column 2 and row 2 of the tensor grid.

-field point23

The coordinate-space location of the control point in column 2 and row 3 of the tensor grid.

-field point30

The coordinate-space location of the control point in column 3 and row 0 of the tensor grid.

-field point31

The coordinate-space location of the control point in column 3 and row 1 of the tensor grid.

-field point32

The coordinate-space location of the control point in column 3 and row 2 of the tensor grid.

-field point33

The coordinate-space location of the control point in column 3 and row 3 of the tensor grid.

-field color00

The color associated with the control point in column 0 and row 0 of the tensor grid.

-field color03

The color associated with the control point in column 0 and row 3 of the tensor grid.

-field color30

The color associated with the control point in column 3 and row 0 of the tensor grid.

-field color33

The color associated with the control point in column 3 and row 3 of the tensor grid.

-field topEdgeMode

Specifies how to render the top edge of the mesh.

-field leftEdgeMode

Specifies how to render the left edge of the mesh.

-field bottomEdgeMode

Specifies how to render the bottom edge of the mesh.

-field rightEdgeMode

Specifies how to render the right edge of the mesh.

-remarks

The following image shows the numbering of control points on a tensor grid.

Number of control points on a tensor grid