C# Class LongoMatch.Gui.Component.DrawingWidget

Inheritance: Gtk.Bin
Show file Open project: GNOME/longomatch

Public Methods

Method Description
ClearDrawing ( ) : void
DrawingWidget ( ) : System
SaveAll ( string filename ) : void
SaveDrawings ( string filename ) : void

Protected Methods

Method Description
OnDrawingareaButtonPressEvent ( object o, Gtk args ) : void
OnDrawingareaButtonReleaseEvent ( object o, Gtk args ) : void
OnDrawingareaConfigureEvent ( object o, Gtk args ) : void
OnDrawingareaExposeEvent ( object o, Gtk args ) : void
OnDrawingareaMotionNotifyEvent ( object o, Gtk args ) : void
OnDrawingareaSizeAllocated ( object o, Gtk args ) : void

Private Methods

Method Description
DrawArrow ( Context c, double x1, double y1, double x2, double y2 ) : void
DrawCircle ( Context c, bool dashed, double x1, double y1, double x2, double y2 ) : void
DrawCross ( Context c, bool dashed, double x1, double y1, double x2, double y2 ) : void
DrawLine ( Context c, bool dashed, double x1, double y1, double x2, double y2 ) : void
DrawRectangle ( Context c, bool dashed, double x1, double y1, double x2, double y2 ) : void
Paint ( Context c, double x1, double y1, double x2, double y2 ) : void
ResetDash ( Context c ) : void
Save ( string filename, bool bSource, bool bDrawings ) : void
SetContextProperties ( Context c, bool dashed ) : void

Method Details

ClearDrawing() public method

public ClearDrawing ( ) : void
return void

DrawingWidget() public method

public DrawingWidget ( ) : System
return System

OnDrawingareaButtonPressEvent() protected method

protected OnDrawingareaButtonPressEvent ( object o, Gtk args ) : void
o object
args Gtk
return void

OnDrawingareaButtonReleaseEvent() protected method

protected OnDrawingareaButtonReleaseEvent ( object o, Gtk args ) : void
o object
args Gtk
return void

OnDrawingareaConfigureEvent() protected method

protected OnDrawingareaConfigureEvent ( object o, Gtk args ) : void
o object
args Gtk
return void

OnDrawingareaExposeEvent() protected method

protected OnDrawingareaExposeEvent ( object o, Gtk args ) : void
o object
args Gtk
return void

OnDrawingareaMotionNotifyEvent() protected method

protected OnDrawingareaMotionNotifyEvent ( object o, Gtk args ) : void
o object
args Gtk
return void

OnDrawingareaSizeAllocated() protected method

protected OnDrawingareaSizeAllocated ( object o, Gtk args ) : void
o object
args Gtk
return void

SaveAll() public method

public SaveAll ( string filename ) : void
filename string
return void

SaveDrawings() public method

public SaveDrawings ( string filename ) : void
filename string
return void