C# Class CSharpUtils.BitmapUtils

Afficher le fichier Open project: soywiz/csharputils

Méthodes publiques

Méthode Description
CompareBitmaps ( Bitmap ReferenceBitmap, Bitmap OutputBitmap, double Threshold = 0.01 ) : System.CompareResult
GetColorPalette ( int nColors ) : System.Drawing.Imaging.ColorPalette
TransferChannelsDataInterleaved ( Rectangle Rectangle, Bitmap Bitmap, byte NewDataPtr, Direction Direction ) : void
TransferChannelsDataLinear ( Bitmap Bitmap, byte NewData, Direction Direction ) : void
TransferChannelsDataLinear ( Rectangle Rectangle, Bitmap Bitmap, byte NewData, Direction Direction ) : void

Method Details

CompareBitmaps() public static méthode

public static CompareBitmaps ( Bitmap ReferenceBitmap, Bitmap OutputBitmap, double Threshold = 0.01 ) : System.CompareResult
ReferenceBitmap System.Drawing.Bitmap
OutputBitmap System.Drawing.Bitmap
Threshold double
Résultat System.CompareResult

GetColorPalette() public static méthode

public static GetColorPalette ( int nColors ) : System.Drawing.Imaging.ColorPalette
nColors int
Résultat System.Drawing.Imaging.ColorPalette

TransferChannelsDataInterleaved() public static méthode

public static TransferChannelsDataInterleaved ( Rectangle Rectangle, Bitmap Bitmap, byte NewDataPtr, Direction Direction ) : void
Rectangle System.Drawing.Rectangle
Bitmap System.Drawing.Bitmap
NewDataPtr byte
Direction Direction
Résultat void

TransferChannelsDataLinear() public static méthode

public static TransferChannelsDataLinear ( Bitmap Bitmap, byte NewData, Direction Direction ) : void
Bitmap System.Drawing.Bitmap
NewData byte
Direction Direction
Résultat void

TransferChannelsDataLinear() public static méthode

public static TransferChannelsDataLinear ( Rectangle Rectangle, Bitmap Bitmap, byte NewData, Direction Direction ) : void
Rectangle System.Drawing.Rectangle
Bitmap System.Drawing.Bitmap
NewData byte
Direction Direction
Résultat void