Trait windows::Win32::Graphics::Direct2D::ID2D1Bitmap_Impl
pub trait ID2D1Bitmap_Impl: Sized + ID2D1Image_Impl {
// Required methods
fn GetSize(&self) -> D2D_SIZE_F;
fn GetPixelSize(&self) -> D2D_SIZE_U;
fn GetPixelFormat(&self) -> D2D1_PIXEL_FORMAT;
fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32);
fn CopyFromBitmap(
&self,
destpoint: *const D2D_POINT_2U,
bitmap: Option<&ID2D1Bitmap>,
srcrect: *const D2D_RECT_U,
) -> Result<()>;
fn CopyFromRenderTarget(
&self,
destpoint: *const D2D_POINT_2U,
rendertarget: Option<&ID2D1RenderTarget>,
srcrect: *const D2D_RECT_U,
) -> Result<()>;
fn CopyFromMemory(
&self,
dstrect: *const D2D_RECT_U,
srcdata: *const c_void,
pitch: u32,
) -> Result<()>;
}
Required Methods§
fn GetSize(&self) -> D2D_SIZE_F
fn GetPixelSize(&self) -> D2D_SIZE_U
fn GetPixelFormat(&self) -> D2D1_PIXEL_FORMAT
fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32)
fn CopyFromBitmap( &self, destpoint: *const D2D_POINT_2U, bitmap: Option<&ID2D1Bitmap>, srcrect: *const D2D_RECT_U, ) -> Result<()>
fn CopyFromRenderTarget( &self, destpoint: *const D2D_POINT_2U, rendertarget: Option<&ID2D1RenderTarget>, srcrect: *const D2D_RECT_U, ) -> Result<()>
fn CopyFromMemory( &self, dstrect: *const D2D_RECT_U, srcdata: *const c_void, pitch: u32, ) -> Result<()>
Object Safety§
This trait is not object safe.