C# Class NewTOAPIA.Drawing.VectorClipper_DoClip

Inheritance: IVectorClipper
Mostrar archivo Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
VectorClipper_DoClip ( ) : NewTOAPIA.Graphics
clip_box ( int x1, int y1, int x2, int y2 ) : void
downscale ( int v ) : int
line_to ( rasterizer_cells_aa ras, int x2, int y2 ) : void
move_to ( int x1, int y1 ) : void
reset_clipping ( ) : void
upscale ( double v ) : int

Private Methods

Method Description
line_clip_y ( rasterizer_cells_aa ras, int x1, int y1, int x2, int y2, int f1, int f2 ) : void
mul_div ( double a, double b, double c ) : int
xi ( int v ) : int
yi ( int v ) : int

Method Details

VectorClipper_DoClip() public method

public VectorClipper_DoClip ( ) : NewTOAPIA.Graphics
return NewTOAPIA.Graphics

clip_box() public method

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

downscale() public method

public downscale ( int v ) : int
v int
return int

line_to() public method

public line_to ( rasterizer_cells_aa ras, int x2, int y2 ) : void
ras rasterizer_cells_aa
x2 int
y2 int
return void

move_to() public method

public move_to ( int x1, int y1 ) : void
x1 int
y1 int
return void

reset_clipping() public method

public reset_clipping ( ) : void
return void

upscale() public method

public upscale ( double v ) : int
v double
return int