Revert "Revert sipfile changes"

This reverts commit f7284651218c7ebb0eb043e98f648ee04be42f83.
This commit is contained in:
Marco Hugentobler 2016-01-19 14:43:45 +01:00
parent f728465121
commit aa3e550a2f
3 changed files with 5 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class QgsMapSettings
UseRenderingOptimization, //!< Enable vector simplification and other rendering optimizations
DrawSelection, //!< Whether vector selections should be shown in the rendered map
DrawSymbolBounds, //!< Draw bounds of symbols (for debugging/testing)
// TODO: ignore scale-based visibility (overview)
RenderMapTile
};
typedef QFlags<QgsMapSettings::Flag> Flags;

View File

@ -19,6 +19,7 @@ class QgsRenderContext
UseRenderingOptimization, //!< Enable vector simplification and other rendering optimizations
DrawSelection, //!< Whether vector selections should be shown in the rendered map
DrawSymbolBounds, //!< Draw bounds of symbols (for debugging/testing)
RenderMapTile
};
typedef QFlags<QgsRenderContext::Flag> Flags;

View File

@ -276,6 +276,9 @@ class QgsMapCanvas : QGraphicsView
//! true if antialising is enabled
bool antiAliasingEnabled() const;
//! sets map tile rendering flag
void enableMapTileRendering( bool theFlag );
//! Select which Qt class to render with
//! @deprecated since 2.4 - does nothing because now we always render to QImage
void useImageToRender( bool theFlag ) /Deprecated/;