Struct winapi::um::d2d1_1::ID2D1Bitmap1
source · #[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)
Methods from Deref<Target = IUnknown>§
Trait Implementations§
source§impl Deref for ID2D1Bitmap1
impl Deref for ID2D1Bitmap1
§type Target = ID2D1Bitmap
type Target = ID2D1Bitmap
The resulting type after dereferencing.
source§fn deref(&self) -> &ID2D1Bitmap
fn deref(&self) -> &ID2D1Bitmap
Dereferences the value.