C# Класс Nintenlord.ROMHacking.BitmapHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

BitsPerPixel() публичный статический Метод

public static BitsPerPixel ( PixelFormat pixelFormat ) : int
pixelFormat PixelFormat
Результат int

FindMatch2D() публичный статический Метод

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
Результат System.Drawing.Rectangle

FindMatch2D() публичный статический Метод

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
Результат System.Drawing.Rectangle

FitsIn() публичный статический Метод

public static FitsIn ( Size &size, Rectangle &rect ) : bool
size System.Drawing.Size
rect System.Drawing.Rectangle
Результат bool

GetAntiColor() публичный статический Метод

public static GetAntiColor ( Color color ) : Color
color Color
Результат Color

GetPalette() публичный статический Метод

public static GetPalette ( Bitmap bitmap ) : List
bitmap System.Drawing.Bitmap
Результат List

IsBigger() публичный статический Метод

public static IsBigger ( Size &big, Size &small ) : bool
big System.Drawing.Size
small System.Drawing.Size
Результат bool

ToHsv() публичный статический Метод

public static ToHsv ( Color color, int &Hue, int &Saturation, int &Value ) : void
color Color
Hue int
Saturation int
Value int
Результат void

ToRgb() публичный статический Метод

public static ToRgb ( int Hue, int Saturation, int Value ) : Color
Hue int
Saturation int
Value int
Результат Color

Transpose() публичный статический Метод

public static Transpose ( Point &point ) : void
point Point
Результат void

Transpose() публичный статический Метод

public static Transpose ( PointF &point ) : void
point System.Drawing.PointF
Результат void

Transpose() публичный статический Метод

public static Transpose ( Rectangle &rect ) : void
rect System.Drawing.Rectangle
Результат void

Transpose() публичный статический Метод

public static Transpose ( RectangleF &rect ) : void
rect System.Drawing.RectangleF
Результат void