RetroArch
Classes | Macros | Typedefs | Enumerations | Variables
d2d1svg.h File Reference
#include <d2d1_2.h>
Include dependency graph for d2d1svg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  D2D1_SVG_LENGTH
 Represents an SVG length. More...
 
struct  D2D1_SVG_PRESERVE_ASPECT_RATIO
 Represents all SVG preserveAspectRatio settings. More...
 
struct  D2D1_SVG_VIEWBOX
 Represents an SVG viewBox. More...
 

Macros

#define _D2D1_SVG_
 

Typedefs

typedef interface ID2D1SvgDocument ID2D1SvgDocument
 
typedef interface ID2D1SvgElement ID2D1SvgElement
 
typedef enum D2D1_SVG_PAINT_TYPE D2D1_SVG_PAINT_TYPE
 Specifies the paint type for an SVG fill or stroke. More...
 
typedef enum D2D1_SVG_LENGTH_UNITS D2D1_SVG_LENGTH_UNITS
 Specifies the units for an SVG length. More...
 
typedef enum D2D1_SVG_DISPLAY D2D1_SVG_DISPLAY
 Specifies a value for the SVG display property. More...
 
typedef enum D2D1_SVG_VISIBILITY D2D1_SVG_VISIBILITY
 Specifies a value for the SVG visibility property. More...
 
typedef enum D2D1_SVG_OVERFLOW D2D1_SVG_OVERFLOW
 Specifies a value for the SVG overflow property. More...
 
typedef enum D2D1_SVG_LINE_CAP D2D1_SVG_LINE_CAP
 Specifies a value for the SVG stroke-linecap property. More...
 
typedef enum D2D1_SVG_LINE_JOIN D2D1_SVG_LINE_JOIN
 Specifies a value for the SVG stroke-linejoin property. More...
 
typedef enum D2D1_SVG_ASPECT_ALIGN D2D1_SVG_ASPECT_ALIGN
 The alignment portion of the SVG preserveAspectRatio attribute. More...
 
typedef enum D2D1_SVG_ASPECT_SCALING D2D1_SVG_ASPECT_SCALING
 The meetOrSlice portion of the SVG preserveAspectRatio attribute. More...
 
typedef enum D2D1_SVG_PATH_COMMAND D2D1_SVG_PATH_COMMAND
 Represents a path commmand. Each command may reference floats from the segment data. Commands ending in _ABSOLUTE interpret data as absolute coordinate. Commands ending in _RELATIVE interpret data as being relative to the previous point. More...
 
typedef enum D2D1_SVG_UNIT_TYPE D2D1_SVG_UNIT_TYPE
 Defines the coordinate system used for SVG gradient or clipPath elements. More...
 
typedef enum D2D1_SVG_ATTRIBUTE_STRING_TYPE D2D1_SVG_ATTRIBUTE_STRING_TYPE
 Defines the type of SVG string attribute to set or get. More...
 
typedef enum D2D1_SVG_ATTRIBUTE_POD_TYPE D2D1_SVG_ATTRIBUTE_POD_TYPE
 Defines the type of SVG POD attribute to set or get. More...
 
typedef struct D2D1_SVG_LENGTH D2D1_SVG_LENGTH
 Represents an SVG length. More...
 
typedef struct D2D1_SVG_PRESERVE_ASPECT_RATIO D2D1_SVG_PRESERVE_ASPECT_RATIO
 Represents all SVG preserveAspectRatio settings. More...
 
typedef struct D2D1_SVG_VIEWBOX D2D1_SVG_VIEWBOX
 Represents an SVG viewBox. More...
 

Enumerations

enum  D2D1_SVG_PAINT_TYPE {
  D2D1_SVG_PAINT_TYPE_NONE = 0, D2D1_SVG_PAINT_TYPE_COLOR = 1, D2D1_SVG_PAINT_TYPE_CURRENT_COLOR = 2, D2D1_SVG_PAINT_TYPE_URI = 3,
  D2D1_SVG_PAINT_TYPE_URI_NONE = 4, D2D1_SVG_PAINT_TYPE_URI_COLOR = 5, D2D1_SVG_PAINT_TYPE_URI_CURRENT_COLOR = 6, D2D1_SVG_PAINT_TYPE_FORCE_DWORD = 0xffffffff
}
 Specifies the paint type for an SVG fill or stroke. More...
 
