C# Class ModernQR.Geom.SamplingGrid

This class is used for sampling grid It allows one area to have a different size from another area
Exibir arquivo Open project: jgable/ModernQR Class Usage Examples

Public Methods

Method Description
SamplingGrid ( int sqrtNumArea ) : System
adjust ( System.Point adjust ) : void
getHeight ( ) : int
getHeight ( int ax, int ay ) : int
getWidth ( ) : int
getWidth ( int ax, int ay ) : int
getX ( int ax, int x ) : int
getXLine ( int ax, int ay, int x ) : System.Line
getXLines ( int ax, int ay ) : System.Line[]
getY ( int ay, int y ) : int
getYLine ( int ax, int ay, int y ) : System.Line
getYLines ( int ax, int ay ) : System.Line[]
initGrid ( int ax, int ay, int width, int height ) : void
setXLine ( int ax, int ay, int x, System.Line line ) : void
setYLine ( int ax, int ay, int y, System.Line line ) : void

Method Details

SamplingGrid() public method

public SamplingGrid ( int sqrtNumArea ) : System
sqrtNumArea int
return System

adjust() public method

public adjust ( System.Point adjust ) : void
adjust System.Point
return void

getHeight() public method

public getHeight ( ) : int
return int

getHeight() public method

public getHeight ( int ax, int ay ) : int
ax int
ay int
return int

getWidth() public method

public getWidth ( ) : int
return int

getWidth() public method

public getWidth ( int ax, int ay ) : int
ax int
ay int
return int

getX() public method

public getX ( int ax, int x ) : int
ax int
x int
return int

getXLine() public method

public getXLine ( int ax, int ay, int x ) : System.Line
ax int
ay int
x int
return System.Line

getXLines() public method

public getXLines ( int ax, int ay ) : System.Line[]
ax int
ay int
return System.Line[]

getY() public method

public getY ( int ay, int y ) : int
ay int
y int
return int

getYLine() public method

public getYLine ( int ax, int ay, int y ) : System.Line
ax int
ay int
y int
return System.Line

getYLines() public method

public getYLines ( int ax, int ay ) : System.Line[]
ax int
ay int
return System.Line[]

initGrid() public method

public initGrid ( int ax, int ay, int width, int height ) : void
ax int
ay int
width int
height int
return void

setXLine() public method

public setXLine ( int ax, int ay, int x, System.Line line ) : void
ax int
ay int
x int
line System.Line
return void

setYLine() public method

public setYLine ( int ax, int ay, int y, System.Line line ) : void
ax int
ay int
y int
line System.Line
return void