Skip to content
Permalink
Browse files

Revert "Revert sipfile changes"

This reverts commit f728465.
  • Loading branch information
mhugent committed Jan 19, 2016
1 parent f728465 commit aa3e550a2f6c46642bf37ccc42ff2541d8aa9488
Showing with 5 additions and 1 deletion.
  1. +1 −1 python/core/qgsmapsettings.sip
  2. +1 −0 python/core/qgsrendercontext.sip
  3. +3 −0 python/gui/qgsmapcanvas.sip
@@ -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;

@@ -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;

@@ -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/;

0 comments on commit aa3e550

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