QGIS/python/core/qgspainting.sip
Denis Rouzaud 68b990b3bb sipify batch
python/core/qgspaintenginehack.sip
python/core/qgspainting.sip
python/core/qgspallabeling.sip
python/core/qgspathresolver.sip
python/core/qgspluginlayer.sip
python/core/qgspluginlayerregistry.sip
python/core/qgspointlocator.sip
python/core/qgsproject.sip
python/core/qgsprojectbadlayerhandler.sip
python/core/qgsprojectproperty.sip
python/core/qgsprojectversion.sip
python/core/qgssnappingconfig.sip
2017-05-18 09:41:16 +02:00

72 lines
2.1 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspainting.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsPainting
{
%Docstring
Misc painting enums and functions.
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgspainting.h"
%End
public:
enum BlendMode
{
BlendNormal,
BlendLighten,
BlendScreen,
BlendDodge,
BlendAddition,
BlendDarken,
BlendMultiply,
BlendBurn,
BlendOverlay,
BlendSoftLight,
BlendHardLight,
BlendDifference,
BlendSubtract,
BlendSource,
BlendDestinationOver,
BlendClear,
BlendDestination,
BlendSourceIn,
BlendDestinationIn,
BlendSourceOut,
BlendDestinationOut,
BlendSourceAtop,
BlendDestinationAtop,
BlendXor,
};
static QPainter::CompositionMode getCompositionMode( QgsPainting::BlendMode blendMode );
%Docstring
Returns a QPainter.CompositionMode corresponding to a BlendMode
:rtype: QPainter.CompositionMode
%End
static QgsPainting::BlendMode getBlendModeEnum( QPainter::CompositionMode blendMode );
%Docstring
Returns a BlendMode corresponding to a QPainter.CompositionMode
:rtype: QgsPainting.BlendMode
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspainting.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/