C# Class Nintenlord.ROMHacking.BitmapHelper

Afficher le fichier Open project: Diegoisawesome/AwesomeMapEditor-old

Méthodes publiques

Méthode Description
BitsPerPixel ( PixelFormat pixelFormat ) : int
FindMatch2D ( Bitmap bigImage, Rectangle findIn, Bitmap smallImage, Rectangle findWhat ) : Rectangle
FindMatch2D ( byte bigImage, Size bigSize, Rectangle findIn, byte smallImage, Size smallSize, Rectangle findWhat ) : Rectangle
FitsIn ( Size &size, Rectangle &rect ) : bool
GetAntiColor ( Color color ) : Color
GetPalette ( Bitmap bitmap ) : List
IsBigger ( Size &big, Size &small ) : bool
ToHsv ( Color color, int &Hue, int &Saturation, int &Value ) : void
ToRgb ( int Hue, int Saturation, int Value ) : Color
Transpose ( Point &point ) : void
Transpose ( PointF &point ) : void
Transpose ( Rectangle &rect ) : void
Transpose ( RectangleF &rect ) : void

Method Details

BitsPerPixel() public static méthode

public static BitsPerPixel ( PixelFormat pixelFormat ) : int
pixelFormat PixelFormat
Résultat int

FindMatch2D() public static méthode

public static FindMatch2D ( Bitmap bigImage, Rectangle findIn, Bitmap smallImage, Rectangle findWhat ) : Rectangle
bigImage System.Drawing.Bitmap
findIn System.Drawing.Rectangle
smallImage System.Drawing.Bitmap
findWhat System.Drawing.Rectangle
Résultat System.Drawing.Rectangle

FindMatch2D() public static méthode

public static FindMatch2D ( byte bigImage, Size bigSize, Rectangle findIn, byte smallImage, Size smallSize, Rectangle findWhat ) : Rectangle
bigImage byte
bigSize System.Drawing.Size
findIn System.Drawing.Rectangle
smallImage byte
smallSize System.Drawing.Size
findWhat System.Drawing.Rectangle
Résultat System.Drawing.Rectangle

FitsIn() public static méthode

public static FitsIn ( Size &size, Rectangle &rect ) : bool
size System.Drawing.Size
rect System.Drawing.Rectangle
Résultat bool

GetAntiColor() public static méthode

public static GetAntiColor ( Color color ) : Color
color Color
Résultat Color

GetPalette() public static méthode

public static GetPalette ( Bitmap bitmap ) : List
bitmap System.Drawing.Bitmap
Résultat List

IsBigger() public static méthode

public static IsBigger ( Size &big, Size &small ) : bool
big System.Drawing.Size
small System.Drawing.Size
Résultat bool

ToHsv() public static méthode

public static ToHsv ( Color color, int &Hue, int &Saturation, int &Value ) : void
color Color
Hue int
Saturation int
Value int
Résultat void

ToRgb() public static méthode

public static ToRgb ( int Hue, int Saturation, int Value ) : Color
Hue int
Saturation int
Value int
Résultat Color

Transpose() public static méthode

public static Transpose ( Point &point ) : void
point Point
Résultat void

Transpose() public static méthode

public static Transpose ( PointF &point ) : void
point System.Drawing.PointF
Résultat void

Transpose() public static méthode

public static Transpose ( Rectangle &rect ) : void
rect System.Drawing.Rectangle
Résultat void

Transpose() public static méthode

public static Transpose ( RectangleF &rect ) : void
rect System.Drawing.RectangleF
Résultat void