[][src]Struct libass::Renderer

pub struct Renderer<'library> { /* fields omitted */ }

Implementations

impl<'library> Renderer<'library>[src]

pub fn render_frame(
    &mut self,
    track: Track<'_>,
    now: i64
) -> (Option<Image<'_>>, Change)
[src]

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]

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

impl<'library> Drop for Renderer<'library>[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.