10 #endif // #ifdef _MSC_VER 17 #endif // #ifndef _D2D1_2_H_ 594 #ifndef D2D_USE_C_DEFINITIONS 596 #if NTDDI_VERSION >= NTDDI_WIN10_RS2 608 STDMETHOD_(
void, GetElement)(
617 _COM_Outptr_ ID2D1SvgAttribute **attribute
625 interface DX_DECLARE_INTERFACE("d59bab0a-68
a2-455
b-a5dc-9eb2854e2490") ID2D1SvgPaint :
public ID2D1SvgAttribute
631 STDMETHOD(SetPaintType)(
653 STDMETHOD_(
void, GetColor)(
670 _Out_writes_(idCount) PWSTR
id,
679 STDMETHOD_(
UINT32, GetIdLength)(
692 return SetColor(&
color);
700 interface DX_DECLARE_INTERFACE("f1c0ca52-92a3-4f00-b4ce-f35691efd9d9") ID2D1SvgStrokeDashArray :
public ID2D1SvgAttribute
707 STDMETHOD(RemoveDashesAtEnd)(
719 STDMETHOD(UpdateDashes)(
733 STDMETHOD(UpdateDashes)(
745 STDMETHOD(GetDashes)(
746 _Out_writes_(dashesCount)
FLOAT *dashes,
757 STDMETHOD(GetDashes)(
766 STDMETHOD_(
UINT32, GetDashesCount)(
774 interface DX_DECLARE_INTERFACE("9dbe4c0d-3572-4dd9-9825-5530813bb712") ID2D1SvgPointCollection :
public ID2D1SvgAttribute
781 STDMETHOD(RemovePointsAtEnd)(
794 STDMETHOD(UpdatePoints)(
806 STDMETHOD(GetPoints)(
815 STDMETHOD_(
UINT32, GetPointsCount)(
832 interface DX_DECLARE_INTERFACE("c095e4f4-bb98-43d6-9745-4d1b84ec9888") ID2D1SvgPathData :
public ID2D1SvgAttribute
839 STDMETHOD(RemoveSegmentDataAtEnd)(
852 STDMETHOD(UpdateSegmentData)(
865 STDMETHOD(GetSegmentData)(
874 STDMETHOD_(
UINT32, GetSegmentDataCount)(
881 STDMETHOD(RemoveCommandsAtEnd)(
894 STDMETHOD(UpdateCommands)(
906 STDMETHOD(GetCommands)(
915 STDMETHOD_(
UINT32, GetCommandsCount)(
921 STDMETHOD(CreatePathGeometry)(
938 STDMETHOD_(
void, GetDocument)(
945 STDMETHOD(GetTagName)(
946 _Out_writes_(nameCount) PWSTR
name,
954 STDMETHOD_(
UINT32, GetTagNameLength)(
961 STDMETHOD_(
BOOL, IsTextContent)(
967 STDMETHOD_(
void, GetParent)(
974 STDMETHOD_(
BOOL, HasChildren)(
980 STDMETHOD_(
void, GetFirstChild)(
987 STDMETHOD_(
void, GetLastChild)(
999 STDMETHOD(GetPreviousChild)(
1012 STDMETHOD(GetNextChild)(
1029 STDMETHOD(InsertChildBefore)(
1041 STDMETHOD(AppendChild)(
1055 STDMETHOD(ReplaceChild)(
1066 STDMETHOD(RemoveChild)(
1078 STDMETHOD(CreateChild)(
1079 _In_ PCWSTR tagName,
1091 STDMETHOD_(
BOOL, IsAttributeSpecified)(
1103 STDMETHOD_(
UINT32, GetSpecifiedAttributeCount)(
1113 STDMETHOD(GetSpecifiedAttributeName)(
1115 _Out_writes_(nameCount) PWSTR
name,
1129 STDMETHOD(GetSpecifiedAttributeNameLength)(
1131 _Out_
UINT32 *nameLength,
1140 STDMETHOD(RemoveAttribute)(
1147 STDMETHOD(SetTextValue)(
1148 _In_reads_(nameCount)
CONST WCHAR *
name,
1155 STDMETHOD(GetTextValue)(
1156 _Out_writes_(nameCount) PWSTR
name,
1164 STDMETHOD_(
UINT32, GetTextValueLength)(
1172 STDMETHOD(SetAttributeValue)(
1184 STDMETHOD(GetAttributeValue)(
1187 _Out_writes_(valueCount) PWSTR
value,
1198 STDMETHOD(GetAttributeValueLength)(
1201 _Out_
UINT32 *valueLength
1209 STDMETHOD(SetAttributeValue)(
1212 _In_reads_bytes_(valueSizeInBytes)
CONST void *
value,
1222 STDMETHOD(GetAttributeValue)(
1225 _Out_writes_bytes_(valueSizeInBytes)
void *
value,
1236 STDMETHOD(SetAttributeValue)(
1238 _In_ ID2D1SvgAttribute *
value 1248 STDMETHOD(GetAttributeValue)(
1251 _COM_Outptr_result_maybenull_
void **
value 1257 COM_DECLSPEC_NOTHROW
1270 COM_DECLSPEC_NOTHROW
1283 COM_DECLSPEC_NOTHROW
1296 COM_DECLSPEC_NOTHROW
1310 COM_DECLSPEC_NOTHROW
1324 COM_DECLSPEC_NOTHROW
1338 COM_DECLSPEC_NOTHROW
1352 COM_DECLSPEC_NOTHROW
1366 COM_DECLSPEC_NOTHROW
1380 COM_DECLSPEC_NOTHROW
1394 COM_DECLSPEC_NOTHROW
1408 COM_DECLSPEC_NOTHROW
1422 COM_DECLSPEC_NOTHROW
1436 COM_DECLSPEC_NOTHROW
1450 COM_DECLSPEC_NOTHROW
1464 COM_DECLSPEC_NOTHROW
1478 COM_DECLSPEC_NOTHROW
1492 COM_DECLSPEC_NOTHROW
1506 COM_DECLSPEC_NOTHROW
1520 COM_DECLSPEC_NOTHROW
1534 COM_DECLSPEC_NOTHROW
1548 COM_DECLSPEC_NOTHROW
1562 COM_DECLSPEC_NOTHROW
1576 COM_DECLSPEC_NOTHROW
1589 COM_DECLSPEC_NOTHROW
1602 COM_DECLSPEC_NOTHROW
1615 COM_DECLSPEC_NOTHROW
1619 _COM_Outptr_result_maybenull_ ID2D1SvgAttribute **
value 1629 COM_DECLSPEC_NOTHROW
1633 _COM_Outptr_result_maybenull_ ID2D1SvgPaint **
value 1643 COM_DECLSPEC_NOTHROW
1647 _COM_Outptr_result_maybenull_ ID2D1SvgStrokeDashArray **
value 1657 COM_DECLSPEC_NOTHROW
1661 _COM_Outptr_result_maybenull_ ID2D1SvgPointCollection **
value 1671 COM_DECLSPEC_NOTHROW
1675 _COM_Outptr_result_maybenull_ ID2D1SvgPathData **
value 1689 STDMETHOD(SetViewportSize)(
1710 STDMETHOD_(
void, GetRoot)(
1718 STDMETHOD(FindElementById)(
1731 STDMETHOD(Serialize)(
1732 _In_ IStream *outputXmlStream,
1744 STDMETHOD(Deserialize)(
1745 _In_ IStream *inputXmlStream,
1757 STDMETHOD(CreatePaint)(
1761 _COM_Outptr_ ID2D1SvgPaint **paint
1768 STDMETHOD(CreateStrokeDashArray)(
1771 _COM_Outptr_ ID2D1SvgStrokeDashArray **strokeDashArray
1778 STDMETHOD(CreatePointCollection)(
1781 _COM_Outptr_ ID2D1SvgPointCollection **pointCollection
1788 STDMETHOD(CreatePathData)(
1789 _In_reads_opt_(segmentDataCount)
CONST FLOAT *segmentData,
1793 _COM_Outptr_ ID2D1SvgPathData **pathData
1804 COM_DECLSPEC_NOTHROW
1810 _COM_Outptr_ ID2D1SvgPaint **paint
1813 return CreatePaint(paintType, &
color,
id, paint);
1823 #ifdef D2D_USE_C_DEFINITIONS 1832 #endif // #ifndef _D2D1_SVG_ Starts a new subpath at the coordinate (x y). Uses 2 floats of segment data.
Definition: d2d1svg.h:311
#define DX_DECLARE_INTERFACE(x)
Definition: dcommon.h:17
Draws a quadratic Bezier curve (x1 y1 x y). The curve ends at (x, y) and is defined by the control po...
Definition: d2d1svg.h:341
Represents all SVG preserveAspectRatio settings.
Definition: d2d1svg.h:549
GLuint const GLchar * name
Definition: glext.h:6671
Draws a smooth quadratic Bezier curve ending at (x, y). Uses 2 floats of segment data.
Definition: d2d1svg.h:399
D2D1_SVG_ATTRIBUTE_STRING_TYPE
Defines the type of SVG string attribute to set or get.
Definition: d2d1svg.h:434
The attribute is a D2D1_EXTEND_MODE.
Definition: d2d1svg.h:514
Draws an elliptical arc (rx ry x-axis-rotation large-arc-flag sweep-flag x y). The curve ends at (x,...
Definition: d2d1svg.h:354
The element is visible.
Definition: d2d1svg.h:125
The property is set to SVG's 'bevel' value.
Definition: d2d1svg.h:190
D2D1_SVG_VISIBILITY
Specifies a value for the SVG visibility property.
Definition: d2d1svg.h:119
EXTERN_C CONST IID IID_ID2D1SvgDocument
Definition: d2d1svg.h:591
The attribute is an element ID.
Definition: d2d1svg.h:449
The attribute is a D2D1_SVG_LINE_CAP.
Definition: d2d1svg.h:489
D2D1_SVG_OVERFLOW
Specifies a value for the SVG overflow property.
Definition: d2d1svg.h:139
Definition: glslang_tab.cpp:129
Draws a cubic Bezier curve (x1 y1 x2 y2 x y). The curve ends at (x, y) and is defined by the two cont...
Definition: d2d1svg.h:335
Definition: d2d1svg.h:111
Definition: d2d1svg.h:131
D2D1_SVG_ATTRIBUTE_POD_TYPE
Defines the type of SVG POD attribute to set or get.
Definition: d2d1svg.h:458
The attribute is a D2D1_COLOR_F.
Definition: d2d1svg.h:469
The alignment is set to SVG's 'xMidYMin' value.
Definition: d2d1svg.h:226
Square line cap.
Definition: d2d1.h:391
The current color is rendered.
Definition: d2d1svg.h:46
Draws a vertical line to the coordinate (y). Uses 1 float of segment data.
Definition: d2d1svg.h:376
FLOAT y
Definition: d2d1svg.h:578
EXTERN_C CONST IID IID_ID2D1SvgStrokeDashArray
Definition: d2d1svg.h:587
The attribute is a D2D1_SVG_UNIT_TYPE.
Definition: d2d1svg.h:509
GLenum GLuint id
Definition: glext.h:6233
Definition: d2d1svg.h:450
Draws a cubic Bezier curve (x1 y1 x2 y2 x y). The curve ends at (x, y) and is defined by the two cont...
Definition: d2d1svg.h:328
The alignment is set to SVG's 'xMinYMid' value.
Definition: d2d1svg.h:236
Draws a line to the coordinate (x y). Uses 2 floats of segment data.
Definition: d2d1svg.h:321
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
Draws a horizontal line to the coordinate (x). Uses 1 float of segment data.
Definition: d2d1svg.h:371
The attribute is a FLOAT.
Definition: d2d1svg.h:464
The alignment is set to SVG's 'none' value.
Definition: d2d1svg.h:216
A solid color is rendered.
Definition: d2d1svg.h:41
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:6303
D2D1_SVG_PAINT_TYPE
Specifies the paint type for an SVG fill or stroke.
Definition: d2d1svg.h:30
GLboolean GLboolean GLboolean b
Definition: glext.h:6844
The attribute is a D2D1_SVG_PRESERVE_ASPECT_RATIO.
Definition: d2d1svg.h:519
The length is a percentage value.
Definition: d2d1svg.h:90
The element and all children are not rendered directly.
Definition: d2d1svg.h:110
Draws a vertical line to the coordinate (y). Uses 1 float of segment data.
Definition: d2d1svg.h:381
Definition: d2d1svg.h:426
Round line cap.
Definition: d2d1.h:396
EXTERN_C CONST IID IID_ID2D1SvgAttribute
Definition: d2d1svg.h:585
The element uses the default display behavior.
Definition: d2d1svg.h:105
Draws a smooth cubic Bezier curve (x2 y2 x y). The curve ends at (x, y) and is defined by the control...
Definition: d2d1svg.h:387
D2D1_SVG_DISPLAY
Specifies a value for the SVG display property.
Definition: d2d1svg.h:99
The attribute is a D2D1_SVG_LINE_JOIN.
Definition: d2d1svg.h:494
The attribute is a D2D1_SVG_OVERFLOW.
Definition: d2d1svg.h:484
EXTERN_C CONST IID IID_ID2D1SvgPathData
Definition: d2d1svg.h:589
D2D1_SVG_ASPECT_SCALING meetOrSlice
Sets the meetOrSlice portion of the preserveAspectRatio settings.
Definition: d2d1svg.h:567
Draws a smooth cubic Bezier curve (x2 y2 x y). The curve ends at (x, y) and is defined by the control...
Definition: d2d1svg.h:393
#define NULL
Pointer to 0.
Definition: gctypes.h:65
GLenum type
Definition: glext.h:6233
struct D2D1_SVG_LENGTH D2D1_SVG_LENGTH
Represents an SVG length.
The attribute is a D2D1_FILL_MODE.
Definition: d2d1svg.h:474
interface ID2D1SvgDocument ID2D1SvgDocument
Definition: d2d1svg.h:24
FLOAT width
Definition: d2d1svg.h:579
Definition: d2d1svg.h:202
The attribute is a D2D1_SVG_DISPLAY.
Definition: d2d1svg.h:479
Miter/Bevel join.
Definition: d2d1.h:447
The alignment is set to SVG's 'xMaxYMax' value.
Definition: d2d1svg.h:261
Definition: d2d1svg.h:530
GLsizei const GLfloat * points
Definition: glext.h:9015
GLsizei const GLubyte * commands
Definition: glext.h:12617
D2D1_EXTEND_MODE
Enum which describes how to sample from a source outside its base tile.
Definition: d2d1.h:151
The property is set to SVG's 'miter' value. Note that this is equivalent to D2D1_LINE_JOIN_MITER_OR_B...
Definition: d2d1svg.h:196
interface ID2D1SvgElement ID2D1SvgElement
Definition: d2d1svg.h:25
Stores an ordered pair of floats, typically the width and height of a rectangle.
Definition: dcommon.h:252
The fill or stroke is not rendered.
Definition: d2d1svg.h:36
Draws a smooth quadratic Bezier curve ending at (x, y). Uses 2 floats of segment data.
Definition: d2d1svg.h:405
EXTERN_C CONST IID IID_ID2D1SvgPaint
Definition: d2d1svg.h:586
\ The property is set to SVG's 'round' value.
Definition: d2d1svg.h:201
Definition: d2d1svg.h:406
Represents an x-coordinate and y-coordinate pair in two-dimensional space.
Definition: dcommon.h:175
The element is clipped to its viewport.
Definition: d2d1svg.h:150
D2D1_SVG_ASPECT_SCALING
The meetOrSlice portion of the SVG preserveAspectRatio attribute.
Definition: d2d1svg.h:270
Round join.
Definition: d2d1.h:442
f32 a2
Definition: gx_regdef.h:5096
The alignment is set to SVG's 'xMaxYMid' value.
Definition: d2d1svg.h:246
Definition: d2d1svg.h:262
The property is set to SVG's 'round' value.
Definition: d2d1svg.h:175
interface ID2D1PathGeometry1 ID2D1PathGeometry1
Definition: d2d1_1.h:2418
A paint server, defined by another element in the SVG document, is used. If the paint server referenc...
Definition: d2d1svg.h:57
EXTERN_C CONST IID IID_ID2D1SvgElement
Definition: d2d1svg.h:590
Definition: d2d1svg.h:284
Represents a 3-by-2 matrix.
Definition: dcommon.h:275
GLuint index
Definition: glext.h:6671
A paint server, defined by another element in the SVG document, is used. If the paint server referenc...
Definition: d2d1svg.h:63
Flat line cap.
Definition: d2d1.h:386
A paint server, defined by another element in the SVG document, is used. If the paint server referenc...
Definition: d2d1svg.h:70
Draws a line to the coordinate (x y). Uses 2 floats of segment data.
Definition: d2d1svg.h:316
unsigned int BOOL
Definition: gctypes.h:51
Definition: d2d1svg.h:151
D2D1_SVG_ASPECT_ALIGN align
Sets the align portion of the preserveAspectRatio settings.
Definition: d2d1svg.h:562
struct D2D1_SVG_VIEWBOX D2D1_SVG_VIEWBOX
Represents an SVG viewBox.
uint32_t UINT32
Definition: coretypes.h:10
Draws a horizontal line to the coordinate (x). Uses 1 float of segment data.
Definition: d2d1svg.h:366
The alignment is set to SVG's 'xMinYMin' value.
Definition: d2d1svg.h:221
GLenum fillMode
Definition: glext.h:12635
interface ID2D1Resource ID2D1Resource
Definition: d2d1.h:3576
The property is set to SVG's 'userSpaceOnUse' value.
Definition: d2d1svg.h:420
The attribute is a string in the same form as it would appear in the SVG XML.
Definition: d2d1svg.h:444
GLuint color
Definition: glext.h:6883
Draws an elliptical arc (rx ry x-axis-rotation large-arc-flag sweep-flag x y). The curve ends at (x,...
Definition: d2d1svg.h:361
The alignment is set to SVG's 'xMinYMax' value.
Definition: d2d1svg.h:251
Definition: d2d1svg.h:176
Starts a new subpath at the coordinate (x y). Uses 2 floats of segment data.
Definition: d2d1svg.h:306
The attribute is a D2D1_MATRIX_3X2_F.
Definition: d2d1svg.h:504
Represents an SVG length.
Definition: d2d1svg.h:538
struct D2D1_SVG_PRESERVE_ASPECT_RATIO D2D1_SVG_PRESERVE_ASPECT_RATIO
Represents all SVG preserveAspectRatio settings.
The property is set to SVG's 'square' value.
Definition: d2d1svg.h:170
D2D1_FILL_MODE
Specifies how the intersecting areas of geometries or figures are combined to form the area of the co...
Definition: d2d1.h:616
BOOL defer
Sets the 'defer' portion of the preserveAspectRatio settings. This field only has an effect on an 'im...
Definition: d2d1svg.h:557
Closes the current subpath. Uses no segment data.
Definition: d2d1svg.h:301
The attribute is a D2D1_SVG_VISIBILITY.
Definition: d2d1svg.h:499
D2D1_SVG_LENGTH_UNITS
Specifies the units for an SVG length.
Definition: d2d1svg.h:79
Definition: glslang_tab.cpp:133
The alignment is set to SVG's 'xMidYMax' value.
Definition: d2d1svg.h:256
GLsizei const GLfloat * value
Definition: glext.h:6709
D2D1_SVG_UNIT_TYPE
Defines the coordinate system used for SVG gradient or clipPath elements.
Definition: d2d1svg.h:414
Draws a quadratic Bezier curve (x1 y1 x y). The curve ends at (x, y) and is defined by the control po...
Definition: d2d1svg.h:347
Bevel join.
Definition: d2d1.h:437
FLOAT value
Definition: d2d1svg.h:540
FLOAT x
Definition: d2d1svg.h:577
Scale the viewBox down as much as possible such that the entire viewport is covered by the viewBox.
Definition: d2d1svg.h:283
FLOAT height
Definition: d2d1svg.h:580
The property is set to SVG's 'butt' value.
Definition: d2d1svg.h:165
EXTERN_C CONST IID IID_ID2D1SvgPointCollection
Definition: d2d1svg.h:588
The length is unitless.
Definition: d2d1svg.h:85
Represents an SVG viewBox.
Definition: d2d1svg.h:575
The alignment is set to SVG's 'xMidYMid' value.
Definition: d2d1svg.h:241
D2D1_SVG_LENGTH_UNITS units
Definition: d2d1svg.h:541
D2D1_SVG_ASPECT_ALIGN
The alignment portion of the SVG preserveAspectRatio attribute.
Definition: d2d1svg.h:210
The alignment is set to SVG's 'xMaxYMin' value.
Definition: d2d1svg.h:231
The attribute is a D2D1_SVG_VIEWBOX.
Definition: d2d1svg.h:524
The text renderer interface represents a set of application-defined callbacks that perform rendering ...
Definition: d3d8types.h:57
A paint server, defined by another element in the SVG document, is used.
Definition: d2d1svg.h:51
D2D1_SVG_LINE_JOIN
Specifies a value for the SVG stroke-linejoin property.
Definition: d2d1svg.h:184
Scale the viewBox up as much as possible such that the entire viewBox is visible within the viewport.
Definition: d2d1svg.h:277
The element is not clipped to its viewport.
Definition: d2d1svg.h:145
D2D1_SVG_PATH_COMMAND
Represents a path commmand. Each command may reference floats from the segment data....
Definition: d2d1svg.h:295
The attribute is a D2D1_SVG_LENGTH.
Definition: d2d1svg.h:529
D2D1_SVG_LINE_CAP
Specifies a value for the SVG stroke-linecap property.
Definition: d2d1svg.h:159
The element is invisible.
Definition: d2d1svg.h:130
The property is set to SVG's 'objectBoundingBox' value.
Definition: d2d1svg.h:425