C# Class MonoReports.Renderers.LineRenderer

Inheritance: MonoReports.Core.ControlRendererBase, IControlRenderer
Show file Open project: modesto/monoreports Class Usage Examples

Public Methods

Method Description
BreakOffControlAtMostAtHeight ( Cairo c, Control control, double height ) : MonoReports.Model.Controls.Control[]
LineRenderer ( ) : System
Measure ( Cairo c, Control control ) : Size
Render ( Cairo c, Control control ) : void

Private Methods

Method Description
calculateXAtYZero ( double x1, double y1, double x2, double y2 ) : double

Calculates the X at Y = 0.

Method Details

BreakOffControlAtMostAtHeight() public method

public BreakOffControlAtMostAtHeight ( Cairo c, Control control, double height ) : MonoReports.Model.Controls.Control[]
c Cairo
control MonoReports.Model.Controls.Control
height double
return MonoReports.Model.Controls.Control[]

LineRenderer() public method

public LineRenderer ( ) : System
return System

Measure() public method

public Measure ( Cairo c, Control control ) : Size
c Cairo
control MonoReports.Model.Controls.Control
return MonoReports.Model.Size

Render() public method

public Render ( Cairo c, Control control ) : void
c Cairo
control MonoReports.Model.Controls.Control
return void