Trait IDWriteBitmapRenderTarget_Impl
pub trait IDWriteBitmapRenderTarget_Impl: IUnknownImpl {
// Required methods
fn DrawGlyphRun(
&self,
baselineoriginx: f32,
baselineoriginy: f32,
measuringmode: DWRITE_MEASURING_MODE,
glyphrun: *const DWRITE_GLYPH_RUN,
renderingparams: Ref<'_, IDWriteRenderingParams>,
textcolor: COLORREF,
blackboxrect: *mut RECT,
) -> Result<()>;
fn GetMemoryDC(&self) -> HDC;
fn GetPixelsPerDip(&self) -> f32;
fn SetPixelsPerDip(&self, pixelsperdip: f32) -> Result<()>;
fn GetCurrentTransform(&self, transform: *mut DWRITE_MATRIX) -> Result<()>;
fn SetCurrentTransform(&self, transform: *const DWRITE_MATRIX) -> Result<()>;
fn GetSize(&self) -> Result<SIZE>;
fn Resize(&self, width: u32, height: u32) -> Result<()>;
}
Required Methods§
fn DrawGlyphRun( &self, baselineoriginx: f32, baselineoriginy: f32, measuringmode: DWRITE_MEASURING_MODE, glyphrun: *const DWRITE_GLYPH_RUN, renderingparams: Ref<'_, IDWriteRenderingParams>, textcolor: COLORREF, blackboxrect: *mut RECT, ) -> Result<()>
fn GetMemoryDC(&self) -> HDC
fn GetPixelsPerDip(&self) -> f32
fn SetPixelsPerDip(&self, pixelsperdip: f32) -> Result<()>
fn GetCurrentTransform(&self, transform: *mut DWRITE_MATRIX) -> Result<()>
fn SetCurrentTransform(&self, transform: *const DWRITE_MATRIX) -> Result<()>
fn GetSize(&self) -> Result<SIZE>
fn Resize(&self, width: u32, height: u32) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.