enum  D2D1_SVG_LENGTH_UNITS { D2D1_SVG_LENGTH_UNITS_NUMBER = 0, D2D1_SVG_LENGTH_UNITS_PERCENTAGE = 1, D2D1_SVG_LENGTH_UNITS_FORCE_DWORD = 0xffffffff }
 Specifies the units for an SVG length. More...
 
enum  D2D1_SVG_DISPLAY { D2D1_SVG_DISPLAY_INLINE = 0, D2D1_SVG_DISPLAY_NONE = 1, D2D1_SVG_DISPLAY_FORCE_DWORD = 0xffffffff }
 Specifies a value for the SVG display property. More...
 
enum  D2D1_SVG_VISIBILITY { D2D1_SVG_VISIBILITY_VISIBLE = 0, D2D1_SVG_VISIBILITY_HIDDEN = 1, D2D1_SVG_VISIBILITY_FORCE_DWORD = 0xffffffff }
 Specifies a value for the SVG visibility property. More...
 
enum  D2D1_SVG_OVERFLOW { D2D1_SVG_OVERFLOW_VISIBLE = 0, D2D1_SVG_OVERFLOW_HIDDEN = 1, D2D1_SVG_OVERFLOW_FORCE_DWORD = 0xffffffff }
 Specifies a value for the SVG overflow property. More...
 
enum  D2D1_SVG_LINE_CAP { D2D1_SVG_LINE_CAP_BUTT = D2D1_CAP_STYLE_FLAT, D2D1_SVG_LINE_CAP_SQUARE = D2D1_CAP_STYLE_SQUARE, D2D1_SVG_LINE_CAP_ROUND = D2D1_CAP_STYLE_ROUND, D2D1_SVG_LINE_CAP_FORCE_DWORD = 0xffffffff }
 Specifies a value for the SVG stroke-linecap property. More...
 
enum  D2D1_SVG_LINE_JOIN { D2D1_SVG_LINE_JOIN_BEVEL = D2D1_LINE_JOIN_BEVEL, D2D1_SVG_LINE_JOIN_MITER = D2D1_LINE_JOIN_MITER_OR_BEVEL, D2D1_SVG_LINE_JOIN_ROUND = D2D1_LINE_JOIN_ROUND, D2D1_SVG_LINE_JOIN_FORCE_DWORD = 0xffffffff }
 Specifies a value for the SVG stroke-linejoin property. More...
 
enum  D2D1_SVG_ASPECT_ALIGN {
  D2D1_SVG_ASPECT_ALIGN_NONE = 0, D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN = 1, D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN = 2, D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN = 3,
  D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID = 4, D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID = 5, D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID = 6, D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX = 7,
  D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX = 8, D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX = 9, D2D1_SVG_ASPECT_ALIGN_FORCE_DWORD = 0xffffffff
}
 The alignment portion of the SVG preserveAspectRatio attribute. More...
 
enum  D2D1_SVG_ASPECT_SCALING { D2D1_SVG_ASPECT_SCALING_MEET = 0, D2D1_SVG_ASPECT_SCALING_SLICE = 1, D2D1_SVG_ASPECT_SCALING_FORCE_DWORD = 0xffffffff }
 The meetOrSlice portion of the SVG preserveAspectRatio attribute. More...
 
