[−][src]Struct libass::Renderer
Implementations
impl<'library> Renderer<'library>
[src]
pub fn render_frame(
&mut self,
track: Track<'_>,
now: i64
) -> (Option<Image<'_>>, Change)
[src]
&mut self,
track: Track<'_>,
now: i64
) -> (Option<Image<'_>>, Change)
pub fn set_fonts<'a>(
&mut self,
default_font: impl Into<Option<&'a str>>,
default_family: impl Into<Option<&'a str>>,
default_font_provider: DefaultFontProvider,
fontconfig_config_path: impl Into<Option<&'a str>>,
update_fontconfig_cache: bool
)
[src]
&mut self,
default_font: impl Into<Option<&'a str>>,
default_family: impl Into<Option<&'a str>>,
default_font_provider: DefaultFontProvider,
fontconfig_config_path: impl Into<Option<&'a str>>,
update_fontconfig_cache: bool
)
pub fn set_frame_size(&mut self, width: i32, height: i32)
[src]
pub fn set_storage_size(&mut self, width: i32, height: i32)
[src]
pub fn set_shaper(&mut self, level: ShapingLevel)
[src]
pub fn set_margins(&mut self, top: i32, bottom: i32, left: i32, right: i32)
[src]
pub fn use_margins(&mut self, use_: bool)
[src]
pub fn set_pixel_aspect_ratio(&mut self, par: f64)
[src]
pub fn set_aspect_ratio(&mut self, dar: f64, sar: f64)
[src]
pub fn set_font_scale(&mut self, font_scale: f64)
[src]
pub fn set_hinting(&mut self, font_hinting: Hinting)
[src]
pub fn set_line_spacing(&mut self, line_spacing: f64)
[src]
pub fn set_line_position(&mut self, line_position: f64)
[src]
pub fn set_cache_limits(&mut self, glyph_max: i32, bitmap_max_size: i32)
[src]
pub fn set_selective_style_override(&mut self, style: &Style)
[src]
pub fn set_selective_style_override_enabled(&mut self, bits: OverrideBits)
[src]
Trait Implementations
Auto Trait Implementations
impl<'library> RefUnwindSafe for Renderer<'library>
impl<'library> !Send for Renderer<'library>
impl<'library> !Sync for Renderer<'library>
impl<'library> Unpin for Renderer<'library>
impl<'library> !UnwindSafe for Renderer<'library>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,