QGIS API Documentation
2.14.0-Essen
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
core
composer
qgscomposereffect.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgscomposereffect.h
3
-------------------
4
begin : March 2013
5
copyright : (C) 2013 by Nyall Dawson
6
email :
[email protected]
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSCOMPOSEREFFECT_H
19
#define QGSCOMPOSEREFFECT_H
20
21
#include <QGraphicsEffect>
22
#include <QPainter>
23
24
class
CORE_EXPORT
QgsComposerEffect
:
public
QGraphicsEffect
25
{
26
Q_OBJECT
27
28
public
:
29
QgsComposerEffect
();
30
~
QgsComposerEffect
();
31
32
void
setCompositionMode( QPainter::CompositionMode compositionMode );
33
34
protected
:
36
virtual
void
draw
(
QPainter
*painter )
override
;
37
38
private
:
39
40
QPainter::CompositionMode mCompositionMode;
41
};
42
43
#endif // QGSCOMPOSEREFFECT_H
44
QgsComposerEffect
Definition:
qgscomposereffect.h:24
QGraphicsEffect::draw
virtual void draw(QPainter *painter)=0
QPainter
QGraphicsEffect
Generated on Sat Feb 27 2016 18:33:25 for QGIS API Documentation by
1.8.11