Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextAnalyzer1 [−][src]
#[repr(transparent)]pub struct IDWriteTextAnalyzer1(_);
Implementations
pub unsafe fn AnalyzeScript<'a>(
&self,
analysissource: impl IntoParam<'a, IDWriteTextAnalysisSource>,
textposition: u32,
textlength: u32,
analysissink: impl IntoParam<'a, IDWriteTextAnalysisSink>
) -> Result<()>
pub unsafe fn AnalyzeBidi<'a>(
&self,
analysissource: impl IntoParam<'a, IDWriteTextAnalysisSource>,
textposition: u32,
textlength: u32,
analysissink: impl IntoParam<'a, IDWriteTextAnalysisSink>
) -> Result<()>
pub unsafe fn AnalyzeNumberSubstitution<'a>(
&self,
analysissource: impl IntoParam<'a, IDWriteTextAnalysisSource>,
textposition: u32,
textlength: u32,
analysissink: impl IntoParam<'a, IDWriteTextAnalysisSink>
) -> Result<()>
pub unsafe fn AnalyzeLineBreakpoints<'a>(
&self,
analysissource: impl IntoParam<'a, IDWriteTextAnalysisSource>,
textposition: u32,
textlength: u32,
analysissink: impl IntoParam<'a, IDWriteTextAnalysisSink>
) -> Result<()>
pub unsafe fn GetGlyphs<'a>(
&self,
textstring: impl IntoParam<'a, PWSTR>,
textlength: u32,
fontface: impl IntoParam<'a, IDWriteFontFace>,
issideways: impl IntoParam<'a, BOOL>,
isrighttoleft: impl IntoParam<'a, BOOL>,
scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS,
localename: impl IntoParam<'a, PWSTR>,
numbersubstitution: impl IntoParam<'a, IDWriteNumberSubstitution>,
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>(
&self,
textstring: impl IntoParam<'a, PWSTR>,
clustermap: *const u16,
textprops: *mut DWRITE_SHAPING_TEXT_PROPERTIES,
textlength: u32,
glyphindices: *const u16,
glyphprops: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
glyphcount: u32,
fontface: impl IntoParam<'a, IDWriteFontFace>,
fontemsize: f32,
issideways: impl IntoParam<'a, BOOL>,
isrighttoleft: impl IntoParam<'a, BOOL>,
scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS,
localename: impl IntoParam<'a, PWSTR>,
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>(
&self,
textstring: impl IntoParam<'a, PWSTR>,
clustermap: *const u16,
textprops: *const DWRITE_SHAPING_TEXT_PROPERTIES,
textlength: u32,
glyphindices: *const u16,
glyphprops: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
glyphcount: u32,
fontface: impl IntoParam<'a, IDWriteFontFace>,
fontemsize: f32,
pixelsperdip: f32,
transform: *const DWRITE_MATRIX,
usegdinatural: impl IntoParam<'a, BOOL>,
issideways: impl IntoParam<'a, BOOL>,
isrighttoleft: impl IntoParam<'a, BOOL>,
scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS,
localename: impl IntoParam<'a, PWSTR>,
features: *const *const DWRITE_TYPOGRAPHIC_FEATURES,
featurerangelengths: *const u32,
featureranges: u32,
glyphadvances: *mut f32,
glyphoffsets: *mut DWRITE_GLYPH_OFFSET
) -> Result<()>
pub unsafe fn ApplyCharacterSpacing(
&self,
leadingspacing: f32,
trailingspacing: f32,
minimumadvancewidth: f32,
textlength: u32,
glyphcount: u32,
clustermap: *const u16,
glyphadvances: *const f32,
glyphoffsets: *const DWRITE_GLYPH_OFFSET,
glyphproperties: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
modifiedglyphadvances: *mut f32,
modifiedglyphoffsets: *mut DWRITE_GLYPH_OFFSET
) -> Result<()>
pub unsafe fn GetBaseline<'a>(
&self,
fontface: impl IntoParam<'a, IDWriteFontFace>,
baseline: DWRITE_BASELINE,
isvertical: impl IntoParam<'a, BOOL>,
issimulationallowed: impl IntoParam<'a, BOOL>,
scriptanalysis: impl IntoParam<'a, DWRITE_SCRIPT_ANALYSIS>,
localename: impl IntoParam<'a, PWSTR>,
baselinecoordinate: *mut i32,
exists: *mut BOOL
) -> Result<()>
pub unsafe fn AnalyzeVerticalGlyphOrientation<'a>(
&self,
analysissource: impl IntoParam<'a, IDWriteTextAnalysisSource1>,
textposition: u32,
textlength: u32,
analysissink: impl IntoParam<'a, IDWriteTextAnalysisSink1>
) -> Result<()>
pub unsafe fn GetGlyphOrientationTransform<'a>(
&self,
glyphorientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE,
issideways: impl IntoParam<'a, BOOL>
) -> Result<DWRITE_MATRIX>
pub unsafe fn GetScriptProperties<'a>(
&self,
scriptanalysis: impl IntoParam<'a, DWRITE_SCRIPT_ANALYSIS>
) -> Result<DWRITE_SCRIPT_PROPERTIES>
pub unsafe fn GetTextComplexity<'a>(
&self,
textstring: impl IntoParam<'a, PWSTR>,
textlength: u32,
fontface: impl IntoParam<'a, IDWriteFontFace>,
istextsimple: *mut BOOL,
textlengthread: *mut u32,
glyphindices: *mut u16
) -> Result<()>
pub unsafe fn GetJustificationOpportunities<'a>(
&self,
fontface: impl IntoParam<'a, IDWriteFontFace>,
fontemsize: f32,
scriptanalysis: impl IntoParam<'a, DWRITE_SCRIPT_ANALYSIS>,
textlength: u32,
glyphcount: u32,
textstring: impl IntoParam<'a, PWSTR>,
clustermap: *const u16,
glyphproperties: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
justificationopportunities: *mut DWRITE_JUSTIFICATION_OPPORTUNITY
) -> Result<()>
pub unsafe fn JustifyGlyphAdvances(
&self,
linewidth: f32,
glyphcount: u32,
justificationopportunities: *const DWRITE_JUSTIFICATION_OPPORTUNITY,
glyphadvances: *const f32,
glyphoffsets: *const DWRITE_GLYPH_OFFSET,
justifiedglyphadvances: *mut f32,
justifiedglyphoffsets: *mut DWRITE_GLYPH_OFFSET
) -> Result<()>
pub unsafe fn GetJustifiedGlyphs<'a>(
&self,
fontface: impl IntoParam<'a, IDWriteFontFace>,
fontemsize: f32,
scriptanalysis: impl IntoParam<'a, DWRITE_SCRIPT_ANALYSIS>,
textlength: u32,
glyphcount: u32,
maxglyphcount: u32,
clustermap: *const u16,
glyphindices: *const u16,
glyphadvances: *const f32,
justifiedglyphadvances: *const f32,
justifiedglyphoffsets: *const DWRITE_GLYPH_OFFSET,
glyphproperties: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
actualglyphcount: *mut u32,
modifiedclustermap: *mut u16,
modifiedglyphindices: *mut u16,
modifiedglyphadvances: *mut f32,
modifiedglyphoffsets: *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.
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 IDWriteTextAnalyzer1
impl !Send for IDWriteTextAnalyzer1
impl !Sync for IDWriteTextAnalyzer1
impl Unpin for IDWriteTextAnalyzer1
impl UnwindSafe for IDWriteTextAnalyzer1
Blanket Implementations
Mutably borrows from an owned value. Read more