C# Class BezierFitting.Scene

Show file Open project: EFanZh/EFanZh

Public Methods

Method Description
HitTest ( double x, double y ) : int
Render ( Graphics graphics ) : void
Scene ( ) : System
SetPoint1 ( double x, double y ) : void
SetPoint2 ( double x, double y ) : void
SetPoint3 ( double x, double y ) : void
SetPoint4 ( double x, double y ) : void

Private Methods

Method Description
CalcDeviation ( ) : void
DrawBezier ( Graphics graphics, Bezier bezier, Pen pen, Brush brush, bool control ) : void
DrawPoint ( Graphics graphics, double x, double y, Brush brush ) : void

Method Details

HitTest() public method

public HitTest ( double x, double y ) : int
x double
y double
return int

Render() public method

public Render ( Graphics graphics ) : void
graphics System.Drawing.Graphics
return void

Scene() public method

public Scene ( ) : System
return System

SetPoint1() public method

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

SetPoint2() public method

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

SetPoint3() public method

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

SetPoint4() public method

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