Skip to content
Permalink
Browse files

Flip some doxygen from transparency to opacity

  • Loading branch information
nyalldawson committed May 29, 2017
1 parent 052b5d3 commit 660b34eac32d74a0bc2009556000d49cb2da9777
@@ -15,7 +15,7 @@
class QgsMapLayerStyle
{
%Docstring
Stores style information (renderer, transparency, labeling, diagrams etc.) applicable to a map layer.
Stores style information (renderer, opacity, labeling, diagrams etc.) applicable to a map layer.

Stored data are considered as opaque - it is not possible to access them directly or modify them - it is
only possible to read or write layer's current style.
@@ -83,7 +83,7 @@ class QgsMapLayerStyleManager : QObject
the new style is applied to the associated layer.

The class takes care of updating itself when the layer's current style configuration changes.
When some of layer style's properties change (e.g. transparency / colors), the style manager will
When some of layer style's properties change (e.g. opacity / colors), the style manager will
record them in the currently active style without any extra effort required.

When an instance is created, it creates "default" style (with empty name) recorded from the associated map layer
@@ -117,7 +117,7 @@ class QgsMultiRenderChecker

static void drawBackground( QImage *image );
%Docstring
Draws a checkboard pattern for image backgrounds, so that transparency is visible
Draws a checkboard pattern for image backgrounds, so that opacity is visible
without requiring a transparent background for the image
%End

@@ -143,7 +143,7 @@ Get an md5 hash that uniquely identifies an image

static void drawBackground( QImage *image );
%Docstring
Draws a checkboard pattern for image backgrounds, so that transparency is visible
Draws a checkboard pattern for image backgrounds, so that opacity is visible
without requiring a transparent background for the image
%End

@@ -29,7 +29,7 @@ class QgsMapLayer;
class QDomElement;

/** \ingroup core
* Stores style information (renderer, transparency, labeling, diagrams etc.) applicable to a map layer.
* Stores style information (renderer, opacity, labeling, diagrams etc.) applicable to a map layer.
*
* Stored data are considered as opaque - it is not possible to access them directly or modify them - it is
* only possible to read or write layer's current style.
@@ -75,7 +75,7 @@ class CORE_EXPORT QgsMapLayerStyle
* the new style is applied to the associated layer.
*
* The class takes care of updating itself when the layer's current style configuration changes.
* When some of layer style's properties change (e.g. transparency / colors), the style manager will
* When some of layer style's properties change (e.g. opacity / colors), the style manager will
* record them in the currently active style without any extra effort required.
*
* When an instance is created, it creates "default" style (with empty name) recorded from the associated map layer
@@ -159,7 +159,7 @@ class CORE_EXPORT QgsMapSettings
Antialiasing = 0x01, //!< Enable anti-aliasing for map rendering
DrawEditingInfo = 0x02, //!< Enable drawing of vertex markers for layers in editing mode
ForceVectorOutput = 0x04, //!< Vector graphics should not be cached and drawn as raster images
UseAdvancedEffects = 0x08, //!< Enable layer transparency and blending effects
UseAdvancedEffects = 0x08, //!< Enable layer opacity and blending effects
DrawLabeling = 0x10, //!< Enable drawing of labels on top of the map
UseRenderingOptimization = 0x20, //!< Enable vector simplification and other rendering optimizations
DrawSelection = 0x40, //!< Whether vector selections should be shown in the rendered map
@@ -117,7 +117,7 @@ class CORE_EXPORT QgsMultiRenderChecker
*/
QString controlImagePath() const;

/** Draws a checkboard pattern for image backgrounds, so that transparency is visible
/** Draws a checkboard pattern for image backgrounds, so that opacity is visible
* without requiring a transparent background for the image
*/
static void drawBackground( QImage *image ) { QgsRenderChecker::drawBackground( image ); }
@@ -133,7 +133,7 @@ class CORE_EXPORT QgsRenderChecker
*/
bool isKnownAnomaly( const QString &diffImageFile );

/** Draws a checkboard pattern for image backgrounds, so that transparency is visible
/** Draws a checkboard pattern for image backgrounds, so that opacity is visible
* without requiring a transparent background for the image
*/
static void drawBackground( QImage *image );

0 comments on commit 660b34e

Please sign in to comment.
You can’t perform that action at this time.