C# 클래스 GR.Imaging.FastBitmap

상속: IDisposable
파일 보기 프로젝트 열기: alexhanh/Botting-Library 1 사용 예제들

공개 메소드들

메소드 설명
BlitSingleColor ( FastBitmap bitmap, Point location, int test_color, int blit_color ) : void
Dispose ( ) : void

Call, when you no longer need this fast bitmap nor the bitmap locked with this instance.

FastBitmap ( Bitmap subject_bitmap ) : System
GetColor ( Point point ) : Color
GetColor ( int x, int y ) : Color
GetPixel ( Point point ) : int
GetPixel ( int x, int y ) : int
IsIn ( FastBitmap fast_bitmap, Point basepoint ) : bool

Does an exact match of this bitmap in fast_bitmap in basepoint.

IsIn ( FastBitmap fast_bitmap, Point basepoint, int tolerance ) : bool

Matches until difference is more than total tolerance.

IsIn ( IEnumerable bmps ) : bool

Tests whether this bitmap exists in the collection.

IsMatch ( FastBitmap fast_bitmap1, FastBitmap fast_bitmap2 ) : bool

Returns whether these two fast bitmaps match in width, height and pixel data.

IsMatch ( FastBitmap fast_bitmap1, FastBitmap fast_bitmap2, Rectangle sub_rect ) : bool

Returns whether these two fast bitmaps match in width, height and pixel data within the given sub rectangle.

IsMatch ( FastBitmap fast_bitmap1, FastBitmap fast_bitmap2, int total_tolerance ) : bool
LockBitmap ( ) : void
SetPixel ( int x, int y, int color ) : void
UnlockBitmap ( ) : void
this ( int x, int y ) : int

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
PixelAt ( int x, int y ) : int*

메소드 상세

BlitSingleColor() 공개 메소드

public BlitSingleColor ( FastBitmap bitmap, Point location, int test_color, int blit_color ) : void
bitmap FastBitmap
location Point
test_color int
blit_color int
리턴 void

Dispose() 공개 메소드

Call, when you no longer need this fast bitmap nor the bitmap locked with this instance.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FastBitmap() 공개 메소드

public FastBitmap ( Bitmap subject_bitmap ) : System
subject_bitmap System.Drawing.Bitmap
리턴 System

GetColor() 공개 메소드

public GetColor ( Point point ) : Color
point Point
리턴 Color

GetColor() 공개 메소드

public GetColor ( int x, int y ) : Color
x int
y int
리턴 Color

GetPixel() 공개 메소드

public GetPixel ( Point point ) : int
point Point
리턴 int

GetPixel() 공개 메소드

public GetPixel ( int x, int y ) : int
x int
y int
리턴 int

IsIn() 공개 메소드

Does an exact match of this bitmap in fast_bitmap in basepoint.
public IsIn ( FastBitmap fast_bitmap, Point basepoint ) : bool
fast_bitmap FastBitmap
basepoint Point
리턴 bool

IsIn() 공개 메소드

Matches until difference is more than total tolerance.
public IsIn ( FastBitmap fast_bitmap, Point basepoint, int tolerance ) : bool
fast_bitmap FastBitmap
basepoint Point
tolerance int
리턴 bool

IsIn() 공개 메소드

Tests whether this bitmap exists in the collection.
public IsIn ( IEnumerable bmps ) : bool
bmps IEnumerable
리턴 bool

IsMatch() 공개 정적인 메소드

Returns whether these two fast bitmaps match in width, height and pixel data.
public static IsMatch ( FastBitmap fast_bitmap1, FastBitmap fast_bitmap2 ) : bool
fast_bitmap1 FastBitmap
fast_bitmap2 FastBitmap
리턴 bool

IsMatch() 공개 정적인 메소드

Returns whether these two fast bitmaps match in width, height and pixel data within the given sub rectangle.
public static IsMatch ( FastBitmap fast_bitmap1, FastBitmap fast_bitmap2, Rectangle sub_rect ) : bool
fast_bitmap1 FastBitmap
fast_bitmap2 FastBitmap
sub_rect System.Drawing.Rectangle
리턴 bool

IsMatch() 공개 정적인 메소드

public static IsMatch ( FastBitmap fast_bitmap1, FastBitmap fast_bitmap2, int total_tolerance ) : bool
fast_bitmap1 FastBitmap
fast_bitmap2 FastBitmap
total_tolerance int
리턴 bool

LockBitmap() 공개 메소드

public LockBitmap ( ) : void
리턴 void

SetPixel() 공개 메소드

public SetPixel ( int x, int y, int color ) : void
x int
y int
color int
리턴 void

UnlockBitmap() 공개 메소드

public UnlockBitmap ( ) : void
리턴 void

this() 공개 메소드

public this ( int x, int y ) : int
x int
y int
리턴 int