mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
49 lines
1.7 KiB
Plaintext
49 lines
1.7 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(signature="appended")
|
|
Misc painting enums and functions.
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgspainting.h"
|
|
%End
|
|
public:
|
|
|
|
static QPainter::CompositionMode getCompositionMode( Qgis::BlendMode blendMode );
|
|
%Docstring
|
|
Returns a QPainter.CompositionMode corresponding to a BlendMode
|
|
%End
|
|
static Qgis::BlendMode getBlendModeEnum( QPainter::CompositionMode blendMode );
|
|
%Docstring
|
|
Returns a BlendMode corresponding to a QPainter.CompositionMode
|
|
%End
|
|
|
|
static bool isClippingMode( Qgis::BlendMode mode );
|
|
%Docstring
|
|
Returns ``True`` if ``mode`` is a clipping blend mode.
|
|
|
|
.. versionadded:: 3.30
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgspainting.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|