#[repr(C)]pub struct ID2D1Bitmap {
pub lpVtbl: *const ID2D1BitmapVtbl,
}
Fields§
§lpVtbl: *const ID2D1BitmapVtbl
Implementations§
Source§impl ID2D1Bitmap
impl 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 ID2D1Bitmap
impl Deref for ID2D1Bitmap
Source§type Target = ID2D1Image
type Target = ID2D1Image
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1Image
fn deref(&self) -> &ID2D1Image
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1Bitmap
impl RefUnwindSafe for ID2D1Bitmap
impl !Send for ID2D1Bitmap
impl !Sync for ID2D1Bitmap
impl Unpin for ID2D1Bitmap
impl UnwindSafe for ID2D1Bitmap
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