ass_set_frame_size method

void ass_set_frame_size(
  1. Pointer<ASS_Renderer> priv,
  2. int w,
  3. int h
)

\brief Set the frame size in pixels, including margins. The renderer will never return images that are outside of the frame area. The value set with this function can influence the pixel aspect ratio used for rendering. If after compensating for configured margins the frame size is not an isotropically scaled version of the video display size, you may have to use ass_set_pixel_aspect(). @see ass_set_pixel_aspect() @see ass_set_margins() \param priv renderer handle \param w width \param h height

NOTE: frame size must be configured before an ASS_Renderer can be used.

Implementation

void ass_set_frame_size(
  ffi.Pointer<ASS_Renderer> priv,
  int w,
  int h,
) {
  return _ass_set_frame_size(
    priv,
    w,
    h,
  );
}