![]() |
QElectroTech 0.200.1-dev
|
#include <pdf_links.h>

Public Attributes | |
| QTransform | sceneToDevice |
| scene coordinates -> device pixels (the same "fit" render() applied) | |
| QRectF | target |
| device paint rectangle, in pixels (the page area) | |
| QRectF | pageBounds |
| links whose rectangle falls outside this are dropped | |
| std::function< QPointF(const QPointF &)> | devToPdf |
| device pixels -> PDF points (replicates the engine's page matrix) | |
| std::function< QRectF(Diagram *)> | sourceRectOf |
| a diagram -> its source rectangle in scene pixels (for /FitR framing) | |
Geometry mapping for one rendered PDF page. Each caller builds this from its OWN page setup (printer page layout vs QPdfWriter), since the device-pixel and point conversions differ between them.
| std::function<QPointF(const QPointF &)> PdfLinks::PageGeometry::devToPdf |
device pixels -> PDF points (replicates the engine's page matrix)
| QRectF PdfLinks::PageGeometry::pageBounds |
links whose rectangle falls outside this are dropped
| QTransform PdfLinks::PageGeometry::sceneToDevice |
scene coordinates -> device pixels (the same "fit" render() applied)
| std::function<QRectF(Diagram *)> PdfLinks::PageGeometry::sourceRectOf |
a diagram -> its source rectangle in scene pixels (for /FitR framing)
| QRectF PdfLinks::PageGeometry::target |
device paint rectangle, in pixels (the page area)