Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextAnalyzer1 [−][src]
#[repr(transparent)]pub struct IDWriteTextAnalyzer1(_);
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<()>
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, Param0: IntoParam<'a, IDWriteFontFace>, Param2: IntoParam<'a, BOOL>, Param3: IntoParam<'a, BOOL>, Param4: IntoParam<'a, DWRITE_SCRIPT_ANALYSIS>, Param5: IntoParam<'a, PWSTR>>(
&self,
fontface: Param0,
baseline: DWRITE_BASELINE,
isvertical: Param2,
issimulationallowed: Param3,
scriptanalysis: Param4,
localename: Param5,
baselinecoordinate: *mut i32,
exists: *mut BOOL
) -> Result<()>
pub unsafe fn AnalyzeVerticalGlyphOrientation<'a, Param0: IntoParam<'a, IDWriteTextAnalysisSource1>, Param3: IntoParam<'a, IDWriteTextAnalysisSink1>>(
&self,
analysissource: Param0,
textposition: u32,
textlength: u32,
analysissink: Param3
) -> Result<()>
pub unsafe fn GetGlyphOrientationTransform<'a, Param1: IntoParam<'a, BOOL>>(
&self,
glyphorientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE,
issideways: Param1
) -> Result<DWRITE_MATRIX>
pub unsafe fn GetScriptProperties<'a, Param0: IntoParam<'a, DWRITE_SCRIPT_ANALYSIS>>(
&self,
scriptanalysis: Param0
) -> Result<DWRITE_SCRIPT_PROPERTIES>
pub unsafe fn GetTextComplexity<'a, Param0: IntoParam<'a, PWSTR>, Param2: IntoParam<'a, IDWriteFontFace>>(
&self,
textstring: Param0,
textlength: u32,
fontface: Param2,
istextsimple: *mut BOOL,
textlengthread: *mut u32,
glyphindices: *mut u16
) -> Result<()>
pub unsafe fn GetJustificationOpportunities<'a, Param0: IntoParam<'a, IDWriteFontFace>, Param2: IntoParam<'a, DWRITE_SCRIPT_ANALYSIS>, Param5: IntoParam<'a, PWSTR>>(
&self,
fontface: Param0,
fontemsize: f32,
scriptanalysis: Param2,
textlength: u32,
glyphcount: u32,
textstring: Param5,
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, Param0: IntoParam<'a, IDWriteFontFace>, Param2: IntoParam<'a, DWRITE_SCRIPT_ANALYSIS>>(
&self,
fontface: Param0,
fontemsize: f32,
scriptanalysis: Param2,
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.
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 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