Method GetBufferSizeChecked
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Core.dll
public static uint GetBufferSizeChecked(int width, int height, int stride, in PixelFormat pixelFormat)
Parameters
width
int
height
int
stride
int
pixelFormat
PixelFormat
Returns
- uint
public static uint GetBufferSizeChecked(SizeInt32 size, int stride, in PixelFormat pixelFormat)
Parameters
size
SizeInt32
stride
int
pixelFormat
PixelFormat
Returns
- uint
GetBufferSizeChecked<TPixel>(int, int, int)
public static uint GetBufferSizeChecked<TPixel>(int width, int height, int stride) where TPixel : unmanaged
Parameters
width
int
height
int
stride
int
Returns
- uint
Type Parameters
TPixel
GetBufferSizeChecked<TPixel>(SizeInt32, int)
public static uint GetBufferSizeChecked<TPixel>(SizeInt32 size, int stride) where TPixel : unmanaged
Parameters
size
SizeInt32
stride
int
Returns
- uint
Type Parameters
TPixel