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

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

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

Свойство Тип Описание
mode_combo ToolBarComboBox
mode_label ToolBarLabel
stencil IBitVector2D
tolerance_label ToolBarLabel
tolerance_slider Pinta.Core.ToolBarSlider

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

Метод Описание
FillStencilByColor ( ImageSurface surface, IBitVector2D stencil, ColorBgra cmp, int tolerance, Rectangle &boundingBox ) : void
FillStencilFromPoint ( ImageSurface surface, IBitVector2D stencil, Point start, int tolerance, Rectangle &boundingBox ) : void

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

Метод Описание
OnBuildToolBar ( Gtk tb ) : void
OnFillRegionComputed ( Point polygonSet ) : void
OnMouseDown ( Gtk canvas, Gtk args, PointD point ) : void

Приватные методы

Метод Описание
CheckColor ( ColorBgra a, ColorBgra b, int tolerance ) : bool

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

FillStencilByColor() публичный статический Метод

public static FillStencilByColor ( ImageSurface surface, IBitVector2D stencil, ColorBgra cmp, int tolerance, Rectangle &boundingBox ) : void
surface Cairo.ImageSurface
stencil IBitVector2D
cmp ColorBgra
tolerance int
boundingBox Cairo.Rectangle
Результат void

FillStencilFromPoint() публичный статический Метод

public static FillStencilFromPoint ( ImageSurface surface, IBitVector2D stencil, Point start, int tolerance, Rectangle &boundingBox ) : void
surface Cairo.ImageSurface
stencil IBitVector2D
start Point
tolerance int
boundingBox Cairo.Rectangle
Результат void

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

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

OnFillRegionComputed() защищенный абстрактный Метод

protected abstract OnFillRegionComputed ( Point polygonSet ) : void
polygonSet Point
Результат void

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

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

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

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

protected ToolBarComboBox,Pinta.Core mode_combo
Результат ToolBarComboBox

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

protected ToolBarLabel,Pinta.Core mode_label
Результат ToolBarLabel

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

protected IBitVector2D stencil
Результат IBitVector2D

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

protected ToolBarLabel,Pinta.Core tolerance_label
Результат ToolBarLabel

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

protected ToolBarSlider,Pinta.Core tolerance_slider
Результат Pinta.Core.ToolBarSlider