[][src]Struct winapi::um::d2d1svg::ID2D1SvgDocument

#[repr(C)]
pub struct ID2D1SvgDocument { pub lpVtbl: *const ID2D1SvgDocumentVtbl, }

Fields

lpVtbl: *const ID2D1SvgDocumentVtbl

Methods

impl ID2D1SvgDocument[src]

pub unsafe fn SetViewportSize(&self, viewportSize: D2D1_SIZE_F) -> HRESULT[src]

pub unsafe fn GetViewportSize(&self) -> D2D1_SIZE_F[src]

pub unsafe fn SetRoot(&self, root: *mut ID2D1SvgElement) -> HRESULT[src]

pub unsafe fn GetRoot(&self, root: *mut *mut ID2D1SvgElement)[src]

pub unsafe fn FindElementById(
    &self,
    id: PCWSTR,
    svgElement: *mut *mut ID2D1SvgElement
) -> HRESULT
[src]

pub unsafe fn Serialize(
    &self,
    outputXmlStream: *mut IStream,
    subtree: *mut ID2D1SvgElement
) -> HRESULT
[src]

pub unsafe fn Deserialize(
    &self,
    inputXmlStream: *mut IStream,
    subtree: *mut *mut ID2D1SvgElement
) -> HRESULT
[src]

pub unsafe fn CreatePaint(
    &self,
    paintType: D2D1_SVG_PAINT_TYPE,
    color: *const D2D1_COLOR_F,
    id: PCWSTR,
    paint: *mut *mut ID2D1SvgPaint
) -> HRESULT
[src]

pub unsafe fn CreateStrokeDashArray(
    &self,
    dashes: *const D2D1_SVG_LENGTH,
    dashesCount: UINT32,
    strokeDashArray: *mut *mut ID2D1SvgStrokeDashArray
) -> HRESULT
[src]

pub unsafe fn CreatePointCollection(
    &self,
    points: *const D2D1_POINT_2F,
    pountsCount: UINT32,
    pointCollection: *mut ID2D1SvgPointCollection
) -> HRESULT
[src]

pub unsafe fn CreatePathData(
    &self,
    segmentData: *const FLOAT,
    segmentDataCount: UINT32,
    commands: *const D2D1_SVG_PATH_COMMAND,
    commandsCount: UINT32,
    pathData: *mut *mut ID2D1SvgPathData
) -> HRESULT
[src]

Methods from Deref<Target = ID2D1Resource>

pub unsafe fn GetFactory(&self, factory: *mut *mut ID2D1Factory)[src]

Trait Implementations

impl Interface for ID2D1SvgDocument[src]

impl Deref for ID2D1SvgDocument[src]

type Target = ID2D1Resource

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]