QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
qgspainting.h
Go to the documentation of this file.
1/***************************************************************************
2 qgspainting.h
3 ---------------------
4 begin : July 2016
5 copyright : (C) 2016 by Martin Dobias
6 email : wonder dot sk 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#ifndef QGSPAINTING_H
16#define QGSPAINTING_H
17
18#include <QPainter>
19
20#include "qgis_core.h"
21#include "qgis.h"
22
29class CORE_EXPORT QgsPainting
30{
31 public:
32
34 static QPainter::CompositionMode getCompositionMode( Qgis::BlendMode blendMode );
36 static Qgis::BlendMode getBlendModeEnum( QPainter::CompositionMode blendMode );
37
43 static bool isClippingMode( Qgis::BlendMode mode );
44
45};
46
47#endif // QGSPAINTING_H
BlendMode
Blending modes defining the available composition modes that can be used when painting.
Definition: qgis.h:3227
Misc painting enums and functions.
Definition: qgspainting.h:30