C# Class ME3Explorer.CurveEd.CurveGraph

Interaction logic for CurveGraph.xaml
Inheritance: System.Windows.Controls.UserControl
Show file Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
HorizontalOffsetProperty System.Windows.DependencyProperty
HorizontalScaleProperty System.Windows.DependencyProperty
SelectedCurveProperty System.Windows.DependencyProperty
SelectedPointProperty System.Windows.DependencyProperty
VerticalOffsetProperty System.Windows.DependencyProperty
VerticalScaleProperty System.Windows.DependencyProperty

Public Methods

Method Description
Clear ( ) : void
CurveGraph ( ) : System
DeleteSelectedKey ( ) : void
Paint ( bool recomputeView = false ) : void
invokeSelectedPointChanged ( ) : void
localX ( double x ) : double
localY ( double y ) : double
unrealX ( double x ) : double
unrealY ( double y ) : double

Private Methods

Method Description
AddKey_Click ( object sender, RoutedEventArgs e ) : void
MenuItem_Click ( object sender, RoutedEventArgs e ) : void
OnHorizontalOffsetChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnHorizontalScaleChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedCurveChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedPointChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnVerticalOffsetChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnVerticalScaleChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PathBetween ( Anchor a1, Anchor a2, CurveMode interpMode = CurveMode.CIM_Linear ) : void
TextBox_PreviewTextInput ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
TextBox_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
UserControl_MouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
UserControl_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
graph_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
graph_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
graph_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

CurveGraph() public method

public CurveGraph ( ) : System
return System

DeleteSelectedKey() public method

public DeleteSelectedKey ( ) : void
return void

Paint() public method

public Paint ( bool recomputeView = false ) : void
recomputeView bool
return void

invokeSelectedPointChanged() public method

public invokeSelectedPointChanged ( ) : void
return void

localX() public method

public localX ( double x ) : double
x double
return double

localY() public method

public localY ( double y ) : double
y double
return double

unrealX() public method

public unrealX ( double x ) : double
x double
return double

unrealY() public method

public unrealY ( double y ) : double
y double
return double

Property Details

HorizontalOffsetProperty public static property

public static DependencyProperty,System.Windows HorizontalOffsetProperty
return System.Windows.DependencyProperty

HorizontalScaleProperty public static property

public static DependencyProperty,System.Windows HorizontalScaleProperty
return System.Windows.DependencyProperty

SelectedCurveProperty public static property

public static DependencyProperty,System.Windows SelectedCurveProperty
return System.Windows.DependencyProperty

SelectedPointProperty public static property

public static DependencyProperty,System.Windows SelectedPointProperty
return System.Windows.DependencyProperty

VerticalOffsetProperty public static property

public static DependencyProperty,System.Windows VerticalOffsetProperty
return System.Windows.DependencyProperty

VerticalScaleProperty public static property

public static DependencyProperty,System.Windows VerticalScaleProperty
return System.Windows.DependencyProperty