QGIS/python/core/auto_generated/qgspaintenginehack.sip.in
Nyall Dawson cf467c4e17 Improve PDF export
We no longer require paint engine hack for Qt 6.3 or KDE's fork, which
now means that pattern brushes and gradients are correctly exported
to PDF without forced rasterization.

Results in higher quality PDF outputs with smaller file sizes

Thanks to KDAB for the fix!
2021-11-05 07:28:32 +11:00

36 lines
1.5 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspaintenginehack.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsPaintEngineHack : QPaintEngine
{
%Docstring(signature="appended")
Hack to workaround Qt #5114 by disabling PatternTransform
.. note::
This is not required for builds based on Qt 6.3 or later, or Qt 5.15 builds
using KDE's maintained fork. On these versions the class has no effect.
%End
%TypeHeaderCode
#include "qgspaintenginehack.h"
%End
public:
void fixFlags();
static void fixEngineFlags( QPaintEngine *engine );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspaintenginehack.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/