Seamly2D
Code documentation
vlayoutpiece.cpp File Reference
#include "vlayoutpiece.h"
#include <QBrush>
#include <QFlags>
#include <QFont>
#include <QFontMetrics>
#include <QGraphicsPathItem>
#include <QList>
#include <QMatrix>
#include <QMessageLogger>
#include <QPainterPath>
#include <QPoint>
#include <QPolygonF>
#include <QTransform>
#include <Qt>
#include <QtDebug>
#include "global.h"
#include "../vpatterndb/floatItemData/vpatternlabeldata.h"
#include "../vpatterndb/floatItemData/vpiecelabeldata.h"
#include "../ifc/ifcdef.h"
#include "../vmisc/vmath.h"
#include "../vmisc/vabstractapplication.h"
#include "../vmisc/vcommonsettings.h"
#include "../vpatterndb/calculator.h"
#include "../vgeometry/vpointf.h"
#include "vlayoutdef.h"
#include "vlayoutpiece_p.h"
#include "vtextmanager.h"
#include "vgraphicsfillitem.h"
Include dependency graph for vlayoutpiece.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{vlayoutpiece.cpp}
 

Functions

QVector< VLayoutPiecePathanonymous_namespace{vlayoutpiece.cpp}::ConvertInternalPaths (const VPiece &piece, const VContainer *pattern, const bool isCut)
 
bool anonymous_namespace{vlayoutpiece.cpp}::FindLabelGeometry (const VPatternLabelData &labelData, const VContainer *pattern, qreal &rotationAngle, qreal &labelWidth, qreal &labelHeight, QPointF &pos)
 
bool anonymous_namespace{vlayoutpiece.cpp}::FindGrainlineGeometry (const VGrainlineData &data, const VContainer *pattern, qreal &length, qreal &rotationAngle, QPointF &pos)
 
bool anonymous_namespace{vlayoutpiece.cpp}::IsItemContained (const QRectF &parentBoundingRect, const QVector< QPointF > &shape, qreal &dX, qreal &dY)
 
QVector< QPointF > anonymous_namespace{vlayoutpiece.cpp}::CorrectPosition (const QRectF &parentBoundingRect, QVector< QPointF > points)
 
QVector< VSAPointanonymous_namespace{vlayoutpiece.cpp}::PrepareAllowance (const QVector< QPointF > &points)
 
QPointF anonymous_namespace{vlayoutpiece.cpp}::RotatePoint (const QPointF &ptCenter, const QPointF &pt, qreal rotationAngle)
 VLayoutPiece::RotatePoint rotates a point around the center for given angle. More...
 
QStringList anonymous_namespace{vlayoutpiece.cpp}::PieceLabelText (const QVector< QPointF > &labelShape, const VTextManager &tm)