mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgsmaskpaintdevice.h                                        *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsMaskPaintDevice: QPaintDevice
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Mask painter device that can be used to register everything painted into a QPainterPath
 | 
						|
used later as clip path
 | 
						|
 | 
						|
.. versionadded:: 3.26
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsmaskpaintdevice.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsMaskPaintDevice( bool usePathStroker = false );
 | 
						|
%Docstring
 | 
						|
!
 | 
						|
Constructor
 | 
						|
If ``usePathStroker`` is ``True``, path will be considered with a stroke regarding QPainter
 | 
						|
pen configuration
 | 
						|
%End
 | 
						|
 | 
						|
    virtual QPaintEngine *paintEngine() const;
 | 
						|
 | 
						|
 | 
						|
    virtual int metric( PaintDeviceMetric metric ) const;
 | 
						|
 | 
						|
 | 
						|
    QPainterPath maskPainterPath() const;
 | 
						|
%Docstring
 | 
						|
Returns the mask painter path painted on this paint device
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgsmaskpaintdevice.h                                        *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |