Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFontFace1 [−][src]
#[repr(transparent)]pub struct IDWriteFontFace1(_);
Implementations
pub unsafe fn GetFiles(
&self,
numberoffiles: *mut u32,
fontfiles: *mut Option<IDWriteFontFile>
) -> Result<()>
pub unsafe fn GetDesignGlyphMetrics<'a, Param3: IntoParam<'a, BOOL>>(
&self,
glyphindices: *const u16,
glyphcount: u32,
glyphmetrics: *mut DWRITE_GLYPH_METRICS,
issideways: Param3
) -> 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, Param5: IntoParam<'a, BOOL>, Param6: IntoParam<'a, BOOL>, Param7: IntoParam<'a, ID2D1SimplifiedGeometrySink>>(
&self,
emsize: f32,
glyphindices: *const u16,
glyphadvances: *const f32,
glyphoffsets: *const DWRITE_GLYPH_OFFSET,
glyphcount: u32,
issideways: Param5,
isrighttoleft: Param6,
geometrysink: Param7
) -> Result<()>
pub unsafe fn GetRecommendedRenderingMode<'a, Param3: IntoParam<'a, IDWriteRenderingParams>>(
&self,
emsize: f32,
pixelsperdip: f32,
measuringmode: DWRITE_MEASURING_MODE,
renderingparams: Param3
) -> 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, Param3: IntoParam<'a, BOOL>, Param7: IntoParam<'a, BOOL>>(
&self,
emsize: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX,
usegdinatural: Param3,
glyphindices: *const u16,
glyphcount: u32,
glyphmetrics: *mut DWRITE_GLYPH_METRICS,
issideways: Param7
) -> Result<()>
pub unsafe fn GetGdiCompatibleMetrics2(
&self,
emsize: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX
) -> Result<DWRITE_FONT_METRICS1>
pub unsafe fn GetUnicodeRanges(
&self,
maxrangecount: u32,
unicoderanges: *mut DWRITE_UNICODE_RANGE,
actualrangecount: *mut u32
) -> Result<()>
pub unsafe fn GetDesignGlyphAdvances<'a, Param3: IntoParam<'a, BOOL>>(
&self,
glyphcount: u32,
glyphindices: *const u16,
glyphadvances: *mut i32,
issideways: Param3
) -> Result<()>
pub unsafe fn GetGdiCompatibleGlyphAdvances<'a, Param3: IntoParam<'a, BOOL>, Param4: IntoParam<'a, BOOL>>(
&self,
emsize: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX,
usegdinatural: Param3,
issideways: Param4,
glyphcount: u32,
glyphindices: *const u16,
glyphadvances: *mut i32
) -> Result<()>
pub unsafe fn GetKerningPairAdjustments(
&self,
glyphcount: u32,
glyphindices: *const u16,
glyphadvanceadjustments: *mut i32
) -> Result<()>
pub unsafe fn GetRecommendedRenderingMode2<'a, Param4: IntoParam<'a, BOOL>>(
&self,
fontemsize: f32,
dpix: f32,
dpiy: f32,
transform: *const DWRITE_MATRIX,
issideways: Param4,
outlinethreshold: DWRITE_OUTLINE_THRESHOLD,
measuringmode: DWRITE_MEASURING_MODE
) -> Result<DWRITE_RENDERING_MODE>
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.
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
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 IDWriteFontFace1
impl !Send for IDWriteFontFace1
impl !Sync for IDWriteFontFace1
impl Unpin for IDWriteFontFace1
impl UnwindSafe for IDWriteFontFace1
Blanket Implementations
Mutably borrows from an owned value. Read more