C# 클래스 Pinta.Core.ShapeTool

상속: BaseTool
파일 보기 프로젝트 열기: xxgreg/Pinta

보호된 프로퍼티들

프로퍼티 타입 설명
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