C# Class Pinta.Core.ZoomTool

Inheritance: BaseTool
Mostra file Open project: xxgreg/Pinta

Protected Properties

Property Type Description
shape_origin Cairo.PointD

Public Methods

Method Description
ZoomTool ( ) : System

Protected Methods

Method Description
OnMouseDown ( Gtk canvas, Gtk args, Cairo point ) : void
OnMouseMove ( object o, Gtk args, Cairo point ) : void
OnMouseUp ( Gtk canvas, Gtk args, Cairo point ) : void
UpdateRectangle ( PointD point ) : void

Private Methods

Method Description
PointsToRectangle ( Cairo p1, Cairo p2 ) : Rectangle

Method Details

OnMouseDown() protected method

protected OnMouseDown ( Gtk canvas, Gtk args, Cairo point ) : void
canvas Gtk
args Gtk
point Cairo
return void

OnMouseMove() protected method

protected OnMouseMove ( object o, Gtk args, Cairo point ) : void
o object
args Gtk
point Cairo
return void

OnMouseUp() protected method

protected OnMouseUp ( Gtk canvas, Gtk args, Cairo point ) : void
canvas Gtk
args Gtk
point Cairo
return void

UpdateRectangle() protected method

protected UpdateRectangle ( PointD point ) : void
point Cairo.PointD
return void

ZoomTool() public method

public ZoomTool ( ) : System
return System

Property Details

shape_origin protected_oe property

protected PointD,Cairo shape_origin
return Cairo.PointD