Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFontFace [−][src]
#[repr(transparent)]pub struct IDWriteFontFace(_);
Implementations
pub unsafe fn GetFiles(
&self,
numberoffiles: *mut u32,
fontfiles: *mut Option<IDWriteFontFile>
) -> Result<()>
pub unsafe fn GetDesignGlyphMetrics<'a>(
&self,
glyphindices: *const u16,
glyphcount: u32,
glyphmetrics: *mut DWRITE_GLYPH_METRICS,
issideways: impl IntoParam<'a, BOOL>
) -> Result<()>
pub unsafe fn GetGlyphIndices(
&self,
codepoints: *const u32,
codepointcount: u32,
glyphindices: *mut u16
) -> Result<()>
pub unsafe fn TryGetFontTable(
&self,
opentypetabletag: u32,
tabledata: *mut *mut c_void,
tablesize: *mut u32,
tablecontext: *mut *mut c_void,
exists: *mut BOOL
) -> Result<()>
pub unsafe fn GetGlyphRunOutline<'a>(
&self,
emsize: f32,
glyphindices: *const u16,
glyphadvances: *const f32,
glyphoffsets: *const DWRITE_GLYPH_OFFSET,
glyphcount: u32,
issideways: impl IntoParam<'a, BOOL>,
isrighttoleft: impl IntoParam<'a, BOOL>,
geometrysink: impl IntoParam<'a, ID2D1SimplifiedGeometrySink>
) -> Result<()>
pub unsafe fn GetRecommendedRenderingMode<'a>(
&self,
emsize: f32,
pixelsperdip: f32,
measuringmode: DWRITE_MEASURING_MODE,
renderingparams: impl IntoParam<'a, IDWriteRenderingParams>
) -> Result<DWRITE_RENDERING_MODE>
pub unsafe fn GetGdiCompatibleMetrics(
&self,
emsize: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX
) -> Result<DWRITE_FONT_METRICS>
pub unsafe fn GetGdiCompatibleGlyphMetrics<'a>(
&self,
emsize: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX,
usegdinatural: impl IntoParam<'a, BOOL>,
glyphindices: *const u16,
glyphcount: u32,
glyphmetrics: *mut DWRITE_GLYPH_METRICS,
issideways: impl IntoParam<'a, BOOL>
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDWriteFontFace
impl !Send for IDWriteFontFace
impl !Sync for IDWriteFontFace
impl Unpin for IDWriteFontFace
impl UnwindSafe for IDWriteFontFace
Blanket Implementations
Mutably borrows from an owned value. Read more