C# Class winmaped2.Selection

Mostra file Open project: Bananattack/verge3 Class Usage Examples

Public Methods

Method Description
Selection ( ) : System
Selection ( int w, int h ) : System
clear ( ) : void
copy ( ) : Selection
createIntegerMask ( IMaskReader imr ) : ].int[
getPoint ( int x, int y ) : bool
getPointIntegerValue ( int x, int y, IMaskReader imr ) : int
maxX ( int sentinel ) : int
maxY ( int sentinel ) : int
minX ( int sentinel ) : int
minY ( int sentinel ) : int
offset ( int x, int y ) : void
setPoint ( int x, int y, bool bValue ) : void
setRectangle ( Rectangle r, bool value ) : void
updateGraphicsPath ( GraphicsPath gp, int scale, int xofs, int yofs ) : void

Private Methods

Method Description
_getPoint ( int mask, Rectangle r, int x, int y ) : bool
_setPoint ( int mask, Rectangle r, int x, int y, bool value ) : void
alterRectangleToInclude ( int x, int y ) : void

Method Details

Selection() public method

public Selection ( ) : System
return System

Selection() public method

public Selection ( int w, int h ) : System
w int
h int
return System

clear() public method

public clear ( ) : void
return void

copy() public method

public copy ( ) : Selection
return Selection

createIntegerMask() public method

public createIntegerMask ( IMaskReader imr ) : ].int[
imr IMaskReader
return ].int[

getPoint() public method

public getPoint ( int x, int y ) : bool
x int
y int
return bool

getPointIntegerValue() public method

public getPointIntegerValue ( int x, int y, IMaskReader imr ) : int
x int
y int
imr IMaskReader
return int

maxX() public method

public maxX ( int sentinel ) : int
sentinel int
return int

maxY() public method

public maxY ( int sentinel ) : int
sentinel int
return int

minX() public method

public minX ( int sentinel ) : int
sentinel int
return int

minY() public method

public minY ( int sentinel ) : int
sentinel int
return int

offset() public method

public offset ( int x, int y ) : void
x int
y int
return void

setPoint() public method

public setPoint ( int x, int y, bool bValue ) : void
x int
y int
bValue bool
return void

setRectangle() public method

public setRectangle ( Rectangle r, bool value ) : void
r System.Drawing.Rectangle
value bool
return void

updateGraphicsPath() public method

public updateGraphicsPath ( GraphicsPath gp, int scale, int xofs, int yofs ) : void
gp System.Drawing.Drawing2D.GraphicsPath
scale int
xofs int
yofs int
return void