Skip to content

Commit

Permalink
Expand docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 17, 2017
1 parent e8a42c9 commit a56c937
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/layout/qgslayout.h
Expand Up @@ -35,6 +35,13 @@ class QgsLayoutUndoStack;
* \ingroup core
* \class QgsLayout
* \brief Base class for layouts, which can contain items such as maps, labels, scalebars, etc.
*
* While the raw QGraphicsScene API can be used to render the contents of a QgsLayout
* to a QPainter, it is recommended to instead use a QgsLayoutExporter to handle rendering
* layouts instead. QgsLayoutExporter automatically takes care of the intracacies of
* preparing the layout and paint devices for correct exports, respecting various
* user settings such as the layout context DPI.
*
* \since QGIS 3.0
*/
class CORE_EXPORT QgsLayout : public QGraphicsScene, public QgsExpressionContextGenerator, public QgsLayoutUndoObjectInterface
Expand Down

0 comments on commit a56c937

Please sign in to comment.