Public Member Functions | |
VectorImage (const VectorImage &) | |
VectorImage & | operator= (const VectorImage &a) |
VectorImage * | clone () const override |
bool | read (QString filePath) |
VectorImage::read. | |
Status | write (QString filePath, QString format) |
VectorImage::write. | |
Status | createDomElement (QXmlStreamWriter &doc) |
VectorImage::createDomElement. | |
void | loadDomElement (QDomElement element) |
VectorImage::loadDomElement. | |
BezierCurve & | curve (int i) |
void | insertCurve (int position, BezierCurve &newCurve, qreal factor, bool interacts) |
VectorImage::insertCurve. | |
void | addCurve (BezierCurve &newCurve, qreal factor, bool interacts=true) |
VectorImage::addCurve. | |
void | removeCurveAt (int i) |
VectorImage::removeCurveAt. | |
void | select (QRectF rectangle) |
void | setSelected (int curveNumber, bool YesOrNo) |
VectorImage::setSelected. | |
void | setSelected (int curveNumber, int vertexNumber, bool YesOrNo) |
VectorImage::setSelected. | |
void | setSelected (VertexRef vertexRef, bool YesOrNo) |
VectorImage::setSelected. | |
void | setSelected (QList< int > curveList, bool YesOrNo) |
VectorImage::setSelected. | |
void | setSelected (QList< VertexRef > vertexList, bool YesOrNo) |
VectorImage::setSelected. | |
bool | isSelected (int curveNumber) |
VectorImage::isSelected. | |
bool | isSelected (int curveNumber, int vertexNumber) |
VectorImage::isSelected. | |
bool | isSelected (VertexRef vertexRef) |
VectorImage::isSelected. | |
bool | isSelected (QList< int > curveList) |
VectorImage::isSelected. | |
bool | isSelected (QList< VertexRef > vertexList) |
VectorImage::isSelected. | |
bool | isAnyCurveSelected () |
VectorImage::isAnyCurveSelected. | |
void | setAreaSelected (int areaNumber, bool YesOrNo) |
VectorImage::setAreaSelected. | |
bool | isAreaSelected (int areaNumber) |
VectorImage::isAreaSelected. | |
bool | isPathFilled () |
VectorImage::isPathFilled. | |
int | getFirstSelectedCurve () |
VectorImage::getFirstSelectedCurve. | |
int | getFirstSelectedArea () |
VectorImage::getFirstSelectedArea. | |
int | getNumOfCurvesSelected () |
VectorImage::numOfCurvesSelected. | |
void | selectAll () |
VectorImage::selectAll. | |
void | deselectAll () |
VectorImage::deselectAll. | |
QRectF | getSelectionRect () |
void | setSelectionRect (QRectF rectange) |
VectorImage::setSelectionRect. | |
void | calculateSelectionRect () |
VectorImage::calculateSelectionRect. | |
void | deleteSelection () |
VectorImage::deleteSelection. | |
void | deleteSelectedPoints () |
VectorImage::deleteSelectedPoints. | |
void | removeVertex (int curve, int vertex) |
VectorImage::removeVertex. | |
QRectF | getBoundsOfTransformedCurves () const |
bool | isEmpty () const |
void | paste (VectorImage &) |
VectorImage::paste. | |
int | getColorNumber (QPointF point) |
VectorImage::getColorNumber. | |
bool | usesColor (int index) |
VectorImage::usesColor. | |
void | removeColor (int index) |
VectorImage::removeColor. | |
int | getCurvesColor (int curve) |
VectorImage::getCurvesColor. | |
bool | isCurveVisible (int curve) |
void | moveColor (int start, int end) |
void | paintImage (QPainter &painter, const Object &object, bool simplified, bool showThinCurves, bool antialiasing) |
VectorImage::paintImage. | |
void | clear () |
VectorImage::clear. | |
void | clean () |
VectorImage::clean. | |
void | setSelectionTransformation (QTransform transform) |
VectorImage::setSelectionTransformation. | |
void | applySelectionTransformation () |
VectorImage::applySelectionTransformation. | |
void | applySelectionTransformation (QTransform transform) |
VectorImage::applySelectionTransformation. | |
void | applyColorToSelectedCurve (int colorNumber) |
VectorImage::applyColorToSelectedCurve. | |
void | applyColorToSelectedArea (int colorNumber) |
VectorImage::applyColorToSelectedArea. | |
void | applyWidthToSelection (qreal width) |
VectorImage::applyWidthToSelection. | |
void | applyFeatherToSelection (qreal feather) |
VectorImage::applyFeatherToSelection. | |
void | applyOpacityToSelection (qreal opacity) |
VectorImage::applyOpacityToSelection. | |
void | applyInvisibilityToSelection (bool YesOrNo) |
VectorImage::applyInvisibilityToSelection. | |
void | applyVariableWidthToSelection (bool YesOrNo) |
VectorImage::applyVariableWidthToSelection. | |
void | fillContour (QList< QPointF > contourPath, int color) |
VectorImage::fillContour. | |
void | fillSelectedPath (int color) |
VectorImage::fillSelectedPath. | |
void | addArea (BezierArea bezierArea) |
VectorImage::addArea. | |
int | getFirstAreaNumber (QPointF point) |
VectorImage::getFirstAreaNumber. | |
int | getLastAreaNumber (QPointF point) |
VectorImage::getLastAreaNumber. | |
int | getLastAreaNumber (QPointF point, int maxAreaNumber) |
VectorImage::getLastAreaNumber. | |
int | getLastCurveNumber () |
VectorImage::getLastCurveNumber. | |
BezierCurve | getLastCurve () |
VectorImage::getLastCurve. | |
void | removeArea (QPointF point) |
VectorImage::removeArea. | |
void | removeAreaInCurve (int curve, int areaNumber) |
VectorImage::removeAreaInCurve. | |
void | updateArea (BezierArea &bezierArea) |
VectorImage::updateArea. | |
QList< int > | getCurvesCloseTo (QPointF thisPoint, qreal maxDistance) |
VectorImage::getCurvesCloseTo. | |
QList< BezierCurve > | getSelectedCurves () |
VectorImage::getSelectedCurve. | |
QList< int > | getSelectedCurveNumbers () |
VectorImage::getSelectedCurveNumber. | |
BezierArea | getSelectedArea (QPointF currentPoint) |
VectorImage::getSelectedArea. | |
VertexRef | getClosestVertexTo (const BezierCurve &curve, int curveNum, QPointF thisPoint) |
VectorImage::getClosestVertexTo. | |
QList< VertexRef > | getCurveVertices (int curveNumber) |
VectorImage::getCurveVertices. | |
QList< VertexRef > | getVerticesCloseTo (QPointF thisPoint, qreal maxDistance) |
VectorImage::getVerticesCloseTo. | |
QList< VertexRef > | getVerticesCloseTo (QPointF thisPoint, qreal maxDistance, QList< VertexRef > *listOfPoints) |
VectorImage::getVerticesCloseTo. | |
QList< VertexRef > | getVerticesCloseTo (VertexRef thisPointRef, qreal maxDistance) |
VectorImage::getVerticesCloseTo. | |
QList< VertexRef > | getVerticesCloseTo (VertexRef thisPointRef, qreal maxDistance, QList< VertexRef > *listOfPoints) |
VectorImage::getVerticesCloseTo. | |
QList< VertexRef > | getAndRemoveVerticesCloseTo (QPointF thisPoint, qreal maxDistance, QList< VertexRef > *listOfPoints) |
VectorImage::getAndRemoveVerticesCloseTo. | |
QList< VertexRef > | getAndRemoveVerticesCloseTo (VertexRef thisPointRef, qreal maxDistance, QList< VertexRef > *listOfPoints) |
VectorImage::getAndRemoveVerticesCloseTo. | |
QPointF | getVertex (int curveNumber, int vertexNumber) |
VectorImage::getVertex. | |
QPointF | getVertex (VertexRef vertexRef) |
VectorImage::getVertex. | |
QPointF | getC1 (int curveNumber, int vertexNumber) |
VectorImage::getC1. | |
QPointF | getC1 (VertexRef vertexRef) |
VectorImage::getC1. | |
QPointF | getC2 (int curveNumber, int vertexNumber) |
VectorImage::getC2. | |
QPointF | getC2 (VertexRef vertexRef) |
VectorImage::getC2. | |
QList< VertexRef > | getAllVertices () |
VectorImage::getAllVertices. | |
int | getCurveSize (int curveNumber) |
VectorImage::getCurveSize. | |
QPainterPath | getStrokedPath () |
qreal | getDistance (VertexRef r1, VertexRef r2) |
VectorImage::getDistance. | |
QSize | getSize () |
void | setOpacity (qreal opacity) |
qreal | getOpacity () const |
Public Member Functions inherited from KeyFrame | |
KeyFrame (const KeyFrame &k2) | |
KeyFrame & | operator= (const KeyFrame &k2) |
int | pos () const |
void | setPos (int position) |
int | length () const |
void | setLength (int len) |
void | modification () |
void | setModified (bool b) |
bool | isModified () const |
void | setSelected (bool b) |
bool | isSelected () const |
QString | fileName () const |
void | setFileName (QString strFileName) |
void | addEventListener (KeyFrameEventListener *) |
void | removeEventListner (KeyFrameEventListener *) |
virtual KeyFrame * | clone () const |
virtual void | loadFile () |
virtual void | unloadFile () |
virtual bool | isLoaded () const |
virtual quint64 | memoryUsage () |
Public Attributes | |
QList< BezierArea > | mArea |
QList< int > | mCurveDisplayOrders |
Private Member Functions | |
void | addPoint (int curveNumber, int vertexNumber, qreal fraction) |
VectorImage::addPoint. | |
void | checkCurveExtremity (BezierCurve &newCurve, qreal tolerance) |
VectorImage::checkCurveExtremity. | |
void | checkCurveIntersections (BezierCurve &newCurve, qreal tolerance) |
VectorImage::checkCurveIntersections. | |
void | updateImageSize (BezierCurve &updatedCurve) |
VectorImage::updateImageSize. | |
Private Attributes | |
QPainterPath | mGetStrokedPath |
QList< BezierCurve > | mCurves |
QRectF | mSelectionRect |
QTransform | mSelectionTransformation |
QSize | mSize |
qreal | mOpacity = 1.0 |
Definition at line 31 of file vectorimage.h.
VectorImage::VectorImage | ( | ) |
Definition at line 28 of file vectorimage.cpp.
VectorImage::VectorImage | ( | const VectorImage & | v2 | ) |
Definition at line 33 of file vectorimage.cpp.
|
override |
Definition at line 41 of file vectorimage.cpp.
void VectorImage::addArea | ( | BezierArea | bezierArea | ) |
VectorImage::addArea.
bezierArea | BezierArea |
Definition at line 2222 of file vectorimage.cpp.
void VectorImage::addCurve | ( | BezierCurve & | newCurve, |
qreal | factor, | ||
bool | interacts = true |
||
) |
VectorImage::addCurve.
newCurve | The curve you want added |
factor | selection factor |
interacts | set true if the curve interacts with others |
Definition at line 340 of file vectorimage.cpp.
|
private |
VectorImage::addPoint.
curveNumber | int of the curve position |
vertexNumber | int of the vertex position |
fraction | qreal of where to split the curve |
Definition at line 229 of file vectorimage.cpp.
void VectorImage::applyColorToSelectedArea | ( | int | colorNumber | ) |
VectorImage::applyColorToSelectedArea.
colorNumber | int |
Definition at line 1314 of file vectorimage.cpp.
void VectorImage::applyColorToSelectedCurve | ( | int | colorNumber | ) |
VectorImage::applyColorToSelectedCurve.
colorNumber | int Changes the color of the curve |
Definition at line 1301 of file vectorimage.cpp.
void VectorImage::applyFeatherToSelection | ( | qreal | feather | ) |
VectorImage::applyFeatherToSelection.
feather | qreal |
Definition at line 1340 of file vectorimage.cpp.
void VectorImage::applyInvisibilityToSelection | ( | bool | YesOrNo | ) |
VectorImage::applyInvisibilityToSelection.
YesOrNo | bool |
Definition at line 1367 of file vectorimage.cpp.
void VectorImage::applyOpacityToSelection | ( | qreal | opacity | ) |
VectorImage::applyOpacityToSelection.
opacity | qreal |
Definition at line 1353 of file vectorimage.cpp.
void VectorImage::applySelectionTransformation | ( | ) |
VectorImage::applySelectionTransformation.
Definition at line 1273 of file vectorimage.cpp.
void VectorImage::applySelectionTransformation | ( | QTransform | transf | ) |
VectorImage::applySelectionTransformation.
transf | QTransform |
Definition at line 1282 of file vectorimage.cpp.
void VectorImage::applyVariableWidthToSelection | ( | bool | YesOrNo | ) |
VectorImage::applyVariableWidthToSelection.
YesOrNo | bool |
Definition at line 1380 of file vectorimage.cpp.
void VectorImage::applyWidthToSelection | ( | qreal | width | ) |
VectorImage::applyWidthToSelection.
width | qreal |
Definition at line 1327 of file vectorimage.cpp.
void VectorImage::calculateSelectionRect | ( | ) |
VectorImage::calculateSelectionRect.
Definition at line 882 of file vectorimage.cpp.
|
private |
VectorImage::checkCurveExtremity.
newCurve | BezierCurve& |
tolerance | qreal |
Definition at line 350 of file vectorimage.cpp.
|
private |
VectorImage::checkCurveIntersections.
newCurve | BezierCurve& |
tolerance | qreal |
Definition at line 436 of file vectorimage.cpp.
void VectorImage::clean | ( | ) |
VectorImage::clean.
Definition at line 1258 of file vectorimage.cpp.
void VectorImage::clear | ( | ) |
VectorImage::clear.
Definition at line 1248 of file vectorimage.cpp.
|
overridevirtual |
Reimplemented from KeyFrame.
Definition at line 61 of file vectorimage.cpp.
Status VectorImage::createDomElement | ( | QXmlStreamWriter & | xmlStream | ) |
VectorImage::createDomElement.
xmlStream | QXmlStreamWriter& |
Definition at line 160 of file vectorimage.cpp.
BezierCurve & VectorImage::curve | ( | int | i | ) |
Definition at line 218 of file vectorimage.cpp.
void VectorImage::deleteSelectedPoints | ( | ) |
VectorImage::deleteSelectedPoints.
Definition at line 1029 of file vectorimage.cpp.
void VectorImage::deleteSelection | ( | ) |
VectorImage::deleteSelection.
Definition at line 905 of file vectorimage.cpp.
void VectorImage::deselectAll | ( | ) |
VectorImage::deselectAll.
Definition at line 838 of file vectorimage.cpp.
VectorImage::fillContour.
contourPath | |
color | fills the contour with a given color |
Definition at line 1828 of file vectorimage.cpp.
void VectorImage::fillSelectedPath | ( | int | color | ) |
VectorImage::fillSelectedPath.
color | fills the selected path with a given color |
Definition at line 1788 of file vectorimage.cpp.
VectorImage::getAllVertices.
Definition at line 1683 of file vectorimage.cpp.
QList< VertexRef > VectorImage::getAndRemoveVerticesCloseTo | ( | QPointF | P1, |
qreal | maxDistance, | ||
QList< VertexRef > * | listOfPoints | ||
) |
VectorImage::getAndRemoveVerticesCloseTo.
P1 | QPointF |
maxDistance | qreal |
listOfPoints | QList<VertexRef>* |
Definition at line 1531 of file vectorimage.cpp.
QList< VertexRef > VectorImage::getAndRemoveVerticesCloseTo | ( | VertexRef | P1Ref, |
qreal | maxDistance, | ||
QList< VertexRef > * | listOfPoints | ||
) |
VectorImage::getAndRemoveVerticesCloseTo.
P1Ref | VertexRef |
maxDistance | qreal |
listOfPoints | QList<VertexRef>* |
Definition at line 1554 of file vectorimage.cpp.
QRectF VectorImage::getBoundsOfTransformedCurves | ( | ) | const |
Definition at line 864 of file vectorimage.cpp.
QPointF VectorImage::getC1 | ( | int | curveNumber, |
int | vertexNumber | ||
) |
VectorImage::getC1.
curveNumber | int |
vertexNumber | int |
Definition at line 1600 of file vectorimage.cpp.
VectorImage::getC1.
vertexRef | VertexRef |
Definition at line 1620 of file vectorimage.cpp.
QPointF VectorImage::getC2 | ( | int | curveNumber, |
int | vertexNumber | ||
) |
VectorImage::getC2.
curveNumber | int |
vertexNumber | int |
Definition at line 1631 of file vectorimage.cpp.
VectorImage::getC2.
vertexRef | VertexRef |
Definition at line 1651 of file vectorimage.cpp.
VertexRef VectorImage::getClosestVertexTo | ( | const BezierCurve & | curve, |
int | curveNum, | ||
QPointF | thePoint | ||
) |
VectorImage::getClosestVertexTo.
curve | BezieCurve |
curveNum | int |
thePoint | QPointF |
Definition at line 1428 of file vectorimage.cpp.
int VectorImage::getColorNumber | ( | QPointF | point | ) |
VectorImage::getColorNumber.
point | The QPoint of the BezierArea |
Definition at line 1096 of file vectorimage.cpp.
VectorImage::getCurvesCloseTo.
P1 | QPointF |
maxDistance | qreal |
Definition at line 1397 of file vectorimage.cpp.
int VectorImage::getCurvesColor | ( | int | curve | ) |
VectorImage::getCurvesColor.
curve | Int of the curve from a QList of curves |
Definition at line 1111 of file vectorimage.cpp.
int VectorImage::getCurveSize | ( | int | curveNumber | ) |
VectorImage::getCurveSize.
curveNumber | int |
Definition at line 1703 of file vectorimage.cpp.
VectorImage::getCurveVertices.
curveNumber | int |
Definition at line 1661 of file vectorimage.cpp.
VectorImage::getDistance.
r1 | VertexRef |
r2 | VertexRef |
Definition at line 2383 of file vectorimage.cpp.
int VectorImage::getFirstAreaNumber | ( | QPointF | point | ) |
VectorImage::getFirstAreaNumber.
point | QPointF |
Definition at line 2234 of file vectorimage.cpp.
int VectorImage::getFirstSelectedArea | ( | ) |
VectorImage::getFirstSelectedArea.
Definition at line 799 of file vectorimage.cpp.
int VectorImage::getFirstSelectedCurve | ( | ) |
VectorImage::getFirstSelectedCurve.
Definition at line 785 of file vectorimage.cpp.
int VectorImage::getLastAreaNumber | ( | QPointF | point | ) |
VectorImage::getLastAreaNumber.
point | QPointF |
Definition at line 2255 of file vectorimage.cpp.
int VectorImage::getLastAreaNumber | ( | QPointF | point, |
int | maxAreaNumber | ||
) |
VectorImage::getLastAreaNumber.
point | QPointF |
maxAreaNumber | int |
Definition at line 2283 of file vectorimage.cpp.
BezierCurve VectorImage::getLastCurve | ( | ) |
VectorImage::getLastCurve.
Definition at line 2272 of file vectorimage.cpp.
int VectorImage::getLastCurveNumber | ( | ) |
VectorImage::getLastCurveNumber.
Definition at line 2263 of file vectorimage.cpp.
int VectorImage::getNumOfCurvesSelected | ( | ) |
VectorImage::numOfCurvesSelected.
Definition at line 1753 of file vectorimage.cpp.
|
inline |
Definition at line 151 of file vectorimage.h.
BezierArea VectorImage::getSelectedArea | ( | QPointF | currentPoint | ) |
VectorImage::getSelectedArea.
currentPoint | QPointF |
Definition at line 1771 of file vectorimage.cpp.
QList< int > VectorImage::getSelectedCurveNumbers | ( | ) |
VectorImage::getSelectedCurveNumber.
Definition at line 1736 of file vectorimage.cpp.
QList< BezierCurve > VectorImage::getSelectedCurves | ( | ) |
VectorImage::getSelectedCurve.
Definition at line 1719 of file vectorimage.cpp.
|
inline |
Definition at line 73 of file vectorimage.h.
|
inline |
Definition at line 148 of file vectorimage.h.
|
inline |
Definition at line 141 of file vectorimage.h.
QPointF VectorImage::getVertex | ( | int | curveNumber, |
int | vertexNumber | ||
) |
VectorImage::getVertex.
curveNumber | int |
vertexNumber | int |
Definition at line 1565 of file vectorimage.cpp.
VectorImage::getVertex.
vertexRef | VertexRef |
Definition at line 1589 of file vectorimage.cpp.
VectorImage::getVerticesCloseTo.
P1 | QPointF |
maxDistance | qreal |
Definition at line 1457 of file vectorimage.cpp.
QList< VertexRef > VectorImage::getVerticesCloseTo | ( | QPointF | P1, |
qreal | maxDistance, | ||
QList< VertexRef > * | listOfPoints | ||
) |
VectorImage::getVerticesCloseTo.
P1 | QPointF |
maxDistance | qreal |
listOfPoints | QList<VertexRef>* |
Definition at line 1486 of file vectorimage.cpp.
VectorImage::getVerticesCloseTo.
P1ref | |
maxDistance |
Definition at line 1507 of file vectorimage.cpp.
QList< VertexRef > VectorImage::getVerticesCloseTo | ( | VertexRef | P1ref, |
qreal | maxDistance, | ||
QList< VertexRef > * | listOfPoints | ||
) |
VectorImage::getVerticesCloseTo.
P1ref | VertexRef |
maxDistance | qreal |
listOfPoints | QList<VertexRef>* |
Definition at line 1519 of file vectorimage.cpp.
void VectorImage::insertCurve | ( | int | position, |
BezierCurve & | newCurve, | ||
qreal | factor, | ||
bool | interacts | ||
) |
VectorImage::insertCurve.
position | int |
newCurve | BezierCurve |
factor | selection factor |
interacts | set true if the curve interacts with others |
Definition at line 294 of file vectorimage.cpp.
bool VectorImage::isAnyCurveSelected | ( | ) |
VectorImage::isAnyCurveSelected.
Definition at line 825 of file vectorimage.cpp.
bool VectorImage::isAreaSelected | ( | int | areaNumber | ) |
VectorImage::isAreaSelected.
areaNumber | int |
Definition at line 695 of file vectorimage.cpp.
bool VectorImage::isCurveVisible | ( | int | curve | ) |
Definition at line 1121 of file vectorimage.cpp.
|
inline |
Definition at line 82 of file vectorimage.h.
bool VectorImage::isPathFilled | ( | ) |
VectorImage::isPathFilled.
Definition at line 704 of file vectorimage.cpp.
bool VectorImage::isSelected | ( | int | curveNumber | ) |
VectorImage::isSelected.
curveNumber | The curve you wish to check |
Definition at line 725 of file vectorimage.cpp.
bool VectorImage::isSelected | ( | int | curveNumber, |
int | vertexNumber | ||
) |
VectorImage::isSelected.
curveNumber | The curve you wish to check |
vertexNumber | the vertex you wish to check |
Definition at line 736 of file vectorimage.cpp.
bool VectorImage::isSelected | ( | QList< int > | curveList | ) |
VectorImage::isSelected.
curveList | The curve you wish to check |
Definition at line 756 of file vectorimage.cpp.
VectorImage::isSelected.
vertexList | list of vertices you wish to check |
Definition at line 771 of file vectorimage.cpp.
bool VectorImage::isSelected | ( | VertexRef | vertexRef | ) |
VectorImage::isSelected.
vertexRef | VertexRef |
Definition at line 746 of file vectorimage.cpp.
void VectorImage::loadDomElement | ( | QDomElement | element | ) |
VectorImage::loadDomElement.
element | QDomElement |
Definition at line 192 of file vectorimage.cpp.
void VectorImage::moveColor | ( | int | start, |
int | end | ||
) |
Definition at line 1170 of file vectorimage.cpp.
VectorImage & VectorImage::operator= | ( | const VectorImage & | a | ) |
Definition at line 45 of file vectorimage.cpp.
void VectorImage::paintImage | ( | QPainter & | painter, |
const Object & | object, | ||
bool | simplified, | ||
bool | showThinCurves, | ||
bool | antialiasing | ||
) |
VectorImage::paintImage.
painter | QPainter& |
object | const Object& |
simplified | bool |
showThinCurves | bool |
antialiasing | bool |
Definition at line 1190 of file vectorimage.cpp.
void VectorImage::paste | ( | VectorImage & | vectorImage | ) |
VectorImage::paste.
vectorImage | VectorIamge& |
Definition at line 1048 of file vectorimage.cpp.
bool VectorImage::read | ( | QString | filePath | ) |
VectorImage::read.
Definition at line 72 of file vectorimage.cpp.
void VectorImage::removeArea | ( | QPointF | point | ) |
VectorImage::removeArea.
point | Remove the area under cursor |
Definition at line 2304 of file vectorimage.cpp.
void VectorImage::removeAreaInCurve | ( | int | curve, |
int | areaNumber | ||
) |
VectorImage::removeAreaInCurve.
curve | |
areaNumber | remove the area in a curve |
Definition at line 2320 of file vectorimage.cpp.
void VectorImage::removeColor | ( | int | index | ) |
void VectorImage::removeCurveAt | ( | int | i | ) |
VectorImage::removeCurveAt.
i | int of the curve you want to curve |
Definition at line 272 of file vectorimage.cpp.
void VectorImage::removeVertex | ( | int | curve, |
int | vertex | ||
) |
VectorImage::removeVertex.
curve | int of the curve you wish to remove a vertex from |
vertex | int of the vertex you want to remove |
Definition at line 951 of file vectorimage.cpp.
void VectorImage::select | ( | QRectF | rectangle | ) |
Definition at line 594 of file vectorimage.cpp.
void VectorImage::selectAll | ( | ) |
VectorImage::selectAll.
Definition at line 812 of file vectorimage.cpp.
void VectorImage::setAreaSelected | ( | int | areaNumber, |
bool | YesOrNo | ||
) |
VectorImage::setAreaSelected.
areaNumber | int |
YesOrNo | bool |
Definition at line 683 of file vectorimage.cpp.
|
inline |
Definition at line 150 of file vectorimage.h.
void VectorImage::setSelected | ( | int | curveNumber, |
bool | YesOrNo | ||
) |
VectorImage::setSelected.
curveNumber | The curve you wish to select |
YesOrNo | bool |
Definition at line 615 of file vectorimage.cpp.
void VectorImage::setSelected | ( | int | curveNumber, |
int | vertexNumber, | ||
bool | YesOrNo | ||
) |
VectorImage::setSelected.
curveNumber | The curve you wish to select |
vertexNumber | int |
YesOrNo | bool |
Definition at line 632 of file vectorimage.cpp.
void VectorImage::setSelected | ( | QList< int > | curveList, |
bool | YesOrNo | ||
) |
VectorImage::setSelected.
curveList | the list of curves |
YesOrNo | bool |
Definition at line 657 of file vectorimage.cpp.
VectorImage::setSelected.
vertexList | |
YesOrNo | bool |
Definition at line 670 of file vectorimage.cpp.
void VectorImage::setSelected | ( | VertexRef | vertexRef, |
bool | YesOrNo | ||
) |
VectorImage::setSelected.
vertexRef | the vertexRef of the curve |
YesOrNo | bool |
Definition at line 647 of file vectorimage.cpp.
void VectorImage::setSelectionRect | ( | QRectF | rectangle | ) |
VectorImage::setSelectionRect.
rectangle | QRectF |
Definition at line 858 of file vectorimage.cpp.
void VectorImage::setSelectionTransformation | ( | QTransform | transform | ) |
VectorImage::setSelectionTransformation.
transform | QTransform |
Definition at line 896 of file vectorimage.cpp.
void VectorImage::updateArea | ( | BezierArea & | bezierArea | ) |
VectorImage::updateArea.
bezierArea | BezierArea& |
Definition at line 2330 of file vectorimage.cpp.
|
private |
VectorImage::updateImageSize.
updatedCurve | BezierCurve& |
Definition at line 2392 of file vectorimage.cpp.
bool VectorImage::usesColor | ( | int | index | ) |
VectorImage::write.
filePath | QString |
format | QString of the file format |
Definition at line 111 of file vectorimage.cpp.
QList<BezierArea> VectorImage::mArea |
Definition at line 143 of file vectorimage.h.
QList<int> VectorImage::mCurveDisplayOrders |
Definition at line 144 of file vectorimage.h.
|
private |
Definition at line 163 of file vectorimage.h.
|
private |
Definition at line 160 of file vectorimage.h.
|
private |
Definition at line 168 of file vectorimage.h.
|
private |
Definition at line 165 of file vectorimage.h.
|
private |
Definition at line 166 of file vectorimage.h.
|
private |
Definition at line 167 of file vectorimage.h.