mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-24 16:18:04 +03:00
Anchor has been added to ItemGeometry
This commit is contained in:
@@ -56,6 +56,24 @@ class PrintRange;
|
||||
class ReportDesignWindow;
|
||||
class ReportExporterInterface;
|
||||
|
||||
|
||||
class ItemGeometryHelper{
|
||||
public:
|
||||
ItemGeometryHelper(const ItemGeometry& geometry)
|
||||
: m_geometry(geometry){}
|
||||
qreal sceneX();
|
||||
qreal sceneY();
|
||||
qreal sceneWidth();
|
||||
qreal sceneHeight();
|
||||
QPointF scenePos();
|
||||
QSizeF sceneSize();
|
||||
QPointF mapToPage(const PageItemDesignIntf &page);
|
||||
private:
|
||||
qreal valueToPixels(qreal value);
|
||||
private:
|
||||
const ItemGeometry& m_geometry;
|
||||
};
|
||||
|
||||
class ReportEnginePrivateInterface {
|
||||
public:
|
||||
virtual PageDesignIntf* appendPage(const QString& pageName="") = 0;
|
||||
|
||||
Reference in New Issue
Block a user