C# Класс LongoMatch.Gui.Component.DrawingWidget

Наследование: Gtk.Bin
Показать файл Открыть проект

Открытые методы

Метод Описание
ClearDrawing ( ) : void
DrawingWidget ( ) : System
SaveAll ( string filename ) : void
SaveDrawings ( string filename ) : void

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ClearDrawing() публичный Метод

public ClearDrawing ( ) : void
Результат void

DrawingWidget() публичный Метод

public DrawingWidget ( ) : System
Результат System

OnDrawingareaButtonPressEvent() защищенный Метод

protected OnDrawingareaButtonPressEvent ( object o, Gtk args ) : void
o object
args Gtk
Результат void

OnDrawingareaButtonReleaseEvent() защищенный Метод

protected OnDrawingareaButtonReleaseEvent ( object o, Gtk args ) : void
o object
args Gtk
Результат void

OnDrawingareaConfigureEvent() защищенный Метод

protected OnDrawingareaConfigureEvent ( object o, Gtk args ) : void
o object
args Gtk
Результат void

OnDrawingareaExposeEvent() защищенный Метод

protected OnDrawingareaExposeEvent ( object o, Gtk args ) : void
o object
args Gtk
Результат void

OnDrawingareaMotionNotifyEvent() защищенный Метод

protected OnDrawingareaMotionNotifyEvent ( object o, Gtk args ) : void
o object
args Gtk
Результат void

OnDrawingareaSizeAllocated() защищенный Метод

protected OnDrawingareaSizeAllocated ( object o, Gtk args ) : void
o object
args Gtk
Результат void

SaveAll() публичный Метод

public SaveAll ( string filename ) : void
filename string
Результат void

SaveDrawings() публичный Метод

public SaveDrawings ( string filename ) : void
filename string
Результат void