mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	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!
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			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   *
 | 
						|
 ************************************************************************/
 |