mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
70 lines
2.0 KiB
Plaintext
70 lines
2.0 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
|
|
%End
|
|
static QgsPainting::BlendMode getBlendModeEnum( QPainter::CompositionMode blendMode );
|
|
%Docstring
|
|
Returns a BlendMode corresponding to a QPainter.CompositionMode
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgspainting.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|