QGIS API Documentation 3.99.0-Master (c22de0620c0)
Loading...
Searching...
No Matches
qgspaintenginehack.h
Go to the documentation of this file.
1/***************************************************************************
2 qgspaintenginehack.cpp - Hack paint engine flags
3 ------------------------------------------------
4 begin : July 2012
5 copyright : (C) Juergen E. Fischer
6 email : jef at norbit dot de
7
8 ***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17#include "qgis_core.h"
18#include "qgis_sip.h"
19
20#include <QPaintEngine>
21
28class CORE_DEPRECATED_EXPORT QgsPaintEngineHack : public QPaintEngine SIP_DEPRECATED
29{
30 public:
31 void fixFlags();
32 static void fixEngineFlags( QPaintEngine *engine );
33};
Hack to workaround Qt #5114 by disabling PatternTransform.
static void fixEngineFlags(QPaintEngine *engine)
#define SIP_DEPRECATED
Definition qgis_sip.h:113