17
17
#ifndef QGSTEXTRENDERER_H
18
18
#define QGSTEXTRENDERER_H
19
19
20
+ #include " qgis.h"
20
21
#include " qgis_core.h"
21
22
#include " qgsmapunitscale.h"
22
23
#include " qgsunittypes.h"
@@ -202,7 +203,7 @@ class CORE_EXPORT QgsTextBufferSettings
202
203
* \param effect paint effect. Ownership is transferred to the buffer settings.
203
204
* \see paintEffect()
204
205
*/
205
- void setPaintEffect ( QgsPaintEffect *effect );
206
+ void setPaintEffect ( QgsPaintEffect *effect SIP_TRANSFER );
206
207
207
208
private:
208
209
@@ -587,7 +588,7 @@ class CORE_EXPORT QgsTextBackgroundSettings
587
588
* \param effect paint effect. Ownership is transferred to the background settings.
588
589
* \see paintEffect()
589
590
*/
590
- void setPaintEffect ( QgsPaintEffect *effect );
591
+ void setPaintEffect ( QgsPaintEffect *effect SIP_TRANSFER );
591
592
592
593
/* * Reads settings from a layer's custom properties.
593
594
* \param layer source vector layer
@@ -899,7 +900,7 @@ class CORE_EXPORT QgsTextFormat
899
900
/* * Returns a reference to the text buffer settings.
900
901
* \see setBuffer()
901
902
*/
902
- QgsTextBufferSettings buffer () const { return mBufferSettings ; }
903
+ SIP_SKIP QgsTextBufferSettings buffer () const { return mBufferSettings ; }
903
904
904
905
/* * Sets the text's buffer settings.
905
906
* \param bufferSettings buffer settings
@@ -915,9 +916,9 @@ class CORE_EXPORT QgsTextFormat
915
916
/* * Returns a reference to the text background settings.
916
917
* \see setBackground()
917
918
*/
918
- QgsTextBackgroundSettings background () const { return mBackgroundSettings ; }
919
+ SIP_SKIP QgsTextBackgroundSettings background () const { return mBackgroundSettings ; }
919
920
920
- /* * Sets the text's background settings.
921
+ /* * Sets the text's background settings.q
921
922
* \param backgroundSettings background settings
922
923
* \see background()
923
924
*/
@@ -931,7 +932,7 @@ class CORE_EXPORT QgsTextFormat
931
932
/* * Returns a reference to the text drop shadow settings.
932
933
* \see setShadow()
933
934
*/
934
- QgsTextShadowSettings shadow () const { return mShadowSettings ; }
935
+ SIP_SKIP QgsTextShadowSettings shadow () const { return mShadowSettings ; }
935
936
936
937
/* * Sets the text's drop shadow settings.
937
938
* \param shadowSettings shadow settings
0 commit comments