Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextAnalyzer [−][src]
#[repr(transparent)]pub struct IDWriteTextAnalyzer(_);
Implementations
pub unsafe fn AnalyzeScript<'a, Param0: IntoParam<'a, IDWriteTextAnalysisSource>, Param3: IntoParam<'a, IDWriteTextAnalysisSink>>(
&self,
analysissource: Param0,
textposition: u32,
textlength: u32,
analysissink: Param3
) -> Result<()>
pub unsafe fn AnalyzeBidi<'a, Param0: IntoParam<'a, IDWriteTextAnalysisSource>, Param3: IntoParam<'a, IDWriteTextAnalysisSink>>(
&self,
analysissource: Param0,
textposition: u32,
textlength: u32,
analysissink: Param3
) -> Result<()>
pub unsafe fn AnalyzeNumberSubstitution<'a, Param0: IntoParam<'a, IDWriteTextAnalysisSource>, Param3: IntoParam<'a, IDWriteTextAnalysisSink>>(
&self,
analysissource: Param0,
textposition: u32,
textlength: u32,
analysissink: Param3
) -> Result<()>
pub unsafe fn AnalyzeLineBreakpoints<'a, Param0: IntoParam<'a, IDWriteTextAnalysisSource>, Param3: IntoParam<'a, IDWriteTextAnalysisSink>>(
&self,
analysissource: Param0,
textposition: u32,
textlength: u32,
analysissink: Param3
) -> Result<()>
pub unsafe fn GetGlyphs<'a, Param0: IntoParam<'a, PWSTR>, Param2: IntoParam<'a, IDWriteFontFace>, Param3: IntoParam<'a, BOOL>, Param4: IntoParam<'a, BOOL>, Param6: IntoParam<'a, PWSTR>, Param7: IntoParam<'a, IDWriteNumberSubstitution>>(
&self,
textstring: Param0,
textlength: u32,
fontface: Param2,
issideways: Param3,
isrighttoleft: Param4,
scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS,
localename: Param6,
numbersubstitution: Param7,
features: *const *const DWRITE_TYPOGRAPHIC_FEATURES,
featurerangelengths: *const u32,
featureranges: u32,
maxglyphcount: u32,
clustermap: *mut u16,
textprops: *mut DWRITE_SHAPING_TEXT_PROPERTIES,
glyphindices: *mut u16,
glyphprops: *mut DWRITE_SHAPING_GLYPH_PROPERTIES,
actualglyphcount: *mut u32
) -> Result<()>
pub unsafe fn GetGlyphPlacements<'a, Param0: IntoParam<'a, PWSTR>, Param7: IntoParam<'a, IDWriteFontFace>, Param9: IntoParam<'a, BOOL>, Param10: IntoParam<'a, BOOL>, Param12: IntoParam<'a, PWSTR>>(
&self,
textstring: Param0,
clustermap: *const u16,
textprops: *mut DWRITE_SHAPING_TEXT_PROPERTIES,
textlength: u32,
glyphindices: *const u16,
glyphprops: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
glyphcount: u32,
fontface: Param7,
fontemsize: f32,
issideways: Param9,
isrighttoleft: Param10,
scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS,
localename: Param12,
features: *const *const DWRITE_TYPOGRAPHIC_FEATURES,
featurerangelengths: *const u32,
featureranges: u32,
glyphadvances: *mut f32,
glyphoffsets: *mut DWRITE_GLYPH_OFFSET
) -> Result<()>
pub unsafe fn GetGdiCompatibleGlyphPlacements<'a, Param0: IntoParam<'a, PWSTR>, Param7: IntoParam<'a, IDWriteFontFace>, Param11: IntoParam<'a, BOOL>, Param12: IntoParam<'a, BOOL>, Param13: IntoParam<'a, BOOL>, Param15: IntoParam<'a, PWSTR>>(
&self,
textstring: Param0,
clustermap: *const u16,
textprops: *const DWRITE_SHAPING_TEXT_PROPERTIES,
textlength: u32,
glyphindices: *const u16,
glyphprops: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
glyphcount: u32,
fontface: Param7,
fontemsize: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX,
usegdinatural: Param11,
issideways: Param12,
isrighttoleft: Param13,
scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS,
localename: Param15,
features: *const *const DWRITE_TYPOGRAPHIC_FEATURES,
featurerangelengths: *const u32,
featureranges: u32,
glyphadvances: *mut f32,
glyphoffsets: *mut DWRITE_GLYPH_OFFSET
) -> Result<()>
Trait Implementations
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 IDWriteTextAnalyzer
impl !Send for IDWriteTextAnalyzer
impl !Sync for IDWriteTextAnalyzer
impl Unpin for IDWriteTextAnalyzer
impl UnwindSafe for IDWriteTextAnalyzer
Blanket Implementations
Mutably borrows from an owned value. Read more