Trait windows::Win32::Graphics::DirectWrite::IDWriteTextLayout1_Impl
pub trait IDWriteTextLayout1_Impl: Sized + IDWriteTextLayout_Impl {
// Required methods
fn SetPairKerning(
&self,
ispairkerningenabled: BOOL,
textrange: &DWRITE_TEXT_RANGE,
) -> Result<()>;
fn GetPairKerning(
&self,
currentposition: u32,
ispairkerningenabled: *mut BOOL,
textrange: *mut DWRITE_TEXT_RANGE,
) -> Result<()>;
fn SetCharacterSpacing(
&self,
leadingspacing: f32,
trailingspacing: f32,
minimumadvancewidth: f32,
textrange: &DWRITE_TEXT_RANGE,
) -> Result<()>;
fn GetCharacterSpacing(
&self,
currentposition: u32,
leadingspacing: *mut f32,
trailingspacing: *mut f32,
minimumadvancewidth: *mut f32,
textrange: *mut DWRITE_TEXT_RANGE,
) -> Result<()>;
}
Required Methods§
fn SetPairKerning( &self, ispairkerningenabled: BOOL, textrange: &DWRITE_TEXT_RANGE, ) -> Result<()>
fn GetPairKerning( &self, currentposition: u32, ispairkerningenabled: *mut BOOL, textrange: *mut DWRITE_TEXT_RANGE, ) -> Result<()>
fn SetCharacterSpacing( &self, leadingspacing: f32, trailingspacing: f32, minimumadvancewidth: f32, textrange: &DWRITE_TEXT_RANGE, ) -> Result<()>
fn GetCharacterSpacing( &self, currentposition: u32, leadingspacing: *mut f32, trailingspacing: *mut f32, minimumadvancewidth: *mut f32, textrange: *mut DWRITE_TEXT_RANGE, ) -> Result<()>
Object Safety§
This trait is not object safe.