#[repr(C)]pub struct ID2D1SvgDocument {
pub lpVtbl: *const ID2D1SvgDocumentVtbl,
}
Fields§
§lpVtbl: *const ID2D1SvgDocumentVtbl
Implementations§
Source§impl ID2D1SvgDocument
impl ID2D1SvgDocument
pub unsafe fn SetViewportSize(&self, viewportSize: D2D1_SIZE_F) -> HRESULT
pub unsafe fn GetViewportSize(&self) -> D2D1_SIZE_F
pub unsafe fn SetRoot(&self, root: *mut ID2D1SvgElement) -> HRESULT
pub unsafe fn GetRoot(&self, root: *mut *mut ID2D1SvgElement)
pub unsafe fn FindElementById( &self, id: PCWSTR, svgElement: *mut *mut ID2D1SvgElement, ) -> HRESULT
pub unsafe fn Serialize( &self, outputXmlStream: *mut IStream, subtree: *mut ID2D1SvgElement, ) -> HRESULT
pub unsafe fn Deserialize( &self, inputXmlStream: *mut IStream, subtree: *mut *mut ID2D1SvgElement, ) -> HRESULT
pub unsafe fn CreatePaint( &self, paintType: D2D1_SVG_PAINT_TYPE, color: *const D2D1_COLOR_F, id: PCWSTR, paint: *mut *mut ID2D1SvgPaint, ) -> HRESULT
pub unsafe fn CreateStrokeDashArray( &self, dashes: *const D2D1_SVG_LENGTH, dashesCount: UINT32, strokeDashArray: *mut *mut ID2D1SvgStrokeDashArray, ) -> HRESULT
pub unsafe fn CreatePointCollection( &self, points: *const D2D1_POINT_2F, pountsCount: UINT32, pointCollection: *mut ID2D1SvgPointCollection, ) -> HRESULT
pub unsafe fn CreatePathData( &self, segmentData: *const FLOAT, segmentDataCount: UINT32, commands: *const D2D1_SVG_PATH_COMMAND, commandsCount: UINT32, pathData: *mut *mut ID2D1SvgPathData, ) -> HRESULT
Methods from Deref<Target = ID2D1Resource>§
pub unsafe fn GetFactory(&self, factory: *mut *mut ID2D1Factory)
Trait Implementations§
Source§impl Deref for ID2D1SvgDocument
impl Deref for ID2D1SvgDocument
Source§type Target = ID2D1Resource
type Target = ID2D1Resource
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1Resource
fn deref(&self) -> &ID2D1Resource
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1SvgDocument
impl RefUnwindSafe for ID2D1SvgDocument
impl !Send for ID2D1SvgDocument
impl !Sync for ID2D1SvgDocument
impl Unpin for ID2D1SvgDocument
impl UnwindSafe for ID2D1SvgDocument
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more