mirror of
https://github.com/qgis/QGIS.git
synced 2025-05-09 00:03:46 -04:00
Bette naming for python
This commit is contained in:
parent
f18bc52e57
commit
458fa1752d
@ -48,16 +48,16 @@ Returns the CRS used for tracing.
|
||||
.. seealso:: :py:func:`setDestinationCrs`
|
||||
%End
|
||||
|
||||
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transform );
|
||||
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
|
||||
%Docstring
|
||||
Sets the ``crs`` and transform ``context`` used for tracing.
|
||||
Sets the ``crs`` and ``transformContext`` used for tracing.
|
||||
|
||||
.. seealso:: :py:func:`destinationCrs`
|
||||
%End
|
||||
|
||||
void setRenderContext( const QgsRenderContext *render );
|
||||
void setRenderContext( const QgsRenderContext *renderContext );
|
||||
%Docstring
|
||||
Sets the ``render`` context used for tracing only on visible features.
|
||||
Sets the ``renderContext`` used for tracing only on visible features.
|
||||
%End
|
||||
|
||||
QgsRectangle extent() const;
|
||||
|
@ -620,16 +620,16 @@ void QgsTracer::setLayers( const QList<QgsVectorLayer *> &layers )
|
||||
invalidateGraph();
|
||||
}
|
||||
|
||||
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transform )
|
||||
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext )
|
||||
{
|
||||
mCRS = crs;
|
||||
mTransformContext = transform;
|
||||
mTransformContext = transformContext;
|
||||
invalidateGraph();
|
||||
}
|
||||
|
||||
void QgsTracer::setRenderContext( const QgsRenderContext *render )
|
||||
void QgsTracer::setRenderContext( const QgsRenderContext *renderContext )
|
||||
{
|
||||
mRenderContext = std::unique_ptr<QgsRenderContext>( new QgsRenderContext( *render ) );
|
||||
mRenderContext = std::unique_ptr<QgsRenderContext>( new QgsRenderContext( *renderContext ) );
|
||||
invalidateGraph();
|
||||
}
|
||||
|
||||
|
@ -63,15 +63,15 @@ class CORE_EXPORT QgsTracer : public QObject
|
||||
QgsCoordinateReferenceSystem destinationCrs() const { return mCRS; }
|
||||
|
||||
/**
|
||||
* Sets the \a crs and transform \a context used for tracing.
|
||||
* Sets the \a crs and \a transformContext used for tracing.
|
||||
* \see destinationCrs()
|
||||
*/
|
||||
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transform );
|
||||
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
|
||||
|
||||
/**
|
||||
* Sets the \a render context used for tracing only on visible features.
|
||||
* Sets the \a renderContext used for tracing only on visible features.
|
||||
*/
|
||||
void setRenderContext( const QgsRenderContext *render );
|
||||
void setRenderContext( const QgsRenderContext *renderContext );
|
||||
|
||||
//! Gets extent to which graph's features will be limited (empty extent means no limit)
|
||||
QgsRectangle extent() const { return mExtent; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user