enum  D2D1_SVG_PATH_COMMAND {
  D2D1_SVG_PATH_COMMAND_CLOSE_PATH = 0, D2D1_SVG_PATH_COMMAND_MOVE_ABSOLUTE = 1, D2D1_SVG_PATH_COMMAND_MOVE_RELATIVE = 2, D2D1_SVG_PATH_COMMAND_LINE_ABSOLUTE = 3,
  D2D1_SVG_PATH_COMMAND_LINE_RELATIVE = 4, D2D1_SVG_PATH_COMMAND_CUBIC_ABSOLUTE = 5, D2D1_SVG_PATH_COMMAND_CUBIC_RELATIVE = 6, D2D1_SVG_PATH_COMMAND_QUADRADIC_ABSOLUTE = 7,
  D2D1_SVG_PATH_COMMAND_QUADRADIC_RELATIVE = 8, D2D1_SVG_PATH_COMMAND_ARC_ABSOLUTE = 9, D2D1_SVG_PATH_COMMAND_ARC_RELATIVE = 10, D2D1_SVG_PATH_COMMAND_HORIZONTAL_ABSOLUTE = 11,
  D2D1_SVG_PATH_COMMAND_HORIZONTAL_RELATIVE = 12, D2D1_SVG_PATH_COMMAND_VERTICAL_ABSOLUTE = 13, D2D1_SVG_PATH_COMMAND_VERTICAL_RELATIVE = 14, D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_ABSOLUTE = 15,
  D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_RELATIVE = 16, D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_ABSOLUTE = 17, D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_RELATIVE = 18, D2D1_SVG_PATH_COMMAND_FORCE_DWORD = 0xffffffff
}
 Represents a path commmand. Each command may reference floats from the segment data. Commands ending in _ABSOLUTE interpret data as absolute coordinate. Commands ending in _RELATIVE interpret data as being relative to the previous point. More...
 
enum  D2D1_SVG_UNIT_TYPE { D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE = 0, D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX = 1, D2D1_SVG_UNIT_TYPE_FORCE_DWORD = 0xffffffff }
 Defines the coordinate system used for SVG gradient or clipPath elements. More...
 
enum  D2D1_SVG_ATTRIBUTE_STRING_TYPE { D2D1_SVG_ATTRIBUTE_STRING_TYPE_SVG = 0, D2D1_SVG_ATTRIBUTE_STRING_TYPE_ID = 1, D2D1_SVG_ATTRIBUTE_STRING_TYPE_FORCE_DWORD = 0xffffffff }
 Defines the type of SVG string attribute to set or get. More...
 
enum  D2D1_SVG_ATTRIBUTE_POD_TYPE {
  D2D1_SVG_ATTRIBUTE_POD_TYPE_FLOAT = 0, D2D1_SVG_ATTRIBUTE_POD_TYPE_COLOR = 1, D2D1_SVG_ATTRIBUTE_POD_TYPE_FILL_MODE = 2, D2D1_SVG_ATTRIBUTE_POD_TYPE_DISPLAY = 3,
  D2D1_SVG_ATTRIBUTE_POD_TYPE_OVERFLOW = 4, D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_CAP = 5, D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_JOIN = 6, D2D1_SVG_ATTRIBUTE_POD_TYPE_VISIBILITY = 7,
  D2D1_SVG_ATTRIBUTE_POD_TYPE_MATRIX = 8, D2D1_SVG_ATTRIBUTE_POD_TYPE_UNIT_TYPE = 9, D2D1_SVG_ATTRIBUTE_POD_TYPE_EXTEND_MODE = 10, D2D1_SVG_ATTRIBUTE_POD_TYPE_PRESERVE_ASPECT_RATIO = 11,
  D2D1_SVG_ATTRIBUTE_POD_TYPE_VIEWBOX = 12, D2D1_SVG_ATTRIBUTE_POD_TYPE_LENGTH = 13, D2D1_SVG_ATTRIBUTE_POD_TYPE_FORCE_DWORD = 0xffffffff
}
 Defines the type of SVG POD attribute to set or get. More...
 

Variables

EXTERN_C CONST IID IID_ID2D1SvgAttribute
 
EXTERN_C CONST IID IID_ID2D1SvgPaint
 
EXTERN_C CONST IID IID_ID2D1SvgStrokeDashArray
 
