Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
rerename transformContext -> context
- Loading branch information
|
@@ -48,7 +48,7 @@ Returns the CRS used for tracing. |
|
|
.. seealso:: :py:func:`setDestinationCrs` |
|
|
%End |
|
|
|
|
|
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext ); |
|
|
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context ); |
|
|
%Docstring |
|
|
Sets the ``crs`` and ``transformContext`` used for tracing. |
|
|
|
|
|
|
@@ -623,10 +623,10 @@ void QgsTracer::setLayers( const QList<QgsVectorLayer *> &layers ) |
|
|
invalidateGraph(); |
|
|
} |
|
|
|
|
|
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext ) |
|
|
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context ) |
|
|
{ |
|
|
mCRS = crs; |
|
|
mTransformContext = transformContext; |
|
|
mTransformContext = context; |
|
|
invalidateGraph(); |
|
|
} |
|
|
|
|
|
|
@@ -66,7 +66,7 @@ class CORE_EXPORT QgsTracer : public QObject |
|
|
* Sets the \a crs and \a transformContext used for tracing. |
|
|
* \see destinationCrs() |
|
|
*/ |
|
|
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext ); |
|
|
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context ); |
|
|
|
|
|
/** |
|
|
* Sets the \a renderContext used for tracing only on visible features. |
|
|