Kstars
imageexporter.h
48 * @note This method calls an SVG backend instead if the file extension is svg. Otherwise, it draws raster.
77 * @param size a pointer to a QSize containing the size of images. If a null pointer is supplied, the SkyMap size is used.
Backends for exporting a sky image, either raster or vector, with a legend.
Definition imageexporter.h:24
void setLegendProperties(Legend::LEGEND_TYPE type, Legend::LEGEND_ORIENTATION orientation, Legend::LEGEND_POSITION position, int alpha=160, bool include=true)
Set the legend properties.
Definition imageexporter.cpp:241
bool exportImage(QString url)
Exports an image with the defined settings.
Definition imageexporter.cpp:188
void setRasterOutputSize(const QSize *size)
Set the size of output raster images.
Definition imageexporter.cpp:263
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.