Table of Contents

Method GetPointByteOffset

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

GetPointByteOffset(int, int)

Gets the number of bytes from the beginning of the surface's buffer to the requested point.

public long GetPointByteOffset(int x, int y)

Parameters

x int

The x offset.

y int

The y offset.

Returns

long

The number of bytes between (0,0) and (x,y).