QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
qgsmaskrendersettings.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsmaskrendersettings.h
3 --------------------------------------
4 Date : June 2024
5 Copyright : (C) 2024 by Nyall Dawson
6 Email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSMASKRENDERSETTINGS_H
17#define QGSMASKRENDERSETTINGS_H
18
19#include "qgis_core.h"
20
29class CORE_EXPORT QgsMaskRenderSettings
30{
31 public:
32
34
44 double simplifyTolerance() const { return mSimplifyTolerance; }
45
57 void setSimplificationTolerance( double tolerance );
58
59 private:
60
61 double mSimplifyTolerance = 0;
62
63};
64
65#endif // QGSMASKRENDERSETTINGS_H
Contains settings regarding how masks are calculated and handled during a map render.
double simplifyTolerance() const
Returns the simplification tolerance (in painter units) to use for on-the-fly simplification of mask ...