[][src]Struct winapi::um::d2d1::ID2D1Bitmap

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

Fields

lpVtbl: *const ID2D1BitmapVtbl

Implementations

impl ID2D1Bitmap[src]

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

pub unsafe fn GetPixelSize(&self) -> D2D1_SIZE_U[src]

pub unsafe fn GetPixelFormat(&self) -> D2D1_PIXEL_FORMAT[src]

pub unsafe fn GetDpi(&self, dpiX: *mut FLOAT, dpiY: *mut FLOAT)[src]

pub unsafe fn CopyFromBitmap(
    &self,
    destPoint: *const D2D1_POINT_2U,
    bitmap: *mut ID2D1Bitmap,
    srcRect: *const D2D1_RECT_U
) -> HRESULT
[src]

pub unsafe fn CopyFromRenderTarget(
    &self,
    destPoint: *const D2D1_POINT_2U,
    renderTarget: *mut ID2D1RenderTarget,
    srcRect: *const D2D1_RECT_U
) -> HRESULT
[src]

pub unsafe fn CopyFromMemory(
    &self,
    dstRect: *const D2D1_RECT_U,
    srcData: *const c_void,
    pitch: UINT32
) -> HRESULT
[src]

Trait Implementations

impl Deref for ID2D1Bitmap[src]

type Target = ID2D1Image

The resulting type after dereferencing.

impl Interface for ID2D1Bitmap[src]

Auto Trait Implementations

impl !Send for ID2D1Bitmap

impl !Sync for ID2D1Bitmap

impl Unpin for ID2D1Bitmap

Blanket Implementations

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

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

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

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

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

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> 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.