Trait windows::Win32::Media::MediaFoundation::IMFTimedTextStyle_Impl
pub trait IMFTimedTextStyle_Impl: Sized {
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<()>
Object Safety§
This trait is not object safe.