mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/layout/qgslayouteffect.h                                    *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsLayoutEffect : QGraphicsEffect
 | 
						|
{
 | 
						|
%Docstring
 | 
						|
 | 
						|
A QGraphicsEffect subclass used for rendering layout items
 | 
						|
onto a scene with custom composition modes.
 | 
						|
 | 
						|
.. versionadded:: 3.0
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgslayouteffect.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsLayoutEffect();
 | 
						|
%Docstring
 | 
						|
Constructor for QgsLayoutEffect.
 | 
						|
%End
 | 
						|
 | 
						|
    void setCompositionMode( QPainter::CompositionMode mode );
 | 
						|
%Docstring
 | 
						|
Sets the composition (blending) ``mode`` used for rendering
 | 
						|
the item.
 | 
						|
 | 
						|
.. seealso:: :py:func:`compositionMode`
 | 
						|
%End
 | 
						|
 | 
						|
    QPainter::CompositionMode compositionMode() const;
 | 
						|
%Docstring
 | 
						|
Returns the composition (blending) mode used for rendering
 | 
						|
the item.
 | 
						|
 | 
						|
.. seealso:: :py:func:`setCompositionMode`
 | 
						|
%End
 | 
						|
 | 
						|
  protected:
 | 
						|
 | 
						|
    virtual void draw( QPainter *painter );
 | 
						|
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/layout/qgslayouteffect.h                                    *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |