#[repr(C)]pub struct ID2D1Bitmap1 {
pub lpVtbl: *const ID2D1Bitmap1Vtbl,
}
Fields§
§lpVtbl: *const ID2D1Bitmap1Vtbl
Implementations§
Source§impl ID2D1Bitmap1
impl ID2D1Bitmap1
pub unsafe fn GetColorContext(&self, colorContext: *mut *mut ID2D1ColorContext)
pub unsafe fn GetOptions(&self) -> D2D1_BITMAP_OPTIONS
pub unsafe fn GetSurface(&self, dxgiSurface: *mut *mut IDXGISurface) -> HRESULT
pub unsafe fn Map( &self, options: D2D1_MAP_OPTIONS, mappedRect: *mut D2D1_MAPPED_RECT, ) -> HRESULT
pub unsafe fn Unmap(&self) -> HRESULT
Methods from Deref<Target = ID2D1Bitmap>§
pub unsafe fn GetSize(&self) -> D2D1_SIZE_F
pub unsafe fn GetPixelSize(&self) -> D2D1_SIZE_U
pub unsafe fn GetPixelFormat(&self) -> D2D1_PIXEL_FORMAT
pub unsafe fn GetDpi(&self, dpiX: *mut FLOAT, dpiY: *mut FLOAT)
pub unsafe fn CopyFromBitmap( &self, destPoint: *const D2D1_POINT_2U, bitmap: *mut ID2D1Bitmap, srcRect: *const D2D1_RECT_U, ) -> HRESULT
pub unsafe fn CopyFromRenderTarget( &self, destPoint: *const D2D1_POINT_2U, renderTarget: *mut ID2D1RenderTarget, srcRect: *const D2D1_RECT_U, ) -> HRESULT
pub unsafe fn CopyFromMemory( &self, dstRect: *const D2D1_RECT_U, srcData: *const c_void, pitch: UINT32, ) -> HRESULT
Methods from Deref<Target = ID2D1Resource>§
pub unsafe fn GetFactory(&self, factory: *mut *mut ID2D1Factory)
Trait Implementations§
Source§impl Deref for ID2D1Bitmap1
impl Deref for ID2D1Bitmap1
Source§type Target = ID2D1Bitmap
type Target = ID2D1Bitmap
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1Bitmap
fn deref(&self) -> &ID2D1Bitmap
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1Bitmap1
impl RefUnwindSafe for ID2D1Bitmap1
impl !Send for ID2D1Bitmap1
impl !Sync for ID2D1Bitmap1
impl Unpin for ID2D1Bitmap1
impl UnwindSafe for ID2D1Bitmap1
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