C# Class Pinta.Core.ShapeTool

Inheritance: BaseTool
Afficher le fichier Open project: xxgreg/Pinta

Protected Properties

Свойство Type Description
brush_width ToolBarComboBox
brush_width_label ToolBarLabel
brush_width_minus ToolBarButton
brush_width_plus ToolBarButton
current_point PointD
fill_color Color
fill_outline ToolBarComboBox
fill_outline_image ToolBarImage
fill_outline_label ToolBarLabel
is_drawing bool
last_dirty Rectangle
outline_color Color
shape_origin PointD
spacer_label ToolBarLabel
surface_modified bool
undo_surface ImageSurface

Méthodes publiques

Méthode Description
ShapeTool ( ) : System

Méthodes protégées

Méthode Description
BuildToolBar ( Gtk tb ) : void
CreateHistoryItem ( ) : BaseHistoryItem
DrawShape ( Rectangle r, Layer l ) : Rectangle
GetRectangleFromPoints ( PointD a, PointD b ) : Gdk.Rectangle
MinusButtonClickedEvent ( object o, EventArgs args ) : void
OnBuildToolBar ( Gtk tb ) : void
OnMouseDown ( Gtk canvas, Gtk args, Cairo point ) : void
OnMouseMove ( object o, Gtk args, Cairo point ) : void
OnMouseUp ( Gtk canvas, Gtk args, Cairo point ) : void
PlusButtonClickedEvent ( object o, EventArgs args ) : void
PointsToRectangle ( PointD p1, PointD p2, bool constrain ) : Rectangle

Method Details

BuildToolBar() protected méthode

protected BuildToolBar ( Gtk tb ) : void
tb Gtk
Résultat void

CreateHistoryItem() protected méthode

protected CreateHistoryItem ( ) : BaseHistoryItem
Résultat BaseHistoryItem

DrawShape() protected méthode

protected DrawShape ( Rectangle r, Layer l ) : Rectangle
r Cairo.Rectangle
l Layer
Résultat Cairo.Rectangle

GetRectangleFromPoints() protected méthode

protected GetRectangleFromPoints ( PointD a, PointD b ) : Gdk.Rectangle
a Cairo.PointD
b Cairo.PointD
Résultat Gdk.Rectangle

MinusButtonClickedEvent() protected méthode

protected MinusButtonClickedEvent ( object o, EventArgs args ) : void
o object
args System.EventArgs
Résultat void

OnBuildToolBar() protected méthode

protected OnBuildToolBar ( Gtk tb ) : void
tb Gtk
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( Gtk canvas, Gtk args, Cairo point ) : void
canvas Gtk
args Gtk
point Cairo
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( object o, Gtk args, Cairo point ) : void
o object
args Gtk
point Cairo
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( Gtk canvas, Gtk args, Cairo point ) : void
canvas Gtk
args Gtk
point Cairo
Résultat void

PlusButtonClickedEvent() protected méthode

protected PlusButtonClickedEvent ( object o, EventArgs args ) : void
o object
args EventArgs
Résultat void

PointsToRectangle() protected méthode

protected PointsToRectangle ( PointD p1, PointD p2, bool constrain ) : Rectangle
p1 PointD
p2 PointD
constrain bool
Résultat Rectangle

ShapeTool() public méthode

public ShapeTool ( ) : System
Résultat System

Property Details

brush_width protected_oe property

protected ToolBarComboBox brush_width
Résultat ToolBarComboBox

brush_width_label protected_oe property

protected ToolBarLabel brush_width_label
Résultat ToolBarLabel

brush_width_minus protected_oe property

protected ToolBarButton brush_width_minus
Résultat ToolBarButton

brush_width_plus protected_oe property

protected ToolBarButton brush_width_plus
Résultat ToolBarButton

current_point protected_oe property

protected PointD current_point
Résultat PointD

fill_color protected_oe property

protected Color fill_color
Résultat Color

fill_outline protected_oe property

protected ToolBarComboBox fill_outline
Résultat ToolBarComboBox

fill_outline_image protected_oe property

protected ToolBarImage fill_outline_image
Résultat ToolBarImage

fill_outline_label protected_oe property

protected ToolBarLabel fill_outline_label
Résultat ToolBarLabel

is_drawing protected_oe property

protected bool is_drawing
Résultat bool

last_dirty protected_oe property

protected Rectangle last_dirty
Résultat Rectangle

outline_color protected_oe property

protected Color outline_color
Résultat Color

shape_origin protected_oe property

protected PointD shape_origin
Résultat PointD

spacer_label protected_oe property

protected ToolBarLabel spacer_label
Résultat ToolBarLabel

surface_modified protected_oe property

protected bool surface_modified
Résultat bool

undo_surface protected_oe property

protected ImageSurface undo_surface
Résultat ImageSurface