pub trait IDWriteBitmapRenderTarget_Impl: Sized {
// Required methods
fn DrawGlyphRun(
&self,
baselineoriginx: f32,
baselineoriginy: f32,
measuringmode: DWRITE_MEASURING_MODE,
glyphrun: *const DWRITE_GLYPH_RUN,
renderingparams: Option<&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: Option<&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<()>
Object Safety§
This trait is not object safe.