EXTERN_C CONST IID IID_ID2D1SvgPointCollection
 
EXTERN_C CONST IID IID_ID2D1SvgPathData
 
EXTERN_C CONST IID IID_ID2D1SvgElement
 
EXTERN_C CONST IID IID_ID2D1SvgDocument
 

Macro Definition Documentation

◆ _D2D1_SVG_

#define _D2D1_SVG_

Typedef Documentation

◆ D2D1_SVG_ASPECT_ALIGN

The alignment portion of the SVG preserveAspectRatio attribute.

◆ D2D1_SVG_ASPECT_SCALING

The meetOrSlice portion of the SVG preserveAspectRatio attribute.

◆ D2D1_SVG_ATTRIBUTE_POD_TYPE

Defines the type of SVG POD attribute to set or get.

◆ D2D1_SVG_ATTRIBUTE_STRING_TYPE

Defines the type of SVG string attribute to set or get.

◆ D2D1_SVG_DISPLAY

Specifies a value for the SVG display property.

◆ D2D1_SVG_LENGTH

Represents an SVG length.

◆ D2D1_SVG_LENGTH_UNITS

Specifies the units for an SVG length.

◆ D2D1_SVG_LINE_CAP

Specifies a value for the SVG stroke-linecap property.

◆ D2D1_SVG_LINE_JOIN

Specifies a value for the SVG stroke-linejoin property.

◆ D2D1_SVG_OVERFLOW

Specifies a value for the SVG overflow property.

◆ D2D1_SVG_PAINT_TYPE

Specifies the paint type for an SVG fill or stroke.

◆ D2D1_SVG_PATH_COMMAND

Represents a path commmand. Each command may reference floats from the segment data. Commands ending in _ABSOLUTE interpret data as absolute coordinate. Commands ending in _RELATIVE interpret data as being relative to the previous point.

◆ D2D1_SVG_PRESERVE_ASPECT_RATIO

Represents all SVG preserveAspectRatio settings.

◆ D2D1_SVG_UNIT_TYPE

Defines the coordinate system used for SVG gradient or clipPath elements.

◆ D2D1_SVG_VIEWBOX

Represents an SVG viewBox.

◆ D2D1_SVG_VISIBILITY

Specifies a value for the SVG visibility property.

◆ ID2D1SvgDocument

◆ ID2D1SvgElement

typedef interface ID2D1SvgElement ID2D1SvgElement

Enumeration Type Documentation

◆ D2D1_SVG_ASPECT_ALIGN

The alignment portion of the SVG preserveAspectRatio attribute.

Enumerator
D2D1_SVG_ASPECT_ALIGN_NONE 

The alignment is set to SVG's 'none' value.

D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN 

The alignment is set to SVG's 'xMinYMin' value.

D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN 

The alignment is set to SVG's 'xMidYMin' value.

D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN 

The alignment is set to SVG's 'xMaxYMin' value.

D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID 

The alignment is set to SVG's 'xMinYMid' value.

D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID 

The alignment is set to SVG's 'xMidYMid' value.

D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID 

The alignment is set to SVG's 'xMaxYMid' value.

D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX 

The alignment is set to SVG's 'xMinYMax' value.

D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX 

The alignment is set to SVG's 'xMidYMax' value.

D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX 

The alignment is set to SVG's 'xMaxYMax' value.

D2D1_SVG_ASPECT_ALIGN_FORCE_DWORD 

◆ D2D1_SVG_ASPECT_SCALING

The meetOrSlice portion of the SVG preserveAspectRatio attribute.

Enumerator
D2D1_SVG_ASPECT_SCALING_MEET 

Scale the viewBox up as much as possible such that the entire viewBox is visible within the viewport.

D2D1_SVG_ASPECT_SCALING_SLICE 

Scale the viewBox down as much as possible such that the entire viewport is covered by the viewBox.

D2D1_SVG_ASPECT_SCALING_FORCE_DWORD 

◆ D2D1_SVG_ATTRIBUTE_POD_TYPE

