QGIS API Documentation 3.39.0-Master (47f7b3a4989)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsMaskRenderSettings Class Reference

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.
 

Detailed Description

Contains settings regarding how masks are calculated and handled during a map render.

Since
QGIS 3.38

Definition at line 29 of file qgsmaskrendersettings.h.

Constructor & Destructor Documentation

◆ QgsMaskRenderSettings()

QgsMaskRenderSettings::QgsMaskRenderSettings ( )
default

Member Function Documentation

◆ setSimplificationTolerance()

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).

Note
This property is only used when exporting to vector formats, and is ignored during raster format based rendering.
See also
simplifyTolerance()

Definition at line 20 of file qgsmaskrendersettings.cpp.

◆ simplifyTolerance()

double QgsMaskRenderSettings::simplifyTolerance ( ) const
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).

Note
This property is only used when exporting to vector formats, and is ignored during raster format based rendering.
See also
setSimplificationTolerance()

Definition at line 44 of file qgsmaskrendersettings.h.


The documentation for this class was generated from the following files: