C# 클래스 Pinta.Core.BitVector2DSurfaceAdapter

Adapts a Surface class so it can be used as a two dimensional boolean array. Elements are stored compactly, such that each pixel stores 32 boolean values. However, the usable width is the same as that of the adapted surface. (in other words, a surface that is 100 pixels wide can still only store 100 booleans per row)
상속: IBitVector2D
파일 보기 프로젝트 열기: xxgreg/Pinta 1 사용 예제들

공개 메소드들

메소드 설명
BitVector2DSurfaceAdapter ( ImageSurface surface ) : System
Clear ( bool newValue ) : void
Clone ( ) : BitVector2DSurfaceAdapter
Get ( int x, int y ) : bool
GetUnchecked ( int x, int y ) : bool
Invert ( Point pt ) : void
Invert ( Rectangle rect ) : void
Invert ( Pinta.Core.Scanline scan ) : void
Invert ( int x, int y ) : void
Set ( Point pt, bool newValue ) : void
Set ( Rectangle rect, bool newValue ) : void
Set ( Pinta.Core.Scanline scan, bool newValue ) : void
Set ( int x, int y, bool newValue ) : void
SetUnchecked ( int x, int y, bool newValue ) : void
this ( Point pt ) : bool
this ( int x, int y ) : bool

비공개 메소드들

메소드 설명
ICloneable ( ) : object

메소드 상세

BitVector2DSurfaceAdapter() 공개 메소드

public BitVector2DSurfaceAdapter ( ImageSurface surface ) : System
surface Cairo.ImageSurface
리턴 System

Clear() 공개 메소드

public Clear ( bool newValue ) : void
newValue bool
리턴 void

Clone() 공개 메소드

public Clone ( ) : BitVector2DSurfaceAdapter
리턴 BitVector2DSurfaceAdapter

Get() 공개 메소드

public Get ( int x, int y ) : bool
x int
y int
리턴 bool

GetUnchecked() 공개 메소드

public GetUnchecked ( int x, int y ) : bool
x int
y int
리턴 bool

Invert() 공개 메소드

public Invert ( Point pt ) : void
pt Point
리턴 void

Invert() 공개 메소드

public Invert ( Rectangle rect ) : void
rect Cairo.Rectangle
리턴 void

Invert() 공개 메소드

public Invert ( Pinta.Core.Scanline scan ) : void
scan Pinta.Core.Scanline
리턴 void

Invert() 공개 메소드

public Invert ( int x, int y ) : void
x int
y int
리턴 void

Set() 공개 메소드

public Set ( Point pt, bool newValue ) : void
pt Point
newValue bool
리턴 void

Set() 공개 메소드

public Set ( Rectangle rect, bool newValue ) : void
rect Cairo.Rectangle
newValue bool
리턴 void

Set() 공개 메소드

public Set ( Pinta.Core.Scanline scan, bool newValue ) : void
scan Pinta.Core.Scanline
newValue bool
리턴 void

Set() 공개 메소드

public Set ( int x, int y, bool newValue ) : void
x int
y int
newValue bool
리턴 void

SetUnchecked() 공개 메소드

public SetUnchecked ( int x, int y, bool newValue ) : void
x int
y int
newValue bool
리턴 void

this() 공개 메소드

public this ( Point pt ) : bool
pt Point
리턴 bool

this() 공개 메소드

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