Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextAnalyzer [−][src]
#[repr(transparent)]pub struct IDWriteTextAnalyzer(_);
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: *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,
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<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteTextAnalyzer_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
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
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more