windows::Win32::Media::MediaFoundation

Trait IMFTimedTextStyle_Impl

pub trait IMFTimedTextStyle_Impl: IUnknownImpl {
Show 13 methods // Required methods fn GetName(&self) -> Result<PWSTR>; fn IsExternal(&self) -> BOOL; fn GetFontFamily(&self) -> Result<PWSTR>; fn GetFontSize( &self, fontsize: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE, ) -> Result<()>; fn GetColor(&self) -> Result<MFARGB>; fn GetBackgroundColor(&self) -> Result<MFARGB>; fn GetShowBackgroundAlways(&self) -> Result<BOOL>; fn GetFontStyle(&self) -> Result<MF_TIMED_TEXT_FONT_STYLE>; fn GetBold(&self) -> Result<BOOL>; fn GetRightToLeft(&self) -> Result<BOOL>; fn GetTextAlignment(&self) -> Result<MF_TIMED_TEXT_ALIGNMENT>; fn GetTextDecoration(&self) -> Result<u32>; fn GetTextOutline( &self, color: *mut MFARGB, thickness: *mut f64, blurradius: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE, ) -> Result<()>;
}

Required Methods§

fn GetName(&self) -> Result<PWSTR>

fn IsExternal(&self) -> BOOL

fn GetFontFamily(&self) -> Result<PWSTR>

fn GetFontSize( &self, fontsize: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE, ) -> Result<()>

fn GetColor(&self) -> Result<MFARGB>

fn GetBackgroundColor(&self) -> Result<MFARGB>

fn GetShowBackgroundAlways(&self) -> Result<BOOL>

fn GetFontStyle(&self) -> Result<MF_TIMED_TEXT_FONT_STYLE>

fn GetBold(&self) -> Result<BOOL>

fn GetRightToLeft(&self) -> Result<BOOL>

fn GetTextAlignment(&self) -> Result<MF_TIMED_TEXT_ALIGNMENT>

fn GetTextDecoration(&self) -> Result<u32>

fn GetTextOutline( &self, color: *mut MFARGB, thickness: *mut f64, blurradius: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§