|
wiRedPanda
Logic Circuit Simulator
|
CircuitExporter: render a Scene to PDF or PNG image. More...
Go to the source code of this file.
Namespaces | |
| namespace | CircuitExporter |
| Pure render functions for exporting a circuit scene to image formats. | |
Functions | |
| QImage | CircuitExporter::renderScaledImage (Scene *scene, const QRectF &paddedRect) |
| Renders scene into a transparent-filled QImage bounded by kMaxImageDimension. | |
| void | CircuitExporter::renderToImage (Scene *scene, const QString &filePath) |
| Renders scene to a PNG image file at filePath. | |
| void | CircuitExporter::renderToPdf (Scene *scene, const QString &filePath) |
| Renders scene to a PDF file at filePath. | |
Variables | |
| constexpr double | CircuitExporter::kMaxImageDimension = 4096 |
CircuitExporter: render a Scene to PDF or PNG image.
Definition in file CircuitExporter.h.