C# Class Pinta.Core.BaseBrushTool

Inheritance: BaseTool
ファイルを表示 Open project: xxgreg/Pinta

Protected Properties

Property Type Description
brush_width ToolBarComboBox
brush_width_label ToolBarLabel
brush_width_minus Pinta.Core.ToolBarButton
brush_width_plus Pinta.Core.ToolBarButton
mouse_button uint
surface_modified bool
undo_surface Cairo.ImageSurface

Protected Methods

Method Description
GetRectangleFromPoints ( Point a, Point b ) : Gdk.Rectangle
MinusButtonClickedEvent ( object o, EventArgs args ) : void
OnBuildToolBar ( Gtk.Toolbar tb ) : void
OnMouseDown ( Gtk canvas, Gtk args, Cairo point ) : void
OnMouseUp ( Gtk canvas, Gtk args, Cairo point ) : void
PlusButtonClickedEvent ( object o, EventArgs args ) : void

Method Details

GetRectangleFromPoints() protected method

protected GetRectangleFromPoints ( Point a, Point b ) : Gdk.Rectangle
a Point
b Point
return Gdk.Rectangle

MinusButtonClickedEvent() protected method

protected MinusButtonClickedEvent ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void

OnBuildToolBar() protected method

protected OnBuildToolBar ( Gtk.Toolbar tb ) : void
tb Gtk.Toolbar
return void

OnMouseDown() protected method

protected OnMouseDown ( Gtk canvas, Gtk args, Cairo point ) : void
canvas Gtk
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

PlusButtonClickedEvent() protected method

protected PlusButtonClickedEvent ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void

Property Details

brush_width protected_oe property

protected ToolBarComboBox,Pinta.Core brush_width
return ToolBarComboBox

brush_width_label protected_oe property

protected ToolBarLabel,Pinta.Core brush_width_label
return ToolBarLabel

brush_width_minus protected_oe property

protected ToolBarButton,Pinta.Core brush_width_minus
return Pinta.Core.ToolBarButton

brush_width_plus protected_oe property

protected ToolBarButton,Pinta.Core brush_width_plus
return Pinta.Core.ToolBarButton

mouse_button protected_oe property

protected uint mouse_button
return uint

surface_modified protected_oe property

protected bool surface_modified
return bool

undo_surface protected_oe property

protected ImageSurface,Cairo undo_surface
return Cairo.ImageSurface