Editar

Compartir a través de


SKCodec.GetScanlines(IntPtr, Int32, Int32) Method

Definition

Writes the next set of scanlines into the destination.

public int GetScanlines (IntPtr dst, int countLines, int rowBytes);

Parameters

dst
IntPtr

The memory location to store the scanlines.

countLines
Int32

The number of lines to write.

rowBytes
Int32

The number of bytes per row.

Returns

Returns the number of lines successfully decoded.

Remarks

If number of lines successfully decoded is less than countLines, this will fill the remaining lines with a default value.

Applies to