Defines the type of SVG POD attribute to set or get.

Enumerator
D2D1_SVG_ATTRIBUTE_POD_TYPE_FLOAT 

The attribute is a FLOAT.

D2D1_SVG_ATTRIBUTE_POD_TYPE_COLOR 

The attribute is a D2D1_COLOR_F.

D2D1_SVG_ATTRIBUTE_POD_TYPE_FILL_MODE 

The attribute is a D2D1_FILL_MODE.

D2D1_SVG_ATTRIBUTE_POD_TYPE_DISPLAY 

The attribute is a D2D1_SVG_DISPLAY.

D2D1_SVG_ATTRIBUTE_POD_TYPE_OVERFLOW 

The attribute is a D2D1_SVG_OVERFLOW.

D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_CAP 

The attribute is a D2D1_SVG_LINE_CAP.

D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_JOIN 

The attribute is a D2D1_SVG_LINE_JOIN.

D2D1_SVG_ATTRIBUTE_POD_TYPE_VISIBILITY 

The attribute is a D2D1_SVG_VISIBILITY.

D2D1_SVG_ATTRIBUTE_POD_TYPE_MATRIX 

The attribute is a D2D1_MATRIX_3X2_F.

D2D1_SVG_ATTRIBUTE_POD_TYPE_UNIT_TYPE 

The attribute is a D2D1_SVG_UNIT_TYPE.

D2D1_SVG_ATTRIBUTE_POD_TYPE_EXTEND_MODE 

The attribute is a D2D1_EXTEND_MODE.

D2D1_SVG_ATTRIBUTE_POD_TYPE_PRESERVE_ASPECT_RATIO 

The attribute is a D2D1_SVG_PRESERVE_ASPECT_RATIO.

D2D1_SVG_ATTRIBUTE_POD_TYPE_VIEWBOX 

The attribute is a D2D1_SVG_VIEWBOX.

D2D1_SVG_ATTRIBUTE_POD_TYPE_LENGTH 

The attribute is a D2D1_SVG_LENGTH.

D2D1_SVG_ATTRIBUTE_POD_TYPE_FORCE_DWORD 

◆ D2D1_SVG_ATTRIBUTE_STRING_TYPE

Defines the type of SVG string attribute to set or get.

Enumerator
D2D1_SVG_ATTRIBUTE_STRING_TYPE_SVG 

The attribute is a string in the same form as it would appear in the SVG XML.


Note that when getting values of this type, the value returned may not exactly match the value that was set. Instead, the output value is a normalized version of the value. For example, an input color of 'red' may be output as '#FF0000'.

D2D1_SVG_ATTRIBUTE_STRING_TYPE_ID 

The attribute is an element ID.

D2D1_SVG_ATTRIBUTE_STRING_TYPE_FORCE_DWORD 

◆ D2D1_SVG_DISPLAY

Specifies a value for the SVG display property.

Enumerator
D2D1_SVG_DISPLAY_INLINE 

The element uses the default display behavior.

D2D1_SVG_DISPLAY_NONE 

The element and all children are not rendered directly.

D2D1_SVG_DISPLAY_FORCE_DWORD 

◆ D2D1_SVG_LENGTH_UNITS

Specifies the units for an SVG length.

Enumerator
D2D1_SVG_LENGTH_UNITS_NUMBER 

The length is unitless.

D2D1_SVG_LENGTH_UNITS_PERCENTAGE 

The length is a percentage value.

D2D1_SVG_LENGTH_UNITS_FORCE_DWORD 

◆ D2D1_SVG_LINE_CAP

Specifies a value for the SVG stroke-linecap property.

Enumerator
D2D1_SVG_LINE_CAP_BUTT 

The property is set to SVG's 'butt' value.

D2D1_SVG_LINE_CAP_SQUARE 

The property is set to SVG's 'square' value.

D2D1_SVG_LINE_CAP_ROUND 

The property is set to SVG's 'round' value.

D2D1_SVG_LINE_CAP_FORCE_DWORD 

