C# Class PixelFarm.Agg.ScanlineRasterizer.CellAARasterizer

显示文件 Open project: prepare/HTML-Renderer

Public Methods

Method Description
CellAARasterizer ( )
DrawLine ( int x1, int y1, int x2, int y2 ) : void
GetCells ( int y, CellAA &cellData, int &offset, int &num ) : void
Reset ( ) : void
SortCells ( ) : void

Private Methods

Method Description
AddNewCell ( int x, int y ) : void
RenderHLine ( int ey, int x1, int y1, int x2, int y2 ) : void
ResetCurrentCell ( ) : void
WriteCurrentCell ( ) : void

Method Details

CellAARasterizer() public method

public CellAARasterizer ( )

DrawLine() public method

public DrawLine ( int x1, int y1, int x2, int y2 ) : void
x1 int
y1 int
x2 int
y2 int
return void

GetCells() public method

public GetCells ( int y, CellAA &cellData, int &offset, int &num ) : void
y int
cellData CellAA
offset int
num int
return void

Reset() public method

public Reset ( ) : void
return void

SortCells() public method

public SortCells ( ) : void
return void