C# Class LitDev.Engines.FastPixel

Afficher le fichier Open project: litdev1/LitDev Class Usage Examples

Méthodes publiques

Свойство Type Description
UseFastPixel bool
swGetBitmap Stopwatch
swGetBitmapImage Stopwatch

Méthodes publiques

Méthode Description
Clear ( Color colour ) : void
FastPixel ( Bitmap bitmap ) : System
FastPixel ( System.Windows.Media.Imaging.BitmapSource bitmap ) : System
GetBitmap ( System.Windows.Media.Imaging.BitmapSource bmSource ) : Bitmap
GetBitmapImage ( Bitmap bm ) : BitmapImage
GetPixel ( int x, int y ) : Color
SetPixel ( int x, int y, Color colour ) : void
Unlock ( bool setPixels ) : void
Update ( ) : void

Private Methods

Méthode Description
Lock ( ) : void
Setup ( ) : void

Method Details

Clear() public méthode

public Clear ( Color colour ) : void
colour Color
Résultat void

FastPixel() public méthode

public FastPixel ( Bitmap bitmap ) : System
bitmap System.Drawing.Bitmap
Résultat System

FastPixel() public méthode

public FastPixel ( System.Windows.Media.Imaging.BitmapSource bitmap ) : System
bitmap System.Windows.Media.Imaging.BitmapSource
Résultat System

GetBitmap() public static méthode

public static GetBitmap ( System.Windows.Media.Imaging.BitmapSource bmSource ) : Bitmap
bmSource System.Windows.Media.Imaging.BitmapSource
Résultat System.Drawing.Bitmap

GetBitmapImage() public static méthode

public static GetBitmapImage ( Bitmap bm ) : BitmapImage
bm System.Drawing.Bitmap
Résultat System.Windows.Media.Imaging.BitmapImage

GetPixel() public méthode

public GetPixel ( int x, int y ) : Color
x int
y int
Résultat Color

SetPixel() public méthode

public SetPixel ( int x, int y, Color colour ) : void
x int
y int
colour Color
Résultat void

Unlock() public méthode

public Unlock ( bool setPixels ) : void
setPixels bool
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

UseFastPixel public_oe static_oe property

public static bool UseFastPixel
Résultat bool

swGetBitmap public_oe static_oe property

public static Stopwatch swGetBitmap
Résultat Stopwatch

swGetBitmapImage public_oe static_oe property

public static Stopwatch swGetBitmapImage
Résultat Stopwatch