#include <phosphortiles_export.h>#include <PhosphorLayoutApi/LayoutPreview.h>#include <QSize>#include <QString>Go to the source code of this file.
Namespaces | |
| namespace | PhosphorTiles |
Functions | |
| PHOSPHORTILES_EXPORT PhosphorLayout::LayoutPreview | PhosphorTiles::previewFromAlgorithm (const QString &algorithmId, PhosphorTiles::TilingAlgorithm *algorithm, int windowCount, PhosphorTiles::ITileAlgorithmRegistry *registry, QSize canvasSize={}) |
| Convert a single TilingAlgorithm into a renderer-ready LayoutPreview. | |
| PHOSPHORTILES_EXPORT PhosphorLayout::LayoutPreview | PhosphorTiles::previewFromAlgorithm (PhosphorTiles::TilingAlgorithm *algorithm, int windowCount, PhosphorTiles::ITileAlgorithmRegistry *registry, QSize canvasSize={}) |
Convenience overload that reads the algorithm's stable id from TilingAlgorithm::registryId() (populated by AlgorithmRegistry::registerAlgorithm). | |