[][src]Struct winapi::um::d2d1_2::ID2D1Factory2

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

Fields

lpVtbl: *const ID2D1Factory2Vtbl

Methods

impl ID2D1Factory2[src]

pub unsafe fn CreateDevice(
    &self,
    dxgiDevice: *mut IDXGIDevice,
    d2dDevice1: *mut *mut ID2D1Device1
) -> HRESULT
[src]

Methods from Deref<Target = ID2D1Factory1>

pub unsafe fn CreateDevice(
    &self,
    dxgiDevice: *const IDXGIDevice,
    d2dDevice: *mut *mut ID2D1Device
) -> HRESULT
[src]

pub unsafe fn CreateStrokeStyle(
    &self,
    strokeStyleProperties: *const D2D1_STROKE_STYLE_PROPERTIES1,
    dashes: *const FLOAT,
    dashesCount: UINT32,
    strokeStyle: *mut *mut ID2D1StrokeStyle1
) -> HRESULT
[src]

pub unsafe fn CreatePathGeometry(
    &self,
    pathGeometry: *mut *mut ID2D1PathGeometry1
) -> HRESULT
[src]

pub unsafe fn CreateDrawingStateBlock(
    &self,
    drawingStateDescription: *const D2D1_DRAWING_STATE_DESCRIPTION1,
    textRenderingParams: *const IDWriteRenderingParams,
    drawingStateBlock: *mut *mut ID2D1DrawingStateBlock1
) -> HRESULT
[src]

pub unsafe fn CreateGdiMetafile(
    &self,
    metafileStream: *const IStream,
    metafile: *mut *mut ID2D1GdiMetafile
) -> HRESULT
[src]

pub unsafe fn RegisterEffectFromStream(
    &self,
    classId: REFCLSID,
    propertyXml: *const IStream,
    bindings: *const D2D1_PROPERTY_BINDING,
    bindingsCount: UINT32,
    effectFactory: PD2D1_EFFECT_FACTORY
) -> HRESULT
[src]

pub unsafe fn RegisterEffectFromString(
    &self,
    classId: REFCLSID,
    propertyXml: PCWSTR,
    bindings: *const D2D1_PROPERTY_BINDING,
    bindingsCount: UINT32,
    effectFactory: PD2D1_EFFECT_FACTORY
) -> HRESULT
[src]

pub unsafe fn UnregisterEffect(&self, classId: REFCLSID) -> HRESULT[src]

pub unsafe fn GetRegisteredEffects(
    &self,
    effects: *mut CLSID,
    effectsCount: UINT32,
    effectsReturned: *mut UINT32,
    effectsRegistered: *mut UINT32
) -> HRESULT
[src]

pub unsafe fn GetEffectProperties(
    &self,
    effectId: REFCLSID,
    properties: *mut *mut ID2D1Properties
) -> HRESULT
[src]

Trait Implementations

impl Interface for ID2D1Factory2[src]

impl Deref for ID2D1Factory2[src]

type Target = ID2D1Factory1

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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