ID2D1SvgElement 接口 (d2d1svg.h)

所有 SVG 元素的接口。

继承

ID2D1SvgElement 接口继承自 ID2D1ResourceID2D1SvgElement 还具有以下类型的成员:

方法

ID2D1SvgElement 接口包含以下方法。

 
ID2D1SvgElement::AppendChild

将元素追加到子级列表。
ID2D1SvgElement::CreateChild

从标记名称创建元素。 元素将追加到子元素列表中。
ID2D1SvgElement::GetAttributeValue

以字符串形式获取此元素的属性。 (重载 2/2)
ID2D1SvgElement::GetAttributeValue

获取此元素的属性作为扩展模式值。 此方法可用于获取 spreadMethod 属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的属性作为填充模式。 此方法可用于获取填充规则或剪辑规则属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的属性作为矩阵值。 此方法可用于获取转换或 gradientTransform 属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的属性作为 POD 类型。
ID2D1SvgElement::GetAttributeValue

以字符串形式获取此元素的属性。 (重载 1/2)
ID2D1SvgElement::GetAttributeValue

获取此元素的属性作为显示值。 此方法可用于获取显示属性的值。 (重载 1/2)
ID2D1SvgElement::GetAttributeValue

获取此元素的一个属性作为长度值。
ID2D1SvgElement::GetAttributeValue

获取此元素的一个属性作为线帽值。 此方法可用于获取笔划线帽属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的特性作为线联接值。 此方法可用于获取 stroke-linejoin 属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的一个属性作为溢出值。 此方法可用于获取溢出属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的属性作为保留纵横比值。 此方法可用于获取 preserveAspectRatio 属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的特性作为单元类型值。 此方法可用于获取 gradientUnits 或 clipPathUnits 属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的属性作为可见性值。 此方法可用于获取 visibility 属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的一个属性作为浮点数。
ID2D1SvgElement::GetAttributeValue

获取此元素的属性。
ID2D1SvgElement::GetAttributeValue

获取此元素的一个属性作为画图。 此方法可用于获取填充或笔划属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的一个属性作为路径数据。 此方法可用于获取 path 元素上 d 属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的属性作为点。 此方法可用于获取多边形或折线元素上的 points 属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的属性作为笔划划线数组。 此方法可用于获取 stroke-dasharray 属性的值。
ID2D1SvgElement::GetAttributeValue

获取此元素的特性作为接口类型。
ID2D1SvgElement::GetAttributeValueLength

获取此元素的属性的字符串长度。
ID2D1SvgElement::GetDocument

获取包含此元素的文档。
ID2D1SvgElement::GetFirstChild

获取此元素的第一个子元素。
ID2D1SvgElement::GetLastChild

获取此元素的最后一个子元素。
ID2D1SvgElement::GetNextChild

获取 referenceChild 元素的下一个同级。
ID2D1SvgElement::GetParent

获取父元素。
ID2D1SvgElement::GetPreviousChild

获取 referenceChild 元素的上一个同级。
ID2D1SvgElement::GetSpecifiedAttributeCount

返回此元素上指定属性的数目。
ID2D1SvgElement::GetSpecifiedAttributeName

获取给定索引处的属性的名称。
ID2D1SvgElement::GetSpecifiedAttributeNameLength

获取给定索引处指定属性的名称的字符串长度。
ID2D1SvgElement::GetTagName

获取标记名称。
ID2D1SvgElement::GetTagNameLength

获取标记名称的字符串长度。
ID2D1SvgElement::GetTextValue

获取文本内容元素的值。
ID2D1SvgElement::GetTextValueLength

获取文本内容值的长度。
ID2D1SvgElement::HasChildren

返回一个布尔值,指示此元素是否具有子元素。
ID2D1SvgElement::InsertChildBefore

在 referenceChild 元素之前插入 newChild 作为此元素的子元素。
ID2D1SvgElement::IsAttributeSpecified

返回一个布尔值,该值指示是否在 元素上显式设置属性。
ID2D1SvgElement::IsTextContent

返回一个布尔值,指示此元素是否表示文本内容。
ID2D1SvgElement::RemoveAttribute

从此元素中删除 属性。
ID2D1SvgElement::RemoveChild

从树中删除 oldChild。 老人的孩子仍然是老人的孩子。
ID2D1SvgElement::ReplaceChild

将 oldChild 元素替换为 newChild。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为颜色。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为矩阵值。 此方法可用于设置转换或 gradientTransform 属性的值。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为长度值。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为保留纵横比值。 此方法可用于设置 preserveAspectRatio 属性的值。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为扩展模式值。 此方法可用于设置 spreadMethod 属性的值。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为填充模式。 此方法可用于设置“fill-rule”或“clip-rule”属性的值。
ID2D1SvgElement::SetAttributeValue

使用 POD 类型设置此元素的属性。
ID2D1SvgElement::SetAttributeValue

使用字符串设置此元素的属性。
ID2D1SvgElement::SetAttributeValue

获取此元素的属性作为显示值。 此方法可用于获取显示属性的值。 (重载 2/2)
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为线帽值。 此方法可用于设置笔划线帽属性的值。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为行联接值。 此方法可用于设置 stroke-linejoin 属性的值。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为溢出值。 此方法可用于设置溢出属性的值。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为单元类型值。 此方法可用于设置 gradientUnits 或 clipPathUnits 属性的值。
ID2D1SvgElement::SetAttributeValue

将此元素的属性设置为可见性值。 此方法可用于设置 visibility 属性的值。
ID2D1SvgElement::SetAttributeValue

使用 float 设置此元素的属性。
ID2D1SvgElement::SetAttributeValue

使用 接口设置此元素的属性。
ID2D1SvgElement::SetTextValue

设置文本内容元素的值。

要求

要求
目标平台 Windows
标头 d2d1svg.h