Skip to content
Permalink
Browse files

Expand docs

  • Loading branch information
nyalldawson committed Dec 6, 2017
1 parent e8a42c9 commit a56c937012ce6d0197ecf93d3462856a5a75ff26
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/core/layout/qgslayout.h
@@ -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

0 comments on commit a56c937

Please sign in to comment.
You can’t perform that action at this time.