Method ToGdipBitmap
- Namespace
- PaintDotNet.Drawing
- Assembly
- PaintDotNet.Core.dll
ToGdipBitmap(ISurface<ColorBgra>)
public static Bitmap ToGdipBitmap(this ISurface<ColorBgra> surface)
Parameters
surface
ISurface<ColorBgra>
Returns
- Bitmap
public static Bitmap ToGdipBitmap(this ISurface<ColorBgra> surface, PixelFormat pixelFormat)
Parameters
surface
ISurface<ColorBgra>
pixelFormat
PixelFormat
Returns
- Bitmap
ToGdipBitmap(ISurface<ColorBgra32>)
public static Bitmap ToGdipBitmap(this ISurface<ColorBgra32> surface)
Parameters
surface
ISurface<ColorBgra32>
Returns
- Bitmap
public static Bitmap ToGdipBitmap(this ISurface<ColorBgra32> surface, PixelFormat pixelFormat)
Parameters
surface
ISurface<ColorBgra32>
pixelFormat
PixelFormat
Returns
- Bitmap
ToGdipBitmap(ISurface<ColorPbgra32>)
public static Bitmap ToGdipBitmap(this ISurface<ColorPbgra32> surface)
Parameters
surface
ISurface<ColorPbgra32>
Returns
- Bitmap
public static Bitmap ToGdipBitmap(this ISurface<ColorPbgra32> surface, PixelFormat pixelFormat)
Parameters
surface
ISurface<ColorPbgra32>
pixelFormat
PixelFormat
Returns
- Bitmap