Grx.Frame.mode_get_line_offset

function mode_get_line_offset(mode: Grx.FrameMode, width: Number(gint)): Number(gint) {
    // Gjs wrapper for grx_frame_mode_get_line_offset()
}
  

Gets the offset in bytes for a row of width pixels.

mode

a Grx.FrameMode

width

the width in pixels

Returns

the number of bytes per row.