C# Class Pinta.ImageManipulation.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)
Inheritance: IBitVector2D
Afficher le fichier Open project: PintaProject/Pinta.ImageManipulation

Méthodes publiques

Méthode Description
BitVector2DSurfaceAdapter ( ISurface surface ) : System
Clear ( bool newValue ) : void
Get ( int x, int y ) : bool
GetUnchecked ( int x, int y ) : bool
Invert ( Point pt ) : void
Invert ( Rectangle rect ) : void
Invert ( Scanline scan ) : void
Invert ( int x, int y ) : void
Set ( Point pt, bool newValue ) : void
Set ( Rectangle rect, bool newValue ) : void
Set ( 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

Method Details

BitVector2DSurfaceAdapter() public méthode

public BitVector2DSurfaceAdapter ( ISurface surface ) : System
surface ISurface
Résultat System

Clear() public méthode

public Clear ( bool newValue ) : void
newValue bool
Résultat void

Get() public méthode

public Get ( int x, int y ) : bool
x int
y int
Résultat bool

GetUnchecked() public méthode

public GetUnchecked ( int x, int y ) : bool
x int
y int
Résultat bool

Invert() public méthode

public Invert ( Point pt ) : void
pt Point
Résultat void

Invert() public méthode

public Invert ( Rectangle rect ) : void
rect Rectangle
Résultat void

Invert() public méthode

public Invert ( Scanline scan ) : void
scan Scanline
Résultat void

Invert() public méthode

public Invert ( int x, int y ) : void
x int
y int
Résultat void

Set() public méthode

public Set ( Point pt, bool newValue ) : void
pt Point
newValue bool
Résultat void

Set() public méthode

public Set ( Rectangle rect, bool newValue ) : void
rect Rectangle
newValue bool
Résultat void

Set() public méthode

public Set ( Scanline scan, bool newValue ) : void
scan Scanline
newValue bool
Résultat void

Set() public méthode

public Set ( int x, int y, bool newValue ) : void
x int
y int
newValue bool
Résultat void

SetUnchecked() public méthode

public SetUnchecked ( int x, int y, bool newValue ) : void
x int
y int
newValue bool
Résultat void

this() public méthode

public this ( Point pt ) : bool
pt Point
Résultat bool

this() public méthode

public this ( int x, int y ) : bool
x int
y int
Résultat bool