Skip to content

Commit

Permalink
Flip some doxygen from transparency to opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 29, 2017
1 parent 052b5d3 commit 660b34e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions python/core/qgsmaplayerstylemanager.sip
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/core/qgsmultirenderchecker.sip
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion python/core/qgsrenderchecker.sip
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsmaplayerstylemanager.h
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsmapsettings.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsmultirenderchecker.h
Expand Up @@ -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 ); }
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsrenderchecker.h
Expand Up @@ -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 );
Expand Down

0 comments on commit 660b34e

Please sign in to comment.