C# Class MonoHotDraw.StandardDrawingView

Inheritance: MonoHotDraw.ContainerCanvas, IDrawingView
Mostra file Open project: mono/monohotdraw Class Usage Examples

Public Methods

Method Description
Add ( IFigure figure ) : void
AddToSelection ( FigureCollection collection ) : void
AddToSelection ( IFigure figure ) : void
ClearSelection ( ) : void
DrawingToView ( double x, double y ) : PointD
FindHandle ( double x, double y ) : IHandle
InsertFigures ( FigureCollection figures, double dx, double dy, bool check ) : FigureCollection
IsFigureSelected ( IFigure figure ) : bool
Remove ( IFigure figure ) : void
RemoveFromSelection ( IFigure figure ) : void
ScrollToMakeVisible ( PointD point ) : void
ScrollToMakeVisible ( RectangleD rect ) : void
StandardDrawingView ( IDrawingEditor editor ) : System
ToggleSelection ( IFigure figure ) : void
ViewToDrawing ( double x, double y ) : PointD

Protected Methods

Method Description
OnAdjustmentValueChanged ( object sender, EventArgs args ) : void
OnButtonPressEvent ( Gdk gdk_event ) : bool
OnButtonReleaseEvent ( Gdk.EventButton gdk_event ) : bool
OnDrawingInvalidated ( object sender, MonoHotDraw.DrawingEventArgs args ) : void
OnDrawingSizeAllocated ( object sender, MonoHotDraw.DrawingEventArgs args ) : void
OnExposeEvent ( Gdk.EventExpose ev ) : bool
OnKeyPressEvent ( Gdk ev ) : bool
OnKeyReleaseEvent ( Gdk ev ) : bool
OnMotionNotifyEvent ( Gdk.EventMotion gdk_event ) : bool
OnSizeAllocated ( Gdk allocation ) : void
OnVisibleAreaChaned ( ) : void

Private Methods

Method Description
DebugCreateTimer ( ) : void
DebugUpdateFrame ( ) : void
UpdateAdjustments ( ) : void

Method Details

Add() public method

public Add ( IFigure figure ) : void
figure IFigure
return void

AddToSelection() public method

public AddToSelection ( FigureCollection collection ) : void
collection FigureCollection
return void

AddToSelection() public method

public AddToSelection ( IFigure figure ) : void
figure IFigure
return void

ClearSelection() public method

public ClearSelection ( ) : void
return void

DrawingToView() public method

public DrawingToView ( double x, double y ) : PointD
x double
y double
return Cairo.PointD

FindHandle() public method

public FindHandle ( double x, double y ) : IHandle
x double
y double
return IHandle

InsertFigures() public method

public InsertFigures ( FigureCollection figures, double dx, double dy, bool check ) : FigureCollection
figures FigureCollection
dx double
dy double
check bool
return FigureCollection

IsFigureSelected() public method

public IsFigureSelected ( IFigure figure ) : bool
figure IFigure
return bool

OnAdjustmentValueChanged() protected method

protected OnAdjustmentValueChanged ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

OnButtonPressEvent() protected method

protected OnButtonPressEvent ( Gdk gdk_event ) : bool
gdk_event Gdk
return bool

OnButtonReleaseEvent() protected method

protected OnButtonReleaseEvent ( Gdk.EventButton gdk_event ) : bool
gdk_event Gdk.EventButton
return bool

OnDrawingInvalidated() protected method

protected OnDrawingInvalidated ( object sender, MonoHotDraw.DrawingEventArgs args ) : void
sender object
args MonoHotDraw.DrawingEventArgs
return void

OnDrawingSizeAllocated() protected method

protected OnDrawingSizeAllocated ( object sender, MonoHotDraw.DrawingEventArgs args ) : void
sender object
args MonoHotDraw.DrawingEventArgs
return void

OnExposeEvent() protected method

protected OnExposeEvent ( Gdk.EventExpose ev ) : bool
ev Gdk.EventExpose
return bool

OnKeyPressEvent() protected method

protected OnKeyPressEvent ( Gdk ev ) : bool
ev Gdk
return bool

OnKeyReleaseEvent() protected method

protected OnKeyReleaseEvent ( Gdk ev ) : bool
ev Gdk
return bool

OnMotionNotifyEvent() protected method

protected OnMotionNotifyEvent ( Gdk.EventMotion gdk_event ) : bool
gdk_event Gdk.EventMotion
return bool

OnSizeAllocated() protected method

protected OnSizeAllocated ( Gdk allocation ) : void
allocation Gdk
return void

OnVisibleAreaChaned() protected method

protected OnVisibleAreaChaned ( ) : void
return void

Remove() public method

public Remove ( IFigure figure ) : void
figure IFigure
return void

RemoveFromSelection() public method

public RemoveFromSelection ( IFigure figure ) : void
figure IFigure
return void

ScrollToMakeVisible() public method

public ScrollToMakeVisible ( PointD point ) : void
point Cairo.PointD
return void

ScrollToMakeVisible() public method

public ScrollToMakeVisible ( RectangleD rect ) : void
rect RectangleD
return void

StandardDrawingView() public method

public StandardDrawingView ( IDrawingEditor editor ) : System
editor IDrawingEditor
return System

ToggleSelection() public method

public ToggleSelection ( IFigure figure ) : void
figure IFigure
return void

ViewToDrawing() public method

public ViewToDrawing ( double x, double y ) : PointD
x double
y double
return Cairo.PointD