QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
Scoped object for temporary override of the symbologyReferenceScale property of a QgsRenderContext. More...
#include <qgsrendercontext.h>
Public Member Functions | |
QgsScopedRenderContextReferenceScaleOverride (QgsRenderContext &context, double scale) | |
Constructor for QgsScopedRenderContextReferenceScaleOverride. More... | |
QgsScopedRenderContextReferenceScaleOverride (QgsScopedRenderContextReferenceScaleOverride &&o) noexcept | |
Move constructor. More... | |
~QgsScopedRenderContextReferenceScaleOverride () | |
Returns the render context back to the original reference scale. More... | |
Scoped object for temporary override of the symbologyReferenceScale property of a QgsRenderContext.
Temporarily changes the symbologyReferenceScale, before returning it to the original value on destruction.
Definition at line 1272 of file qgsrendercontext.h.
|
inline |
Constructor for QgsScopedRenderContextReferenceScaleOverride.
Temporarily sets the render context symbologyReferenceScale to scale for the lifetime of this object.
Definition at line 1281 of file qgsrendercontext.h.
|
inlinenoexcept |
Move constructor.
Definition at line 1291 of file qgsrendercontext.h.
|
inline |
Returns the render context back to the original reference scale.
Definition at line 1301 of file qgsrendercontext.h.