[][src]Struct winapi::um::d2d1_1::ID2D1Bitmap1

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

Fields

lpVtbl: *const ID2D1Bitmap1Vtbl

Implementations

impl ID2D1Bitmap1[src]

pub unsafe fn GetColorContext(&self, colorContext: *mut *mut ID2D1ColorContext)[src]

pub unsafe fn GetOptions(&self) -> D2D1_BITMAP_OPTIONS[src]

pub unsafe fn GetSurface(&self, dxgiSurface: *mut *mut IDXGISurface) -> HRESULT[src]

pub unsafe fn Map(
    &self,
    options: D2D1_MAP_OPTIONS,
    mappedRect: *mut D2D1_MAPPED_RECT
) -> HRESULT
[src]

pub unsafe fn Unmap(&self) -> HRESULT[src]

Methods from Deref<Target = ID2D1Bitmap>

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 ID2D1Bitmap1[src]

type Target = ID2D1Bitmap

The resulting type after dereferencing.

impl Interface for ID2D1Bitmap1[src]

Auto Trait Implementations

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.