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 29 of file vectorimage.cpp.
VectorImage::VectorImage | ( | const VectorImage & | v2 | ) |
Definition at line 34 of file vectorimage.cpp.
|
override |
Definition at line 42 of file vectorimage.cpp.
void VectorImage::addArea | ( | BezierArea | bezierArea | ) |
VectorImage::addArea.
bezierArea | BezierArea |
Definition at line 2223 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 341 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 230 of file vectorimage.cpp.
void VectorImage::applyColorToSelectedArea | ( | int | colorNumber | ) |
VectorImage::applyColorToSelectedArea.
colorNumber | int |
Definition at line 1315 of file vectorimage.cpp.
void VectorImage::applyColorToSelectedCurve | ( | int | colorNumber | ) |
VectorImage::applyColorToSelectedCurve.
colorNumber | int Changes the color of the curve |
Definition at line 1302 of file vectorimage.cpp.
void VectorImage::applyFeatherToSelection | ( | qreal | feather | ) |
VectorImage::applyFeatherToSelection.
feather | qreal |
Definition at line 1341 of file vectorimage.cpp.
void VectorImage::applyInvisibilityToSelection | ( | bool | YesOrNo | ) |
VectorImage::applyInvisibilityToSelection.
YesOrNo | bool |
Definition at line 1368 of file vectorimage.cpp.
void VectorImage::applyOpacityToSelection | ( | qreal | opacity | ) |
VectorImage::applyOpacityToSelection.
opacity | qreal |
Definition at line 1354 of file vectorimage.cpp.
void VectorImage::applySelectionTransformation | ( | ) |
VectorImage::applySelectionTransformation.
Definition at line 1274 of file vectorimage.cpp.
void VectorImage::applySelectionTransformation | ( | QTransform | transf | ) |
VectorImage::applySelectionTransformation.
transf | QTransform |
Definition at line 1283 of file vectorimage.cpp.
void VectorImage::applyVariableWidthToSelection | ( | bool | YesOrNo | ) |
VectorImage::applyVariableWidthToSelection.
YesOrNo | bool |
Definition at line 1381 of file vectorimage.cpp.
void VectorImage::applyWidthToSelection | ( | qreal | width | ) |
VectorImage::applyWidthToSelection.
width | qreal |
Definition at line 1328 of file vectorimage.cpp.
void VectorImage::calculateSelectionRect | ( | ) |
VectorImage::calculateSelectionRect.
Definition at line 883 of file vectorimage.cpp.
|
private |
VectorImage::checkCurveExtremity.
newCurve | BezierCurve& |
tolerance | qreal |
Definition at line 351 of file vectorimage.cpp.
|
private |
VectorImage::checkCurveIntersections.
newCurve | BezierCurve& |
tolerance | qreal |
Definition at line 437 of file vectorimage.cpp.
void VectorImage::clean | ( | ) |
VectorImage::clean.
Definition at line 1259 of file vectorimage.cpp.
void VectorImage::clear | ( | ) |
VectorImage::clear.
Definition at line 1249 of file vectorimage.cpp.
|
overridevirtual |
Reimplemented from KeyFrame.
Definition at line 62 of file vectorimage.cpp.
Status VectorImage::createDomElement | ( | QXmlStreamWriter & | xmlStream | ) |
VectorImage::createDomElement.
xmlStream | QXmlStreamWriter& |
Definition at line 161 of file vectorimage.cpp.
BezierCurve & VectorImage::curve | ( | int | i | ) |
Definition at line 219 of file vectorimage.cpp.
void VectorImage::deleteSelectedPoints | ( | ) |
VectorImage::deleteSelectedPoints.
Definition at line 1030 of file vectorimage.cpp.
void VectorImage::deleteSelection | ( | ) |
VectorImage::deleteSelection.
Definition at line 906 of file vectorimage.cpp.
void VectorImage::deselectAll | ( | ) |
VectorImage::deselectAll.
Definition at line 839 of file vectorimage.cpp.
VectorImage::fillContour.
contourPath | |
color | fills the contour with a given color |
Definition at line 1829 of file vectorimage.cpp.
void VectorImage::fillSelectedPath | ( | int | color | ) |
VectorImage::fillSelectedPath.
color | fills the selected path with a given color |
Definition at line 1789 of file vectorimage.cpp.
VectorImage::getAllVertices.
Definition at line 1684 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 1532 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 1555 of file vectorimage.cpp.
QRectF VectorImage::getBoundsOfTransformedCurves | ( | ) | const |
Definition at line 865 of file vectorimage.cpp.
QPointF VectorImage::getC1 | ( | int | curveNumber, |
int | vertexNumber | ||
) |
VectorImage::getC1.
curveNumber | int |
vertexNumber | int |
Definition at line 1601 of file vectorimage.cpp.
VectorImage::getC1.
vertexRef | VertexRef |
Definition at line 1621 of file vectorimage.cpp.
QPointF VectorImage::getC2 | ( | int | curveNumber, |
int | vertexNumber | ||
) |
VectorImage::getC2.
curveNumber | int |
vertexNumber | int |
Definition at line 1632 of file vectorimage.cpp.
VectorImage::getC2.
vertexRef | VertexRef |
Definition at line 1652 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 1429 of file vectorimage.cpp.
int VectorImage::getColorNumber | ( | QPointF | point | ) |
VectorImage::getColorNumber.
point | The QPoint of the BezierArea |
Definition at line 1097 of file vectorimage.cpp.
VectorImage::getCurvesCloseTo.
P1 | QPointF |
maxDistance | qreal |
Definition at line 1398 of file vectorimage.cpp.
int VectorImage::getCurvesColor | ( | int | curve | ) |
VectorImage::getCurvesColor.
curve | Int of the curve from a QList of curves |
Definition at line 1112 of file vectorimage.cpp.
int VectorImage::getCurveSize | ( | int | curveNumber | ) |
VectorImage::getCurveSize.
curveNumber | int |
Definition at line 1704 of file vectorimage.cpp.
VectorImage::getCurveVertices.
curveNumber | int |
Definition at line 1662 of file vectorimage.cpp.
VectorImage::getDistance.
r1 | VertexRef |
r2 | VertexRef |
Definition at line 2384 of file vectorimage.cpp.
int VectorImage::getFirstAreaNumber | ( | QPointF | point | ) |
VectorImage::getFirstAreaNumber.
point | QPointF |
Definition at line 2235 of file vectorimage.cpp.
int VectorImage::getFirstSelectedArea | ( | ) |
VectorImage::getFirstSelectedArea.
Definition at line 800 of file vectorimage.cpp.
int VectorImage::getFirstSelectedCurve | ( | ) |
VectorImage::getFirstSelectedCurve.
Definition at line 786 of file vectorimage.cpp.
int VectorImage::getLastAreaNumber | ( | QPointF | point | ) |
VectorImage::getLastAreaNumber.
point | QPointF |
Definition at line 2256 of file vectorimage.cpp.
int VectorImage::getLastAreaNumber | ( | QPointF | point, |
int | maxAreaNumber | ||
) |
VectorImage::getLastAreaNumber.
point | QPointF |
maxAreaNumber | int |
Definition at line 2284 of file vectorimage.cpp.
BezierCurve VectorImage::getLastCurve | ( | ) |
VectorImage::getLastCurve.
Definition at line 2273 of file vectorimage.cpp.
int VectorImage::getLastCurveNumber | ( | ) |
VectorImage::getLastCurveNumber.
Definition at line 2264 of file vectorimage.cpp.
int VectorImage::getNumOfCurvesSelected | ( | ) |
VectorImage::numOfCurvesSelected.
Definition at line 1754 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 1772 of file vectorimage.cpp.
QList< int > VectorImage::getSelectedCurveNumbers | ( | ) |
VectorImage::getSelectedCurveNumber.
Definition at line 1737 of file vectorimage.cpp.
QList< BezierCurve > VectorImage::getSelectedCurves | ( | ) |
VectorImage::getSelectedCurve.
Definition at line 1720 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 1566 of file vectorimage.cpp.
VectorImage::getVertex.
vertexRef | VertexRef |
Definition at line 1590 of file vectorimage.cpp.
VectorImage::getVerticesCloseTo.
P1 | QPointF |
maxDistance | qreal |
Definition at line 1458 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 1487 of file vectorimage.cpp.
VectorImage::getVerticesCloseTo.
P1ref | |
maxDistance |
Definition at line 1508 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 1520 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 295 of file vectorimage.cpp.
bool VectorImage::isAnyCurveSelected | ( | ) |
VectorImage::isAnyCurveSelected.
Definition at line 826 of file vectorimage.cpp.
bool VectorImage::isAreaSelected | ( | int | areaNumber | ) |
VectorImage::isAreaSelected.
areaNumber | int |
Definition at line 696 of file vectorimage.cpp.
bool VectorImage::isCurveVisible | ( | int | curve | ) |
Definition at line 1122 of file vectorimage.cpp.
|
inline |
Definition at line 82 of file vectorimage.h.
bool VectorImage::isPathFilled | ( | ) |
VectorImage::isPathFilled.
Definition at line 705 of file vectorimage.cpp.
bool VectorImage::isSelected | ( | int | curveNumber | ) |
VectorImage::isSelected.
curveNumber | The curve you wish to check |
Definition at line 726 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 737 of file vectorimage.cpp.
bool VectorImage::isSelected | ( | QList< int > | curveList | ) |
VectorImage::isSelected.
curveList | The curve you wish to check |
Definition at line 757 of file vectorimage.cpp.
VectorImage::isSelected.
vertexList | list of vertices you wish to check |
Definition at line 772 of file vectorimage.cpp.
bool VectorImage::isSelected | ( | VertexRef | vertexRef | ) |
VectorImage::isSelected.
vertexRef | VertexRef |
Definition at line 747 of file vectorimage.cpp.
void VectorImage::loadDomElement | ( | QDomElement | element | ) |
VectorImage::loadDomElement.
element | QDomElement |
Definition at line 193 of file vectorimage.cpp.
void VectorImage::moveColor | ( | int | start, |
int | end | ||
) |
Definition at line 1171 of file vectorimage.cpp.
VectorImage & VectorImage::operator= | ( | const VectorImage & | a | ) |
Definition at line 46 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 1191 of file vectorimage.cpp.
void VectorImage::paste | ( | VectorImage & | vectorImage | ) |
VectorImage::paste.
vectorImage | VectorIamge& |
Definition at line 1049 of file vectorimage.cpp.
bool VectorImage::read | ( | QString | filePath | ) |
VectorImage::read.
Definition at line 73 of file vectorimage.cpp.
void VectorImage::removeArea | ( | QPointF | point | ) |
VectorImage::removeArea.
point | Remove the area under cursor |
Definition at line 2305 of file vectorimage.cpp.
void VectorImage::removeAreaInCurve | ( | int | curve, |
int | areaNumber | ||
) |
VectorImage::removeAreaInCurve.
curve | |
areaNumber | remove the area in a curve |
Definition at line 2321 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 273 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 952 of file vectorimage.cpp.
void VectorImage::select | ( | QRectF | rectangle | ) |
Definition at line 595 of file vectorimage.cpp.
void VectorImage::selectAll | ( | ) |
VectorImage::selectAll.
Definition at line 813 of file vectorimage.cpp.
void VectorImage::setAreaSelected | ( | int | areaNumber, |
bool | YesOrNo | ||
) |
VectorImage::setAreaSelected.
areaNumber | int |
YesOrNo | bool |
Definition at line 684 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 616 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 633 of file vectorimage.cpp.
void VectorImage::setSelected | ( | QList< int > | curveList, |
bool | YesOrNo | ||
) |
VectorImage::setSelected.
curveList | the list of curves |
YesOrNo | bool |
Definition at line 658 of file vectorimage.cpp.
VectorImage::setSelected.
vertexList | |
YesOrNo | bool |
Definition at line 671 of file vectorimage.cpp.
void VectorImage::setSelected | ( | VertexRef | vertexRef, |
bool | YesOrNo | ||
) |
VectorImage::setSelected.
vertexRef | the vertexRef of the curve |
YesOrNo | bool |
Definition at line 648 of file vectorimage.cpp.
void VectorImage::setSelectionRect | ( | QRectF | rectangle | ) |
VectorImage::setSelectionRect.
rectangle | QRectF |
Definition at line 859 of file vectorimage.cpp.
void VectorImage::setSelectionTransformation | ( | QTransform | transform | ) |
VectorImage::setSelectionTransformation.
transform | QTransform |
Definition at line 897 of file vectorimage.cpp.
void VectorImage::updateArea | ( | BezierArea & | bezierArea | ) |
VectorImage::updateArea.
bezierArea | BezierArea& |
Definition at line 2331 of file vectorimage.cpp.
|
private |
VectorImage::updateImageSize.
updatedCurve | BezierCurve& |
Definition at line 2393 of file vectorimage.cpp.
bool VectorImage::usesColor | ( | int | index | ) |
VectorImage::write.
filePath | QString |
format | QString of the file format |
Definition at line 112 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.