C# Class LunarEclipse.Controller.MoonlightController

Mostrar archivo Open project: mono/lunareclipse Class Usage Examples

Private Properties

Property Type Description
MouseLeftDown void
MouseLeftUp void
MouseMove void
SetupCanvas void

Public Methods

Method Description
Clear ( ) : void
LoadFromFile ( string file ) : void
LoadXaml ( string xaml ) : void
MoonlightController ( GtkSilver moonlight ) : System
Redo ( ) : void
SaveToFile ( string file ) : void
SerializeCanvas ( ) : string
Undo ( ) : void
Zoom ( int zoom ) : void
Zoom ( int zoom, Point center ) : void
ZoomCorrection ( Point point ) : Point
ZoomCorrection ( double value ) : double

Private Methods

Method Description
MouseLeftDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
MouseLeftUp ( object sender, System.Windows.Input.MouseEventArgs e ) : void
MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
SetupCanvas ( ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

LoadFromFile() public method

public LoadFromFile ( string file ) : void
file string
return void

LoadXaml() public method

public LoadXaml ( string xaml ) : void
xaml string
return void

MoonlightController() public method

public MoonlightController ( GtkSilver moonlight ) : System
moonlight GtkSilver
return System

Redo() public method

public Redo ( ) : void
return void

SaveToFile() public method

public SaveToFile ( string file ) : void
file string
return void

SerializeCanvas() public method

public SerializeCanvas ( ) : string
return string

Undo() public method

public Undo ( ) : void
return void

Zoom() public method

public Zoom ( int zoom ) : void
zoom int
return void

Zoom() public method

public Zoom ( int zoom, Point center ) : void
zoom int
center Point
return void

ZoomCorrection() public method

public ZoomCorrection ( Point point ) : Point
point Point
return Point

ZoomCorrection() public method

public ZoomCorrection ( double value ) : double
value double
return double