Table of Contents

Method GetPointByteOffsetUnchecked

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

GetPointByteOffsetUnchecked(int, int)

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

public long GetPointByteOffsetUnchecked(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).

Remarks

This method does not do any bounds checking and is potentially unsafe to use, but faster than GetPointByteOffset().