◆ D2D1_SVG_LINE_JOIN

Specifies a value for the SVG stroke-linejoin property.

Enumerator
D2D1_SVG_LINE_JOIN_BEVEL 

The property is set to SVG's 'bevel' value.

D2D1_SVG_LINE_JOIN_MITER 

The property is set to SVG's 'miter' value. Note that this is equivalent to D2D1_LINE_JOIN_MITER_OR_BEVEL, not D2D1_LINE_JOIN_MITER.

D2D1_SVG_LINE_JOIN_ROUND 

\ The property is set to SVG's 'round' value.

D2D1_SVG_LINE_JOIN_FORCE_DWORD 

◆ D2D1_SVG_OVERFLOW

Specifies a value for the SVG overflow property.

Enumerator
D2D1_SVG_OVERFLOW_VISIBLE 

The element is not clipped to its viewport.

D2D1_SVG_OVERFLOW_HIDDEN 

The element is clipped to its viewport.

D2D1_SVG_OVERFLOW_FORCE_DWORD 

◆ D2D1_SVG_PAINT_TYPE

Specifies the paint type for an SVG fill or stroke.

Enumerator
D2D1_SVG_PAINT_TYPE_NONE 

The fill or stroke is not rendered.

D2D1_SVG_PAINT_TYPE_COLOR 

A solid color is rendered.

D2D1_SVG_PAINT_TYPE_CURRENT_COLOR 

The current color is rendered.

D2D1_SVG_PAINT_TYPE_URI 

A paint server, defined by another element in the SVG document, is used.

D2D1_SVG_PAINT_TYPE_URI_NONE 

A paint server, defined by another element in the SVG document, is used. If the paint server reference is invalid, fall back to D2D1_SVG_PAINT_TYPE_NONE.

D2D1_SVG_PAINT_TYPE_URI_COLOR 

A paint server, defined by another element in the SVG document, is used. If the paint server reference is invalid, fall back to D2D1_SVG_PAINT_TYPE_COLOR.

D2D1_SVG_PAINT_TYPE_URI_CURRENT_COLOR 

A paint server, defined by another element in the SVG document, is used. If the paint server reference is invalid, fall back to D2D1_SVG_PAINT_TYPE_CURRENT_COLOR.

D2D1_SVG_PAINT_TYPE_FORCE_DWORD 

◆ D2D1_SVG_PATH_COMMAND

Represents a path commmand. Each command may reference floats from the segment data. Commands ending in _ABSOLUTE interpret data as absolute coordinate. Commands ending in _RELATIVE interpret data as being relative to the previous point.

Enumerator
D2D1_SVG_PATH_COMMAND_CLOSE_PATH 

Closes the current subpath. Uses no segment data.

D2D1_SVG_PATH_COMMAND_MOVE_ABSOLUTE 

Starts a new subpath at the coordinate (x y). Uses 2 floats of segment data.

D2D1_SVG_PATH_COMMAND_MOVE_RELATIVE 

Starts a new subpath at the coordinate (x y). Uses 2 floats of segment data.

D2D1_SVG_PATH_COMMAND_LINE_ABSOLUTE 

Draws a line to the coordinate (x y). Uses 2 floats of segment data.

D2D1_SVG_PATH_COMMAND_LINE_RELATIVE 

Draws a line to the coordinate (x y). Uses 2 floats of segment data.

D2D1_SVG_PATH_COMMAND_CUBIC_ABSOLUTE 

Draws a cubic Bezier curve (x1 y1 x2 y2 x y). The curve ends at (x, y) and is defined by the two control points (x1, y1) and (x2, y2). Uses 6 floats of segment data.

D2D1_SVG_PATH_COMMAND_CUBIC_RELATIVE 

Draws a cubic Bezier curve (x1 y1 x2 y2 x y). The curve ends at (x, y) and is defined by the two control points (x1, y1) and (x2, y2). Uses 6 floats of segment data.

D2D1_SVG_PATH_COMMAND_QUADRADIC_ABSOLUTE 

