Struct windows::Win32::Graphics::Direct2D::ID2D1SvgElement
#[repr(transparent)]pub struct ID2D1SvgElement(_);
Expand description
Required features: "Win32_Graphics_Direct2D"
Implementations§
§impl ID2D1SvgElement
impl ID2D1SvgElement
pub unsafe fn GetFactory(&self, factory: *mut Option<ID2D1Factory>)
pub unsafe fn GetDocument(&self, document: Option<*mut Option<ID2D1SvgDocument>>)
pub unsafe fn GetTagName(&self, name: &mut [u16]) -> Result<()>
pub unsafe fn GetTagNameLength(&self) -> u32
pub unsafe fn IsTextContent(&self) -> BOOL
pub unsafe fn IsTextContent(&self) -> BOOL
Required features: "Win32_Foundation"
pub unsafe fn GetParent(&self, parent: Option<*mut Option<ID2D1SvgElement>>)
pub unsafe fn HasChildren(&self) -> BOOL
pub unsafe fn HasChildren(&self) -> BOOL
Required features: "Win32_Foundation"
pub unsafe fn GetFirstChild(&self, child: Option<*mut Option<ID2D1SvgElement>>)
pub unsafe fn GetLastChild(&self, child: Option<*mut Option<ID2D1SvgElement>>)
pub unsafe fn GetPreviousChild<'a, P0>(
&self,
referencechild: P0
) -> Result<ID2D1SvgElement>where
P0: Into<InParam<'a, ID2D1SvgElement>>,
pub unsafe fn GetNextChild<'a, P0>(
&self,
referencechild: P0
) -> Result<ID2D1SvgElement>where
P0: Into<InParam<'a, ID2D1SvgElement>>,
pub unsafe fn InsertChildBefore<'a, P0, P1>(
&self,
newchild: P0,
referencechild: P1
) -> Result<()>where
P0: Into<InParam<'a, ID2D1SvgElement>>,
P1: Into<InParam<'a, ID2D1SvgElement>>,
pub unsafe fn AppendChild<'a, P0>(&self, newchild: P0) -> Result<()>where
P0: Into<InParam<'a, ID2D1SvgElement>>,
pub unsafe fn ReplaceChild<'a, P0, P1>(
&self,
newchild: P0,
oldchild: P1
) -> Result<()>where
P0: Into<InParam<'a, ID2D1SvgElement>>,
P1: Into<InParam<'a, ID2D1SvgElement>>,
pub unsafe fn RemoveChild<'a, P0>(&self, oldchild: P0) -> Result<()>where
P0: Into<InParam<'a, ID2D1SvgElement>>,
pub unsafe fn CreateChild<'a, P0>(&self, tagname: P0) -> Result<ID2D1SvgElement>where
P0: Into<PCWSTR>,
pub unsafe fn IsAttributeSpecified<'a, P0>(
&self,
name: P0,
inherited: Option<*mut BOOL>
) -> BOOLwhere
P0: Into<PCWSTR>,
pub unsafe fn IsAttributeSpecified<'a, P0>(
&self,
name: P0,
inherited: Option<*mut BOOL>
) -> BOOLwhere
P0: Into<PCWSTR>,
Required features: "Win32_Foundation"
pub unsafe fn GetSpecifiedAttributeCount(&self) -> u32
pub unsafe fn GetSpecifiedAttributeName(
&self,
index: u32,
name: &mut [u16],
inherited: Option<*mut BOOL>
) -> Result<()>
pub unsafe fn GetSpecifiedAttributeName(
&self,
index: u32,
name: &mut [u16],
inherited: Option<*mut BOOL>
) -> Result<()>
Required features: "Win32_Foundation"
pub unsafe fn GetSpecifiedAttributeNameLength(
&self,
index: u32,
namelength: *mut u32,
inherited: Option<*mut BOOL>
) -> Result<()>
pub unsafe fn GetSpecifiedAttributeNameLength(
&self,
index: u32,
namelength: *mut u32,
inherited: Option<*mut BOOL>
) -> Result<()>
Required features: "Win32_Foundation"
pub unsafe fn RemoveAttribute<'a, P0>(&self, name: P0) -> Result<()>where
P0: Into<PCWSTR>,
pub unsafe fn SetTextValue(&self, name: &[u16]) -> Result<()>
pub unsafe fn GetTextValue(&self, name: &mut [u16]) -> Result<()>
pub unsafe fn GetTextValueLength(&self) -> u32
pub unsafe fn SetAttributeValue<'a, P0, P1>(
&self,
name: P0,
value: P1
) -> Result<()>where
P0: Into<PCWSTR>,
P1: Into<InParam<'a, ID2D1SvgAttribute>>,
pub unsafe fn SetAttributeValue2<'a, P0>(
&self,
name: P0,
type: D2D1_SVG_ATTRIBUTE_POD_TYPE,
value: *const c_void,
valuesizeinbytes: u32
) -> Result<()>where
P0: Into<PCWSTR>,
pub unsafe fn SetAttributeValue3<'a, P0, P1>(
&self,
name: P0,
type: D2D1_SVG_ATTRIBUTE_STRING_TYPE,
value: P1
) -> Result<()>where
P0: Into<PCWSTR>,
P1: Into<PCWSTR>,
pub unsafe fn GetAttributeValue<'a, P0, T>(
&self,
name: P0,
result__: *mut Option<T>
) -> Result<()>where
P0: Into<PCWSTR>,
T: Interface,
pub unsafe fn GetAttributeValue2<'a, P0>(
&self,
name: P0,
type: D2D1_SVG_ATTRIBUTE_POD_TYPE,
value: *mut c_void,
valuesizeinbytes: u32
) -> Result<()>where
P0: Into<PCWSTR>,
pub unsafe fn GetAttributeValue3<'a, P0>(
&self,
name: P0,
type: D2D1_SVG_ATTRIBUTE_STRING_TYPE,
value: &mut [u16]
) -> Result<()>where
P0: Into<PCWSTR>,
pub unsafe fn GetAttributeValueLength<'a, P0>(
&self,
name: P0,
type: D2D1_SVG_ATTRIBUTE_STRING_TYPE
) -> Result<u32>where
P0: Into<PCWSTR>,
Trait Implementations§
§impl Clone for ID2D1SvgElement
impl Clone for ID2D1SvgElement
§impl Debug for ID2D1SvgElement
impl Debug for ID2D1SvgElement
§impl<'a> From<&'a ID2D1SvgElement> for &'a ID2D1Resource
impl<'a> From<&'a ID2D1SvgElement> for &'a ID2D1Resource
§fn from(value: &'a ID2D1SvgElement) -> Self
fn from(value: &'a ID2D1SvgElement) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1SvgElement> for &'a IUnknown
impl<'a> From<&'a ID2D1SvgElement> for &'a IUnknown
§fn from(value: &'a ID2D1SvgElement) -> Self
fn from(value: &'a ID2D1SvgElement) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgElement> for ID2D1Resource
impl From<&ID2D1SvgElement> for ID2D1Resource
§fn from(value: &ID2D1SvgElement) -> Self
fn from(value: &ID2D1SvgElement) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgElement> for IUnknown
impl From<&ID2D1SvgElement> for IUnknown
§fn from(value: &ID2D1SvgElement) -> Self
fn from(value: &ID2D1SvgElement) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgElement> for ID2D1Resource
impl From<ID2D1SvgElement> for ID2D1Resource
§fn from(value: ID2D1SvgElement) -> Self
fn from(value: ID2D1SvgElement) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgElement> for IUnknown
impl From<ID2D1SvgElement> for IUnknown
§fn from(value: ID2D1SvgElement) -> Self
fn from(value: ID2D1SvgElement) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1SvgElement
impl Interface for ID2D1SvgElement
§impl PartialEq<ID2D1SvgElement> for ID2D1SvgElement
impl PartialEq<ID2D1SvgElement> for ID2D1SvgElement
§impl Vtable for ID2D1SvgElement
impl Vtable for ID2D1SvgElement
type Vtable = ID2D1SvgElement_Vtbl
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.