C# Class Gearset.Components.CurveEditorControl.GridRuler

Inheritance: System.Windows.FrameworkElement
Afficher le fichier Open project: juancampa/Gearset Class Usage Examples

Méthodes publiques

Свойство Type Description
MaxProperty DependencyProperty
MinProperty DependencyProperty
OrientationProperty DependencyProperty
halfDpiX double
halfDpiY double

Private Properties

Свойство Type Description
CurveEditorControl_MouseDown void
CurveEditorControl_MouseMove void
CurveEditorControl_MouseUp void
CurveEditorControl_MouseWheel void
DrawGridHorizonalLines void
DrawGridVerticalLines void
DrawHorizontalLinesText void
DrawVerticalLinesText void
InitializeResources void

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnRender ( DrawingContext dc ) : void

Private Methods

Méthode 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 méthode

public CurveCoordsToScreen ( System &point ) : Point
point System
Résultat System.Windows.Point

GridRuler() public méthode

public GridRuler ( ) : System
Résultat System

InvalidateVisual() public méthode

public InvalidateVisual ( ) : void
Résultat void

LimitsChangedCalllBack() public static méthode

public static LimitsChangedCalllBack ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
d DependencyObject
e DependencyPropertyChangedEventArgs
Résultat void

OnRender() protected méthode

protected OnRender ( DrawingContext dc ) : void
dc DrawingContext
Résultat void

ScreenCoordsToCurve() public méthode

public ScreenCoordsToCurve ( System &point ) : Point
point System
Résultat System.Windows.Point

ScreenCoordsToCurveNormal() public méthode

public ScreenCoordsToCurveNormal ( System &point ) : Point
point System
Résultat System.Windows.Point

UpdateRender() public méthode

public UpdateRender ( ) : void
Résultat void

Property Details

MaxProperty public_oe static_oe property

public static DependencyProperty MaxProperty
Résultat DependencyProperty

MinProperty public_oe static_oe property

public static DependencyProperty MinProperty
Résultat DependencyProperty

OrientationProperty public_oe static_oe property

public static DependencyProperty OrientationProperty
Résultat DependencyProperty

halfDpiX public_oe property

public double halfDpiX
Résultat double

halfDpiY public_oe property

public double halfDpiY
Résultat double