Trait windows::Win32::Graphics::DirectWrite::IDWriteFontFace1_Impl
pub trait IDWriteFontFace1_Impl: Sized + IDWriteFontFace_Impl {
// Required methods
fn GetMetrics(&self, fontmetrics: *mut DWRITE_FONT_METRICS1);
fn GetGdiCompatibleMetrics(
&self,
emsize: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX,
fontmetrics: *mut DWRITE_FONT_METRICS1,
) -> Result<()>;
fn GetCaretMetrics(&self, caretmetrics: *mut DWRITE_CARET_METRICS);
fn GetUnicodeRanges(
&self,
maxrangecount: u32,
unicoderanges: *mut DWRITE_UNICODE_RANGE,
actualrangecount: *mut u32,
) -> Result<()>;
fn IsMonospacedFont(&self) -> BOOL;
fn GetDesignGlyphAdvances(
&self,
glyphcount: u32,
glyphindices: *const u16,
glyphadvances: *mut i32,
issideways: BOOL,
) -> Result<()>;
fn GetGdiCompatibleGlyphAdvances(
&self,
emsize: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX,
usegdinatural: BOOL,
issideways: BOOL,
glyphcount: u32,
glyphindices: *const u16,
glyphadvances: *mut i32,
) -> Result<()>;
fn GetKerningPairAdjustments(
&self,
glyphcount: u32,
glyphindices: *const u16,
glyphadvanceadjustments: *mut i32,
) -> Result<()>;
fn HasKerningPairs(&self) -> BOOL;
fn GetRecommendedRenderingMode(
&self,
fontemsize: f32,
dpix: f32,
dpiy: f32,
transform: *const DWRITE_MATRIX,
issideways: BOOL,
outlinethreshold: DWRITE_OUTLINE_THRESHOLD,
measuringmode: DWRITE_MEASURING_MODE,
) -> Result<DWRITE_RENDERING_MODE>;
fn GetVerticalGlyphVariants(
&self,
glyphcount: u32,
nominalglyphindices: *const u16,
verticalglyphindices: *mut u16,
) -> Result<()>;
fn HasVerticalGlyphVariants(&self) -> BOOL;
}
Required Methods§
fn GetMetrics(&self, fontmetrics: *mut DWRITE_FONT_METRICS1)
fn GetGdiCompatibleMetrics( &self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX, fontmetrics: *mut DWRITE_FONT_METRICS1, ) -> Result<()>
fn GetCaretMetrics(&self, caretmetrics: *mut DWRITE_CARET_METRICS)
fn GetUnicodeRanges( &self, maxrangecount: u32, unicoderanges: *mut DWRITE_UNICODE_RANGE, actualrangecount: *mut u32, ) -> Result<()>
fn IsMonospacedFont(&self) -> BOOL
fn GetDesignGlyphAdvances( &self, glyphcount: u32, glyphindices: *const u16, glyphadvances: *mut i32, issideways: BOOL, ) -> Result<()>
fn GetGdiCompatibleGlyphAdvances( &self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX, usegdinatural: BOOL, issideways: BOOL, glyphcount: u32, glyphindices: *const u16, glyphadvances: *mut i32, ) -> Result<()>
fn GetKerningPairAdjustments( &self, glyphcount: u32, glyphindices: *const u16, glyphadvanceadjustments: *mut i32, ) -> Result<()>
fn HasKerningPairs(&self) -> BOOL
fn GetRecommendedRenderingMode( &self, fontemsize: f32, dpix: f32, dpiy: f32, transform: *const DWRITE_MATRIX, issideways: BOOL, outlinethreshold: DWRITE_OUTLINE_THRESHOLD, measuringmode: DWRITE_MEASURING_MODE, ) -> Result<DWRITE_RENDERING_MODE>
fn GetVerticalGlyphVariants( &self, glyphcount: u32, nominalglyphindices: *const u16, verticalglyphindices: *mut u16, ) -> Result<()>
fn HasVerticalGlyphVariants(&self) -> BOOL
Object Safety§
This trait is not object safe.