C# Class PixelFarm.Agg.ScanlineRasterizer

ファイルを表示 Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Property Type Description
AddVertex void
CalculateAlpha int
ClosePolygon void
Edge void
RewindScanlines bool
SetClipBox void
Sort void
SweepScanline bool
upscale int
upscale int

Public Methods

Method Description
AddPath ( VertexStore vxs ) : void

we do NOT store vxs

AddPath ( VertexStoreSnap snap ) : void

we do NOT store snap ***

GetVectorClipBox ( ) : RectInt
LineTo ( double x, double y ) : void
MoveTo ( double x, double y ) : void
Reset ( ) : void
ResetGamma ( IGammaFunction gamma_function ) : void
ScanlineRasterizer ( )
SetClipBox ( int x1, int y1, int x2, int y2 ) : void

Private Methods

Method Description
AddVertex ( VertexCmd cmd, double x, double y ) : void
CalculateAlpha ( int area ) : int
ClosePolygon ( ) : void
Edge ( double x1, double y1, double x2, double y2 ) : void
RewindScanlines ( ) : bool
SetClipBox ( RectInt clippingRect ) : void
Sort ( ) : void
SweepScanline ( Scanline scline ) : bool
upscale ( double v ) : int
upscale ( int v ) : int

Method Details

AddPath() public method

we do NOT store vxs
public AddPath ( VertexStore vxs ) : void
vxs VertexStore
return void

AddPath() public method

we do NOT store snap ***
public AddPath ( VertexStoreSnap snap ) : void
snap VertexStoreSnap
return void

GetVectorClipBox() public method

public GetVectorClipBox ( ) : RectInt
return RectInt

LineTo() public method

public LineTo ( double x, double y ) : void
x double
y double
return void

MoveTo() public method

public MoveTo ( double x, double y ) : void
x double
y double
return void

Reset() public method

public Reset ( ) : void
return void

ResetGamma() public method

public ResetGamma ( IGammaFunction gamma_function ) : void
gamma_function IGammaFunction
return void

ScanlineRasterizer() public method

public ScanlineRasterizer ( )

SetClipBox() public method

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