QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
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 
28 class CORE_EXPORT QgsPainting
29 {
30  public:
31 
36  enum BlendMode
37  {
62  };
63 
65  static QPainter::CompositionMode getCompositionMode( QgsPainting::BlendMode blendMode );
67  static QgsPainting::BlendMode getBlendModeEnum( QPainter::CompositionMode blendMode );
68 
69 };
70 
71 #endif // QGSPAINTING_H
QgsPainting::BlendNormal
@ BlendNormal
Definition: qgspainting.h:38
QgsPainting::BlendHardLight
@ BlendHardLight
Definition: qgspainting.h:48
QgsPainting::BlendXor
@ BlendXor
Definition: qgspainting.h:61
QgsPainting::BlendMode
BlendMode
Blending modes enum defining the available composition modes that can be used when rendering a layer.
Definition: qgspainting.h:37
QgsPainting
Misc painting enums and functions.
Definition: qgspainting.h:29
QgsPainting::BlendSource
@ BlendSource
Definition: qgspainting.h:51
QgsPainting::BlendDestinationOut
@ BlendDestinationOut
Definition: qgspainting.h:58
QgsPainting::BlendDodge
@ BlendDodge
Definition: qgspainting.h:41
QgsPainting::BlendLighten
@ BlendLighten
Definition: qgspainting.h:39
QgsPainting::BlendSoftLight
@ BlendSoftLight
Definition: qgspainting.h:47
QgsPainting::BlendDestinationAtop
@ BlendDestinationAtop
Definition: qgspainting.h:60
QgsPainting::BlendSourceAtop
@ BlendSourceAtop
Definition: qgspainting.h:59
QgsPainting::BlendDarken
@ BlendDarken
Definition: qgspainting.h:43
QgsPainting::BlendBurn
@ BlendBurn
Definition: qgspainting.h:45
QgsPainting::BlendDifference
@ BlendDifference
Definition: qgspainting.h:49
QgsPainting::BlendDestinationIn
@ BlendDestinationIn
Definition: qgspainting.h:56
QgsPainting::BlendSourceIn
@ BlendSourceIn
Definition: qgspainting.h:55
QgsPainting::BlendOverlay
@ BlendOverlay
Definition: qgspainting.h:46
QgsPainting::BlendDestinationOver
@ BlendDestinationOver
Definition: qgspainting.h:52
QgsPainting::BlendDestination
@ BlendDestination
Definition: qgspainting.h:54
QgsPainting::BlendAddition
@ BlendAddition
Definition: qgspainting.h:42
QgsPainting::BlendClear
@ BlendClear
Definition: qgspainting.h:53
QgsPainting::BlendMultiply
@ BlendMultiply
Definition: qgspainting.h:44
QgsPainting::BlendSubtract
@ BlendSubtract
Definition: qgspainting.h:50
QgsPainting::BlendSourceOut
@ BlendSourceOut
Definition: qgspainting.h:57
QgsPainting::BlendScreen
@ BlendScreen
Definition: qgspainting.h:40