ID2D1SvgElement interface (d2d1svg.h)

Interface for all SVG elements.

Inheritance

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

Methods

The ID2D1SvgElement interface has these methods.

 
ID2D1SvgElement::AppendChild

Appends an element to the list of children.
ID2D1SvgElement::CreateChild

Creates an element from a tag name. The element is appended to the list of children.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a string. (overload 2/2)
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a extend mode value. This method can be used to get the value of a spreadMethod attribute.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a fill mode. This method can be used to get the value of the fill-rule or clip-rule properties.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a matrix value. This method can be used to get the value of a transform or gradientTransform attribute.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a POD type.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a string. (overload 1/2)
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a display value. This method can be used to get the value of the display property. (overload 1/2)
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a length value.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a line cap value. This method can be used to get the value of the stroke-linecap property.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a line join value. This method can be used to get the value of the stroke-linejoin property.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as an overflow value. This method can be used to get the value of the overflow property.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a preserve aspect ratio value. This method can be used to get the value of a preserveAspectRatio attribute.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a unit type value. This method can be used to get the value of a gradientUnits or clipPathUnits attribute.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a visibility value. This method can be used to get the value of the visibility property.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a float.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a paint. This method can be used to get the value of the fill or stroke properties.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as path data. This method can be used to get the value of the d attribute on a path element.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as points. This method can be used to get the value of the points attribute on a polygon or polyline element.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as a stroke dash array. This method can be used to get the value of the stroke-dasharray property.
ID2D1SvgElement::GetAttributeValue

Gets an attribute of this element as an interface type.
ID2D1SvgElement::GetAttributeValueLength

Gets the string length of an attribute of this element.
ID2D1SvgElement::GetDocument

Gets the document that contains this element.
ID2D1SvgElement::GetFirstChild

Gets the first child of this element.
ID2D1SvgElement::GetLastChild

Gets the last child of this element.
ID2D1SvgElement::GetNextChild

Gets the next sibling of the referenceChild element.
ID2D1SvgElement::GetParent

Gets the parent element.
ID2D1SvgElement::GetPreviousChild

Gets the previous sibling of the referenceChild element.
ID2D1SvgElement::GetSpecifiedAttributeCount

Returns the number of specified attributes on this element.
ID2D1SvgElement::GetSpecifiedAttributeName

Gets the name of the attribute at the given index.
ID2D1SvgElement::GetSpecifiedAttributeNameLength

Gets the string length of the name of the specified attribute at the given index.
ID2D1SvgElement::GetTagName

Gets the tag name.
ID2D1SvgElement::GetTagNameLength

Gets the string length of the tag name.
ID2D1SvgElement::GetTextValue

Gets the value of a text content element.
ID2D1SvgElement::GetTextValueLength

Gets the length of the text content value.
ID2D1SvgElement::HasChildren

Returns a boolean indicating whether this element has children.
ID2D1SvgElement::InsertChildBefore

Inserts newChild as a child of this element, before the referenceChild element.
ID2D1SvgElement::IsAttributeSpecified

Returns a boolean indicating if the attribute is explicitly set on the element.
ID2D1SvgElement::IsTextContent

Returns a boolean indicating whether this element represents text content.
ID2D1SvgElement::RemoveAttribute

Removes the attribute from this element.
ID2D1SvgElement::RemoveChild

Removes the oldChild from the tree. Children of oldChild remain children of oldChild.
ID2D1SvgElement::ReplaceChild

Replaces the oldChild element with the newChild.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as a color.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as a matrix value. This method can be used to set the value of a transform or gradientTransform attribute.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as a length value.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as a preserve aspect ratio value. This method can be used to set the value of a preserveAspectRatio attribute.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as an extend mode value. This method can be used to set the value of a spreadMethod attribute.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as a fill mode. This method can be used to set the value of the 'fill-rule' or 'clip-rule' properties.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element using a POD type.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element using a string.
ID2D1SvgElement::SetAttributeValue

Gets an attribute of this element as a display value. This method can be used to get the value of the display property. (overload 2/2)
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as a line cap value. This method can be used to set the value of the stroke-linecap property.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as a line join value. This method can be used to set the value of the stroke-linejoin property.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as an overflow value. This method can be used to set the value of the overflow property.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as a unit type value. This method can be used to set the value of a gradientUnits or clipPathUnits attribute.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element as a visibility value. This method can be used to set the value of the visibility property.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element using a float.
ID2D1SvgElement::SetAttributeValue

Sets an attribute of this element using an interface.
ID2D1SvgElement::SetTextValue

Sets the value of a text content element.

Requirements

Requirement Value
Target Platform Windows
Header d2d1svg.h