ID2D1SvgDocument interface (d2d1svg.h)

Represents an SVG document.

Inheritance

The ID2D1SvgDocument interface inherits from ID2D1Resource. ID2D1SvgDocument also has these types of members:

Methods

The ID2D1SvgDocument interface has these methods.

 
ID2D1SvgDocument::CreatePaint

Creates a paint object which can be used to set the 'fill' or 'stroke' properties. (overload 2/2)
ID2D1SvgDocument::CreatePaint

Creates a paint object which can be used to set the 'fill' or 'stroke' properties. (overload 1/2)
ID2D1SvgDocument::CreatePathData

Creates a path data object which can be used to set a 'd' attribute on a 'path' element.
ID2D1SvgDocument::CreatePointCollection

Creates a points object which can be used to set a points attribute on a polygon or polyline element.
ID2D1SvgDocument::CreateStrokeDashArray

Creates a dash array object which can be used to set the stroke-dasharray property.
ID2D1SvgDocument::Deserialize

Deserializes a subtree from the stream. The stream must have only one root element, but that root element need not be an 'svg' element. The output element is not inserted into this document tree.
ID2D1SvgDocument::FindElementById

Gets the SVG element with the specified ID.
ID2D1SvgDocument::GetRoot

Gets the root element of the document.
ID2D1SvgDocument::GetViewportSize

Returns the size of the initial viewport.
ID2D1SvgDocument::Serialize

Serializes an element and its subtree to XML. The output XML is encoded as UTF-8.
ID2D1SvgDocument::SetRoot

Sets the root element of the document.
ID2D1SvgDocument::SetViewportSize

Sets the size of the initial viewport.

Requirements

Requirement Value
Target Platform Windows
Header d2d1svg.h