Draws a quadratic Bezier curve (x1 y1 x y). The curve ends at (x, y) and is defined by the control point (x1 y1). Uses 4 floats of segment data.

D2D1_SVG_PATH_COMMAND_QUADRADIC_RELATIVE 

Draws a quadratic Bezier curve (x1 y1 x y). The curve ends at (x, y) and is defined by the control point (x1 y1). Uses 4 floats of segment data.

D2D1_SVG_PATH_COMMAND_ARC_ABSOLUTE 

Draws an elliptical arc (rx ry x-axis-rotation large-arc-flag sweep-flag x y). The curve ends at (x, y) and is defined by the arc parameters. The two flags are considered set if their values are non-zero. Uses 7 floats of segment data.

D2D1_SVG_PATH_COMMAND_ARC_RELATIVE 

Draws an elliptical arc (rx ry x-axis-rotation large-arc-flag sweep-flag x y). The curve ends at (x, y) and is defined by the arc parameters. The two flags are considered set if their values are non-zero. Uses 7 floats of segment data.

D2D1_SVG_PATH_COMMAND_HORIZONTAL_ABSOLUTE 

Draws a horizontal line to the coordinate (x). Uses 1 float of segment data.

D2D1_SVG_PATH_COMMAND_HORIZONTAL_RELATIVE 

Draws a horizontal line to the coordinate (x). Uses 1 float of segment data.

D2D1_SVG_PATH_COMMAND_VERTICAL_ABSOLUTE 

Draws a vertical line to the coordinate (y). Uses 1 float of segment data.

D2D1_SVG_PATH_COMMAND_VERTICAL_RELATIVE 

Draws a vertical line to the coordinate (y). Uses 1 float of segment data.

D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_ABSOLUTE 

Draws a smooth cubic Bezier curve (x2 y2 x y). The curve ends at (x, y) and is defined by the control point (x2, y2). Uses 4 floats of segment data.

D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_RELATIVE 

Draws a smooth cubic Bezier curve (x2 y2 x y). The curve ends at (x, y) and is defined by the control point (x2, y2). Uses 4 floats of segment data.

D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_ABSOLUTE 

Draws a smooth quadratic Bezier curve ending at (x, y). Uses 2 floats of segment data.

D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_RELATIVE 

Draws a smooth quadratic Bezier curve ending at (x, y). Uses 2 floats of segment data.

D2D1_SVG_PATH_COMMAND_FORCE_DWORD 

◆ D2D1_SVG_UNIT_TYPE

Defines the coordinate system used for SVG gradient or clipPath elements.

Enumerator
D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE 

The property is set to SVG's 'userSpaceOnUse' value.

D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX 

The property is set to SVG's 'objectBoundingBox' value.

D2D1_SVG_UNIT_TYPE_FORCE_DWORD 

◆ D2D1_SVG_VISIBILITY

Specifies a value for the SVG visibility property.

Enumerator
D2D1_SVG_VISIBILITY_VISIBLE 

The element is visible.

D2D1_SVG_VISIBILITY_HIDDEN 

The element is invisible.

D2D1_SVG_VISIBILITY_FORCE_DWORD 

Variable Documentation

◆ IID_ID2D1SvgAttribute

EXTERN_C CONST IID IID_ID2D1SvgAttribute

◆ IID_ID2D1SvgDocument

EXTERN_C CONST IID IID_ID2D1SvgDocument

◆ IID_ID2D1SvgElement

EXTERN_C CONST IID IID_ID2D1SvgElement

◆ IID_ID2D1SvgPaint

EXTERN_C CONST IID IID_ID2D1SvgPaint

◆ IID_ID2D1SvgPathData

EXTERN_C CONST IID IID_ID2D1SvgPathData

◆ IID_ID2D1SvgPointCollection

EXTERN_C CONST IID IID_ID2D1SvgPointCollection

◆ IID_ID2D1SvgStrokeDashArray

EXTERN_C CONST IID IID_ID2D1SvgStrokeDashArray