[][src]Function libass_sys::ass_set_storage_size

pub unsafe extern "C" fn ass_set_storage_size(
    priv_: *mut ASS_Renderer,
    w: c_int,
    h: c_int
)

\brief Set the source image size in pixels. This is used to calculate the source aspect ratio and the blur scale. The source image size can be reset to default by setting w and h to 0. The value set with this function can influence the pixel aspect ratio used for rendering. @see ass_set_pixel_aspect() \param priv renderer handle \param w width \param h height