Method GetBufferSize32
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Core.dll
GetBufferSize32(int, int, int, in PixelFormat)
public static uint GetBufferSize32(int width, int height, int stride, in PixelFormat pixelFormat)
Parameters
widthintheightintstrideintpixelFormatPixelFormat
Returns
Exceptions
- OverflowException
The buffer is too large for the return type of this method.
GetBufferSize32(SizeInt32, int, in PixelFormat)
public static uint GetBufferSize32(SizeInt32 size, int stride, in PixelFormat pixelFormat)
Parameters
sizeSizeInt32strideintpixelFormatPixelFormat
Returns
Exceptions
- OverflowException
The buffer is too large for the return type of this method.
GetBufferSize32<TPixel>(int, int, int)
public static uint GetBufferSize32<TPixel>(int width, int height, int stride) where TPixel : unmanaged
Parameters
Returns
Type Parameters
TPixel
Exceptions
- OverflowException
The buffer is too large for the return type of this method.
GetBufferSize32<TPixel>(SizeInt32, int)
public static uint GetBufferSize32<TPixel>(SizeInt32 size, int stride) where TPixel : unmanaged
Parameters
Returns
Type Parameters
TPixel
Exceptions
- OverflowException
The buffer is too large for the return type of this method.