C# Class PixelFarm.Agg.Lines.LineParameters

Exibir arquivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
inc int
len int
octant int
s_diagonal_quadrant byte[]
s_orthogonal_quadrant byte[]
vertical bool
x1 int

Public Methods

Method Description
Divide ( LineParameters &lp1, LineParameters &lp2 ) : void
IsSameDiagonalQuadrant ( LineParameters lp ) : bool
IsSameOrthogonalQuadrant ( LineParameters lp ) : bool
LineParameters ( int x1_, int y1_, int x2_, int y2_, int len_ ) : System

Method Details

Divide() public method

public Divide ( LineParameters &lp1, LineParameters &lp2 ) : void
lp1 LineParameters
lp2 LineParameters
return void

IsSameDiagonalQuadrant() public method

public IsSameDiagonalQuadrant ( LineParameters lp ) : bool
lp LineParameters
return bool

IsSameOrthogonalQuadrant() public method

public IsSameOrthogonalQuadrant ( LineParameters lp ) : bool
lp LineParameters
return bool

LineParameters() public method

public LineParameters ( int x1_, int y1_, int x2_, int y2_, int len_ ) : System
x1_ int
y1_ int
x2_ int
y2_ int
len_ int
return System

Property Details

inc public_oe property

public int inc
return int

len public_oe property

public int len
return int

octant public_oe property

public int octant
return int

s_diagonal_quadrant public_oe static_oe property

public static byte[] s_diagonal_quadrant
return byte[]

s_orthogonal_quadrant public_oe static_oe property

public static byte[] s_orthogonal_quadrant
return byte[]

vertical public_oe property

public bool vertical
return bool

x1 public_oe property

public int x1
return int