#include <vectordatamanager.h>
◆ VectorDataManager() [1/2]
VectorDataManager::VectorDataManager |
( |
| ) |
|
◆ VectorDataManager() [2/2]
VectorDataManager::VectorDataManager |
( |
vector< VectorData > |
p_vectorData | ) |
|
◆ ~VectorDataManager()
VectorDataManager::~VectorDataManager |
( |
| ) |
|
|
virtual |
◆ add() [1/2]
◆ add() [2/2]
◆ addClosePath()
void VectorDataManager::addClosePath |
( |
| ) |
|
◆ addCubic()
◆ addCurve()
◆ addEndFill()
void VectorDataManager::addEndFill |
( |
| ) |
|
◆ addFill() [1/2]
void VectorDataManager::addFill |
( |
ColorData |
p_color | ) |
|
◆ addFill() [2/2]
void VectorDataManager::addFill |
( |
string |
p_gradientID | ) |
|
◆ addImage()
◆ addInit() [1/2]
void VectorDataManager::addInit |
( |
| ) |
|
◆ addInit() [2/2]
void VectorDataManager::addInit |
( |
PointData |
p_point | ) |
|
◆ addLine()
void VectorDataManager::addLine |
( |
PointData |
p_point | ) |
|
◆ addLinePoly()
void VectorDataManager::addLinePoly |
( |
PointData |
p_point, |
|
|
double |
p_x, |
|
|
double |
p_y |
|
) |
| |
◆ addLineStyle()
◆ addMove()
void VectorDataManager::addMove |
( |
PointData |
p_point | ) |
|
◆ addQuadratic()
◆ clear()
void VectorDataManager::clear |
( |
| ) |
|
◆ clone()
◆ copySelectedShapes()
vector< VectorData > VectorDataManager::copySelectedShapes |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
|
protected |
◆ deleteSelectedShapes()
bool VectorDataManager::deleteSelectedShapes |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
|
protected |
◆ duplicateShapes()
vector< unsigned int > VectorDataManager::duplicateShapes |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
◆ flipHorizontalSelectedShape()
bool VectorDataManager::flipHorizontalSelectedShape |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
- get left-most, right-most, mid-point
- loop among selected shapes' points and invert point against location in left-mid-right
◆ flipVerticalSelectedShape()
bool VectorDataManager::flipVerticalSelectedShape |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
- get upper-most, lower-most, mid-point
- loop among selected shapes' points and invert point against location in upper-mid-lower
◆ getVectorData()
vector< VectorData > VectorDataManager::getVectorData |
( |
| ) |
|
◆ groupSelectedShapes()
vector< unsigned int > VectorDataManager::groupSelectedShapes |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
erase index if vectorType is TYPE INIT
◆ isEmpty()
bool VectorDataManager::isEmpty |
( |
| ) |
|
◆ lowerSelectedShape()
vector< unsigned int > VectorDataManager::lowerSelectedShape |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
Multiple selected Shapes can be lowered one step below its z-ordering by splicing the VectorData array into group of four. 1.) Whatever shape is behind the selected Shape less the one behind selected Shape 2.) The one behind the selected Shape 3.) The selected Shape itself 4.) All others infront of selected Shape These four groups will be merged back to one in this exact order: 1 + 3 + 2 + 4
- Returns
- True if it successfully lowered back selected Shape
- See also
- raiseSelectedShape(), raiseToTopSelectedShape() and lowerToBottomSelectedShape()
◆ lowerToBottomSelectedShape()
vector< unsigned int > VectorDataManager::lowerToBottomSelectedShape |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
To move selected item to the bottom of z-ordering,
- Copy selected shapes to Buffer
- Delete selected shapes
- Append remaining shapes to Buffer
- Delete all remaining shapes
- Paste Buffer
- Returns
- True if it successfully lowered selected Shape to bottom of z-ordering
- See also
- raiseSelectedShape(), lowerSelectedShape() and raiseToTopSelectedShape()
◆ pasteSelectedShapes()
vector< unsigned int > VectorDataManager::pasteSelectedShapes |
( |
vector< VectorData > |
p_vectorDataCopyBuffer | ) |
|
|
protected |
◆ push()
◆ raiseSelectedShape()
vector< unsigned int > VectorDataManager::raiseSelectedShape |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
Multiple selected Shapes can be raised one step above its z-ordering by splicing the VectorData array into group of four. 1.) Whatever shape is behind the selected Shape 2.) The selected Shape itself 3.) The one directly infront of the selected Shape 4.) All others infront of selected Shape less the one infront of it These four groups will be merged back to one in this exact order: 1 + 3 + 2 + 4
- Returns
- True if it successfully lowered back selected Shape
- See also
- lowerSelectedShape(), raiseToTopSelectedShape() and lowerToBottomSelectedShape()
◆ raiseToTopSelectedShape()
vector< unsigned int > VectorDataManager::raiseToTopSelectedShape |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
◆ recenterRotationPoint()
bool VectorDataManager::recenterRotationPoint |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
◆ setVectorData()
void VectorDataManager::setVectorData |
( |
vector< VectorData > |
p_vectorData | ) |
|
◆ ungroupSelectedShapes()
vector< unsigned int > VectorDataManager::ungroupSelectedShapes |
( |
vector< unsigned int > |
p_selectedShapes | ) |
|
insert TYPE INIT between ENDFILL and FILL
◆ idmaker
unsigned int VectorDataManager::idmaker |
|
static |
◆ vectorData
The documentation for this class was generated from the following files: