Skip to content

Commit f09633c

Browse files
committed
Replace rasterise by rasterize
1 parent c440cec commit f09633c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

python/core/effects/qgspainteffect.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class QgsPaintEffect
245245
*
246246
* The draw source effect can be used to draw an unaltered copy of the original source
247247
* picture. Minor changes like lowering the opacity and applying a blend mode are
248-
* supported, however these changes will force the resultant output to be rasterised.
248+
* supported, however these changes will force the resultant output to be rasterized.
249249
* If no alterations are performed then the original picture will be rendered as a vector.
250250
*
251251
* \note Added in version 2.9

src/core/effects/qgscoloreffect.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void QgsColorEffect::draw( QgsRenderContext &context )
5353

5454
QPainter* painter = context.painter();
5555

56-
//rasterise source and apply modifications
56+
//rasterize source and apply modifications
5757
QImage image = sourceAsImage( context )->copy();
5858

5959
QgsImageOperation::adjustBrightnessContrast( image, mBrightness, mContrast / 100.0 + 1 );

src/core/effects/qgspainteffect.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ void QgsDrawSourceEffect::draw( QgsRenderContext &context )
281281
}
282282
else
283283
{
284-
//rasterise source and apply modifications
284+
//rasterize source and apply modifications
285285
QImage image = sourceAsImage( context )->copy();
286286
QgsImageOperation::multiplyOpacity( image, 1.0 - mTransparency );
287287
painter->save();

src/core/effects/qgspainteffect.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ class CORE_EXPORT QgsPaintEffect
247247
*
248248
* The draw source effect can be used to draw an unaltered copy of the original source
249249
* picture. Minor changes like lowering the opacity and applying a blend mode are
250-
* supported, however these changes will force the resultant output to be rasterised.
250+
* supported, however these changes will force the resultant output to be rasterized.
251251
* If no alterations are performed then the original picture will be rendered as a vector.
252252
*
253253
* \note Added in version 2.9

src/core/qgsmaprenderercustompainterjob.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ bool QgsMapRendererJob::needTemporaryImage( QgsMapLayer* ml )
326326
|| ( vl->featureBlendMode() != QPainter::CompositionMode_SourceOver )
327327
|| ( vl->layerTransparency() != 0 ) ) )
328328
{
329-
//layer properties require rasterisation
329+
//layer properties require rasterization
330330
return true;
331331
}
332332
}

0 commit comments

Comments
 (0)