C# Class NewTOAPIA.Drawing.GDI.GDIPixmap

Inheritance: System.Runtime.InteropServices.SafeHandle, IPixelAccessor
Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
GetAlignedRowStride ( int width, BitCount bitsperpixel, int alignment ) : int
GetPixel ( int x, int y ) : IPixel
SetPixel ( int x, int y, IPixel pixel ) : void

Protected Methods

Method Description
CreatePixmapHandle ( int width, int height, BitCount bitsperpixel ) : IntPtr
GDIPixmap ( int width, int height, BitCount bitsperpixel ) : System
ReleaseHandle ( ) : bool

Method Details

CreatePixmapHandle() protected abstract method

protected abstract CreatePixmapHandle ( int width, int height, BitCount bitsperpixel ) : IntPtr
width int
height int
bitsperpixel BitCount
return System.IntPtr

GDIPixmap() protected method

protected GDIPixmap ( int width, int height, BitCount bitsperpixel ) : System
width int
height int
bitsperpixel BitCount
return System

GetAlignedRowStride() public static method

public static GetAlignedRowStride ( int width, BitCount bitsperpixel, int alignment ) : int
width int
bitsperpixel BitCount
alignment int
return int

GetPixel() public method

public GetPixel ( int x, int y ) : IPixel
x int
y int
return IPixel

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool

SetPixel() public method

public SetPixel ( int x, int y, IPixel pixel ) : void
x int
y int
pixel IPixel
return void