|
IntelliPhoto
0.4
|
The IntelliToolPolygon managed the Drawing of Polygonforms. More...
#include <IntelliToolPolygon.h>


Public Member Functions | |
| IntelliToolPolygon (PaintingArea *Area, IntelliColorPicker *colorPicker) | |
| IntelliToolPolygon Constructor Define the Tool-intern Parameters. More... | |
| virtual void | onMouseLeftPressed (int x, int y) override |
| A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! More... | |
| virtual void | onMouseLeftReleased (int x, int y) override |
| A function managing the left click Released of a Mouse. Call this in child classes! More... | |
| virtual void | onMouseRightPressed (int x, int y) override |
| A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! More... | |
| virtual void | onMouseRightReleased (int x, int y) override |
| A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! More... | |
| virtual void | onWheelScrolled (int value) override |
| A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes! More... | |
| virtual void | onMouseMoved (int x, int y) override |
| A function managing the mouse moved event. Call this in child classes! More... | |
Public Member Functions inherited from IntelliTool | |
| IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker) | |
| A constructor setting the general Painting Area and colorPicker. More... | |
| virtual | ~IntelliTool ()=0 |
| An abstract Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from IntelliTool | |
| PaintingArea * | Area |
| A pointer to the general PaintingArea to interact with. More... | |
| IntelliColorPicker * | colorPicker |
| A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More... | |
| LayerObject * | Active |
| A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More... | |
| LayerObject * | Canvas |
| A pointer to the drawing canvas of the tool, work on this. More... | |
| bool | drawing = false |
| A flag checking if the user is currently drawing or not. More... | |
The IntelliToolPolygon managed the Drawing of Polygonforms.
Definition at line 11 of file IntelliToolPolygon.h.
| IntelliToolPolygon::IntelliToolPolygon | ( | PaintingArea * | Area, |
| IntelliColorPicker * | colorPicker | ||
| ) |
IntelliToolPolygon Constructor Define the Tool-intern Parameters.
| Area | |
| colorPicker |
Definition at line 6 of file IntelliToolPolygon.cpp.
|
overridevirtual |
A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes!
| x | - The x coordinate relative to the active/canvas layer. |
| y | - The y coordinate relative to the active/canvas layer. |
Reimplemented from IntelliTool.
Definition at line 17 of file IntelliToolPolygon.cpp.

|
overridevirtual |
A function managing the left click Released of a Mouse. Call this in child classes!
| x | - The x coordinate relative to the active/canvas layer. |
| y | - The y coordinate relative to the active/canvas layer. |
Reimplemented from IntelliTool.
Definition at line 53 of file IntelliToolPolygon.cpp.

|
overridevirtual |
A function managing the mouse moved event. Call this in child classes!
| x | - The x coordinate of the new mouse position. |
| y | - The y coordinate of the new mouse position. |
Reimplemented from IntelliTool.
Definition at line 88 of file IntelliToolPolygon.cpp.
|
overridevirtual |
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes!
| x | - The x coordinate relative to the active/canvas layer. |
| y | - The y coordinate relative to the active/canvas layer. |
Reimplemented from IntelliTool.
Definition at line 46 of file IntelliToolPolygon.cpp.

|
overridevirtual |
A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes!
| x | - The x coordinate relative to the active/canvas layer. |
| y | - The y coordinate relative to the active/canvas layer. |
Reimplemented from IntelliTool.
Definition at line 73 of file IntelliToolPolygon.cpp.
|
overridevirtual |
A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes!
| value | - The absolute the scroll has changed. |
Reimplemented from IntelliTool.
Definition at line 77 of file IntelliToolPolygon.cpp.