C# Class Gearset.Components.CurveEditorControl.GridRuler

Inheritance: System.Windows.FrameworkElement
Mostra file Open project: juancampa/Gearset Class Usage Examples

Public Properties

Property Type Description
MaxProperty DependencyProperty
MinProperty DependencyProperty
OrientationProperty DependencyProperty
halfDpiX double
halfDpiY double

Private Properties

Property Type Description
CurveEditorControl_MouseDown void
CurveEditorControl_MouseMove void
CurveEditorControl_MouseUp void
CurveEditorControl_MouseWheel void
DrawGridHorizonalLines void
DrawGridVerticalLines void
DrawHorizontalLinesText void
DrawVerticalLinesText void
InitializeResources void

Public Methods

Method Description
CurveCoordsToScreen ( System &point ) : Point
GridRuler ( ) : System
InvalidateVisual ( ) : void
LimitsChangedCalllBack ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
ScreenCoordsToCurve ( System &point ) : Point
ScreenCoordsToCurveNormal ( System &point ) : Point
UpdateRender ( ) : void

Protected Methods

Method Description
OnRender ( DrawingContext dc ) : void

Private Methods

Method Description
CurveEditorControl_MouseDown ( object sender, MouseButtonEventArgs e ) : void
CurveEditorControl_MouseMove ( object sender, MouseEventArgs e ) : void
CurveEditorControl_MouseUp ( object sender, MouseButtonEventArgs e ) : void
CurveEditorControl_MouseWheel ( object sender, MouseWheelEventArgs e ) : void
DrawGridHorizonalLines ( DrawingContext dc, double initialPos, double stepSize, Pen pen ) : void
DrawGridVerticalLines ( DrawingContext dc, double initialPos, double stepSize, Pen pen ) : void
DrawHorizontalLinesText ( DrawingContext dc, double initialPos, double stepSize ) : void
DrawVerticalLinesText ( DrawingContext dc, double initialPos, double stepSize ) : void
InitializeResources ( ) : void

Initializes all general pens and brushes.

Method Details

CurveCoordsToScreen() public method

public CurveCoordsToScreen ( System &point ) : Point
point System
return System.Windows.Point

GridRuler() public method

public GridRuler ( ) : System
return System

InvalidateVisual() public method

public InvalidateVisual ( ) : void
return void

LimitsChangedCalllBack() public static method

public static LimitsChangedCalllBack ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
d DependencyObject
e DependencyPropertyChangedEventArgs
return void

OnRender() protected method

protected OnRender ( DrawingContext dc ) : void
dc DrawingContext
return void

ScreenCoordsToCurve() public method

public ScreenCoordsToCurve ( System &point ) : Point
point System
return System.Windows.Point

ScreenCoordsToCurveNormal() public method

public ScreenCoordsToCurveNormal ( System &point ) : Point
point System
return System.Windows.Point

UpdateRender() public method

public UpdateRender ( ) : void
return void

Property Details

MaxProperty public_oe static_oe property

public static DependencyProperty MaxProperty
return DependencyProperty

MinProperty public_oe static_oe property

public static DependencyProperty MinProperty
return DependencyProperty

OrientationProperty public_oe static_oe property

public static DependencyProperty OrientationProperty
return DependencyProperty

halfDpiX public_oe property

public double halfDpiX
return double

halfDpiY public_oe property

public double halfDpiY
return double