編輯

共用方式為


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