C# Класс Pinta.Core.ShapeTool

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

Защищенные свойства (Protected)

Свойство Тип Описание
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

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

Метод Описание
ShapeTool ( ) : System

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

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

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

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

protected BuildToolBar ( Gtk tb ) : void
tb Gtk
Результат void

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

protected CreateHistoryItem ( ) : BaseHistoryItem
Результат BaseHistoryItem

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

protected DrawShape ( Rectangle r, Layer l ) : Rectangle
r Cairo.Rectangle
l Layer
Результат Cairo.Rectangle

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

protected GetRectangleFromPoints ( PointD a, PointD b ) : Gdk.Rectangle
a Cairo.PointD
b Cairo.PointD
Результат Gdk.Rectangle

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

protected MinusButtonClickedEvent ( object o, EventArgs args ) : void
o object
args System.EventArgs
Результат void

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

protected OnBuildToolBar ( Gtk tb ) : void
tb Gtk
Результат void

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

protected OnMouseDown ( Gtk canvas, Gtk args, Cairo point ) : void
canvas Gtk
args Gtk
point Cairo
Результат void

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

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

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

protected OnMouseUp ( Gtk canvas, Gtk args, Cairo point ) : void
canvas Gtk
args Gtk
point Cairo
Результат void

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

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

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

protected PointsToRectangle ( PointD p1, PointD p2, bool constrain ) : Rectangle
p1 PointD
p2 PointD
constrain bool
Результат Rectangle

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

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

Описание свойств

brush_width защищенное свойство

protected ToolBarComboBox brush_width
Результат ToolBarComboBox

brush_width_label защищенное свойство

protected ToolBarLabel brush_width_label
Результат ToolBarLabel

brush_width_minus защищенное свойство

protected ToolBarButton brush_width_minus
Результат ToolBarButton

brush_width_plus защищенное свойство

protected ToolBarButton brush_width_plus
Результат ToolBarButton

current_point защищенное свойство

protected PointD current_point
Результат PointD

fill_color защищенное свойство

protected Color fill_color
Результат Color

fill_outline защищенное свойство

protected ToolBarComboBox fill_outline
Результат ToolBarComboBox

fill_outline_image защищенное свойство

protected ToolBarImage fill_outline_image
Результат ToolBarImage

fill_outline_label защищенное свойство

protected ToolBarLabel fill_outline_label
Результат ToolBarLabel

is_drawing защищенное свойство

protected bool is_drawing
Результат bool

last_dirty защищенное свойство

protected Rectangle last_dirty
Результат Rectangle

outline_color защищенное свойство

protected Color outline_color
Результат Color

shape_origin защищенное свойство

protected PointD shape_origin
Результат PointD

spacer_label защищенное свойство

protected ToolBarLabel spacer_label
Результат ToolBarLabel

surface_modified защищенное свойство

protected bool surface_modified
Результат bool

undo_surface защищенное свойство

protected ImageSurface undo_surface
Результат ImageSurface