QGIS API Documentation 3.39.0-Master (9ea1ddbe645)
|
Contains settings regarding how masks are calculated and handled during a map render. More...
#include <qgsmaskrendersettings.h>
Public Member Functions | |
QgsMaskRenderSettings () | |
void | setSimplificationTolerance (double tolerance) |
Sets a simplification tolerance (in painter units) to use for on-the-fly simplification of mask paths while rendering. | |
double | simplifyTolerance () const |
Returns the simplification tolerance (in painter units) to use for on-the-fly simplification of mask paths while rendering. | |
Contains settings regarding how masks are calculated and handled during a map render.
Definition at line 29 of file qgsmaskrendersettings.h.
|
default |
void QgsMaskRenderSettings::setSimplificationTolerance | ( | double | tolerance | ) |
Sets a simplification tolerance (in painter units) to use for on-the-fly simplification of mask paths while rendering.
This will result in simpler, generalised paths.
Set tolerance to 0 to disable simplification. (No simplification is the default behavior).
Definition at line 20 of file qgsmaskrendersettings.cpp.
|
inline |
Returns the simplification tolerance (in painter units) to use for on-the-fly simplification of mask paths while rendering.
A tolerance of 0 indicates no simplification. (No simplification is the default behavior).
Definition at line 44 of file qgsmaskrendersettings.h.