#[repr(C)]pub struct IDWriteBitmapRenderTarget1 {
pub lpVtbl: *const IDWriteBitmapRenderTarget1Vtbl,
}
Fields§
§lpVtbl: *const IDWriteBitmapRenderTarget1Vtbl
Implementations§
Source§impl IDWriteBitmapRenderTarget1
impl IDWriteBitmapRenderTarget1
pub unsafe fn GetTextAntialiasMode(&self) -> DWRITE_TEXT_ANTIALIAS_MODE
pub unsafe fn SetTextAntialiasMode( &self, antialiasMode: DWRITE_TEXT_ANTIALIAS_MODE, ) -> HRESULT
Methods from Deref<Target = IDWriteBitmapRenderTarget>§
pub unsafe fn DrawGlyphRun( &self, baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: *const DWRITE_GLYPH_RUN, renderingParams: *mut IDWriteRenderingParams, textColor: COLORREF, blackBoxRect: *mut RECT, ) -> HRESULT
pub unsafe fn GetMemoryDC(&self) -> HDC
pub unsafe fn GetPixelsPerDip(&self) -> FLOAT
pub unsafe fn SetPixelsPerDip(&self, pixelsPerDip: FLOAT) -> HRESULT
pub unsafe fn GetCurrentTransform( &self, transform: *mut DWRITE_MATRIX, ) -> HRESULT
pub unsafe fn SetCurrentTransform( &self, transform: *const DWRITE_MATRIX, ) -> HRESULT
pub unsafe fn GetSize(&self, size: *mut SIZE) -> HRESULT
pub unsafe fn Resize(&self, width: UINT32, height: UINT32) -> HRESULT
Trait Implementations§
Source§impl Deref for IDWriteBitmapRenderTarget1
impl Deref for IDWriteBitmapRenderTarget1
Source§type Target = IDWriteBitmapRenderTarget
type Target = IDWriteBitmapRenderTarget
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDWriteBitmapRenderTarget
fn deref(&self) -> &IDWriteBitmapRenderTarget
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDWriteBitmapRenderTarget1
impl RefUnwindSafe for IDWriteBitmapRenderTarget1
impl !Send for IDWriteBitmapRenderTarget1
impl !Sync for IDWriteBitmapRenderTarget1
impl Unpin for IDWriteBitmapRenderTarget1
impl UnwindSafe for IDWriteBitmapRenderTarget1
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