get_line_offset


Description:

public int get_line_offset (int width)

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

Parameters:

width

the width in pixels

mode

a FrameMode

Returns:

the number of bytes per row.