C# Class LongoMatch.Gui.Component.DrawingWidget

Inheritance: Gtk.Bin
Afficher le fichier Open project: GNOME/longomatch

Méthodes publiques

Méthode Description
ClearDrawing ( ) : void
DrawingWidget ( ) : System
SaveAll ( string filename ) : void
SaveDrawings ( string filename ) : void

Méthodes protégées

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

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

public ClearDrawing ( ) : void
Résultat void

DrawingWidget() public méthode

public DrawingWidget ( ) : System
Résultat System

OnDrawingareaButtonPressEvent() protected méthode

protected OnDrawingareaButtonPressEvent ( object o, Gtk args ) : void
o object
args Gtk
Résultat void

OnDrawingareaButtonReleaseEvent() protected méthode

protected OnDrawingareaButtonReleaseEvent ( object o, Gtk args ) : void
o object
args Gtk
Résultat void

OnDrawingareaConfigureEvent() protected méthode

protected OnDrawingareaConfigureEvent ( object o, Gtk args ) : void
o object
args Gtk
Résultat void

OnDrawingareaExposeEvent() protected méthode

protected OnDrawingareaExposeEvent ( object o, Gtk args ) : void
o object
args Gtk
Résultat void

OnDrawingareaMotionNotifyEvent() protected méthode

protected OnDrawingareaMotionNotifyEvent ( object o, Gtk args ) : void
o object
args Gtk
Résultat void

OnDrawingareaSizeAllocated() protected méthode

protected OnDrawingareaSizeAllocated ( object o, Gtk args ) : void
o object
args Gtk
Résultat void

SaveAll() public méthode

public SaveAll ( string filename ) : void
filename string
Résultat void

SaveDrawings() public méthode

public SaveDrawings ( string filename ) : void
filename string
Résultat void