|
QGIS API Documentation
master-6227475
|
00001 /*************************************************************************** 00002 qgspaintenginehack.cpp - Hack paint engine flags 00003 ------------------------------------------------ 00004 begin : July 2012 00005 copyright : (C) Juergen E. Fischer 00006 email : jef at norbit dot de 00007 00008 *************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 #include <QPaintEngine> 00018 00019 // Hack to workaround Qt #5114 by disabling PatternTransform 00020 class CORE_EXPORT QgsPaintEngineHack : public QPaintEngine 00021 { 00022 public: 00023 void fixFlags(); 00024 static void fixEngineFlags( QPaintEngine *engine ); 00025 };