Trait windows::Win32::Graphics::Direct2D::ID2D1SvgElement_Impl

pub trait ID2D1SvgElement_Impl: Sized + ID2D1Resource_Impl {
Show 30 methods // Required methods fn GetDocument(&self, document: *mut Option<ID2D1SvgDocument>); fn GetTagName(&self, name: PWSTR, namecount: u32) -> Result<()>; fn GetTagNameLength(&self) -> u32; fn IsTextContent(&self) -> BOOL; fn GetParent(&self, parent: *mut Option<ID2D1SvgElement>); fn HasChildren(&self) -> BOOL; fn GetFirstChild(&self, child: *mut Option<ID2D1SvgElement>); fn GetLastChild(&self, child: *mut Option<ID2D1SvgElement>); fn GetPreviousChild( &self, referencechild: Option<&ID2D1SvgElement>, ) -> Result<ID2D1SvgElement>; fn GetNextChild( &self, referencechild: Option<&ID2D1SvgElement>, ) -> Result<ID2D1SvgElement>; fn InsertChildBefore( &self, newchild: Option<&ID2D1SvgElement>, referencechild: Option<&ID2D1SvgElement>, ) -> Result<()>; fn AppendChild(&self, newchild: Option<&ID2D1SvgElement>) -> Result<()>; fn ReplaceChild( &self, newchild: Option<&ID2D1SvgElement>, oldchild: Option<&ID2D1SvgElement>, ) -> Result<()>; fn RemoveChild(&self, oldchild: Option<&ID2D1SvgElement>) -> Result<()>; fn CreateChild(&self, tagname: &PCWSTR) -> Result<ID2D1SvgElement>; fn IsAttributeSpecified(&self, name: &PCWSTR, inherited: *mut BOOL) -> BOOL; fn GetSpecifiedAttributeCount(&self) -> u32; fn GetSpecifiedAttributeName( &self, index: u32, name: PWSTR, namecount: u32, inherited: *mut BOOL, ) -> Result<()>; fn GetSpecifiedAttributeNameLength( &self, index: u32, namelength: *mut u32, inherited: *mut BOOL, ) -> Result<()>; fn RemoveAttribute(&self, name: &PCWSTR) -> Result<()>; fn SetTextValue(&self, name: &PCWSTR, namecount: u32) -> Result<()>; fn GetTextValue(&self, name: PWSTR, namecount: u32) -> Result<()>; fn GetTextValueLength(&self) -> u32; fn SetAttributeValue( &self, name: &PCWSTR, value: Option<&ID2D1SvgAttribute>, ) -> Result<()>; fn SetAttributeValue2( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_POD_TYPE, value: *const c_void, valuesizeinbytes: u32, ) -> Result<()>; fn SetAttributeValue3( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_STRING_TYPE, value: &PCWSTR, ) -> Result<()>; fn GetAttributeValue( &self, name: &PCWSTR, riid: *const GUID, value: *mut *mut c_void, ) -> Result<()>; fn GetAttributeValue2( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_POD_TYPE, value: *mut c_void, valuesizeinbytes: u32, ) -> Result<()>; fn GetAttributeValue3( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_STRING_TYPE, value: PWSTR, valuecount: u32, ) -> Result<()>; fn GetAttributeValueLength( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_STRING_TYPE, ) -> Result<u32>;
}

Required Methods§

fn GetDocument(&self, document: *mut Option<ID2D1SvgDocument>)

fn GetTagName(&self, name: PWSTR, namecount: u32) -> Result<()>

fn GetTagNameLength(&self) -> u32

fn IsTextContent(&self) -> BOOL

fn GetParent(&self, parent: *mut Option<ID2D1SvgElement>)

fn HasChildren(&self) -> BOOL

fn GetFirstChild(&self, child: *mut Option<ID2D1SvgElement>)

fn GetLastChild(&self, child: *mut Option<ID2D1SvgElement>)

fn GetPreviousChild( &self, referencechild: Option<&ID2D1SvgElement>, ) -> Result<ID2D1SvgElement>

fn GetNextChild( &self, referencechild: Option<&ID2D1SvgElement>, ) -> Result<ID2D1SvgElement>

fn InsertChildBefore( &self, newchild: Option<&ID2D1SvgElement>, referencechild: Option<&ID2D1SvgElement>, ) -> Result<()>

fn AppendChild(&self, newchild: Option<&ID2D1SvgElement>) -> Result<()>

fn ReplaceChild( &self, newchild: Option<&ID2D1SvgElement>, oldchild: Option<&ID2D1SvgElement>, ) -> Result<()>

fn RemoveChild(&self, oldchild: Option<&ID2D1SvgElement>) -> Result<()>

fn CreateChild(&self, tagname: &PCWSTR) -> Result<ID2D1SvgElement>

fn IsAttributeSpecified(&self, name: &PCWSTR, inherited: *mut BOOL) -> BOOL

fn GetSpecifiedAttributeCount(&self) -> u32

fn GetSpecifiedAttributeName( &self, index: u32, name: PWSTR, namecount: u32, inherited: *mut BOOL, ) -> Result<()>

fn GetSpecifiedAttributeNameLength( &self, index: u32, namelength: *mut u32, inherited: *mut BOOL, ) -> Result<()>

fn RemoveAttribute(&self, name: &PCWSTR) -> Result<()>

fn SetTextValue(&self, name: &PCWSTR, namecount: u32) -> Result<()>

fn GetTextValue(&self, name: PWSTR, namecount: u32) -> Result<()>

fn GetTextValueLength(&self) -> u32

fn SetAttributeValue( &self, name: &PCWSTR, value: Option<&ID2D1SvgAttribute>, ) -> Result<()>

fn SetAttributeValue2( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_POD_TYPE, value: *const c_void, valuesizeinbytes: u32, ) -> Result<()>

fn SetAttributeValue3( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_STRING_TYPE, value: &PCWSTR, ) -> Result<()>

fn GetAttributeValue( &self, name: &PCWSTR, riid: *const GUID, value: *mut *mut c_void, ) -> Result<()>

fn GetAttributeValue2( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_POD_TYPE, value: *mut c_void, valuesizeinbytes: u32, ) -> Result<()>

fn GetAttributeValue3( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_STRING_TYPE, value: PWSTR, valuecount: u32, ) -> Result<()>

fn GetAttributeValueLength( &self, name: &PCWSTR, type: D2D1_SVG_ATTRIBUTE_STRING_TYPE, ) -> Result<u32>

Object Safety§

This trait is not object safe.

Implementors§