WIP
DirectOutput framework for virtual pinball cabinets WIP
|
Go to: Overview |
This class allows fast access to the pixels of a bitmap. The code was inspired/stolen from this thread http://www.dreamincode.net/forums/topic/14788-c%23-fast-acces-to-bitmap-pixels/ More...
Public Member Functions | |
UnsafeBitmap (Bitmap bitmap) | |
UnsafeBitmap (int width, int height) | |
void | Dispose () |
void | LockBitmap () |
PixelData | GetPixel (int x, int y) |
void | UnlockBitmap () |
PixelData * | PixelAt (int x, int y) |
Properties | |
Bitmap | Bitmap [get] |
This class allows fast access to the pixels of a bitmap. The code was inspired/stolen from this thread http://www.dreamincode.net/forums/topic/14788-c%23-fast-acces-to-bitmap-pixels/
Definition at line 14 of file UnsafeBitmap.cs.
DirectOutput.General.BitmapHandling.UnsafeBitmap.UnsafeBitmap | ( | Bitmap | bitmap | ) |
Definition at line 23 of file UnsafeBitmap.cs.
DirectOutput.General.BitmapHandling.UnsafeBitmap.UnsafeBitmap | ( | int | width, |
int | height | ||
) |
Definition at line 28 of file UnsafeBitmap.cs.
void DirectOutput.General.BitmapHandling.UnsafeBitmap.Dispose | ( | ) |
Definition at line 33 of file UnsafeBitmap.cs.
PixelData DirectOutput.General.BitmapHandling.UnsafeBitmap.GetPixel | ( | int | x, |
int | y | ||
) |
Definition at line 81 of file UnsafeBitmap.cs.
void DirectOutput.General.BitmapHandling.UnsafeBitmap.LockBitmap | ( | ) |
Definition at line 57 of file UnsafeBitmap.cs.
PixelData* DirectOutput.General.BitmapHandling.UnsafeBitmap.PixelAt | ( | int | x, |
int | y | ||
) |
Definition at line 93 of file UnsafeBitmap.cs.
void DirectOutput.General.BitmapHandling.UnsafeBitmap.UnlockBitmap | ( | ) |
Definition at line 87 of file UnsafeBitmap.cs.
|
get |
Definition at line 39 of file UnsafeBitmap.cs.