QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Macros | Functions
qgslayoutitemmapgrid.cpp File Reference
#include "qgsmessagelog.h"
#include "qgslayoutitemmapgrid.h"
#include "moc_qgslayoutitemmapgrid.cpp"
#include "qgslayoututils.h"
#include "qgsgeometry.h"
#include "qgslayoutitemmap.h"
#include "qgsreadwritecontext.h"
#include "qgsrendercontext.h"
#include "qgssymbollayerutils.h"
#include "qgscolorutils.h"
#include "qgssymbol.h"
#include "qgscoordinatereferencesystem.h"
#include "qgslogger.h"
#include "qgsfontutils.h"
#include "qgsexpressioncontext.h"
#include "qgsexception.h"
#include "qgssettings.h"
#include "qgscoordinateformatter.h"
#include "qgsstyleentityvisitor.h"
#include "qgstextrenderer.h"
#include "qgslinesymbol.h"
#include "qgsmarkersymbol.h"
#include "qgslayout.h"
#include "qgsunittypes.h"
#include "qgslayoutrendercontext.h"
#include <QVector2D>
#include <math.h>
#include <QPainter>
#include <QPen>
Include dependency graph for qgslayoutitemmapgrid.cpp:

Go to the source code of this file.

Macros

#define MAX_GRID_LINES   1000
 

Functions

QVector2D borderToNormal2D (QgsLayoutItemMapGrid::BorderSide border)
 
QVector2D borderToVector2D (QgsLayoutItemMapGrid::BorderSide border)
 
QgsLayoutItemMapGrid::DisplayMode gridAnnotationDisplayModeFromDD (QString ddValue, QgsLayoutItemMapGrid::DisplayMode defValue)
 
bool sortByDistance (QPair< qreal, QgsLayoutItemMapGrid::BorderSide > a, QPair< qreal, QgsLayoutItemMapGrid::BorderSide > b)
 

Macro Definition Documentation

◆ MAX_GRID_LINES

#define MAX_GRID_LINES   1000

Definition at line 50 of file qgslayoutitemmapgrid.cpp.

Function Documentation

◆ borderToNormal2D()

QVector2D borderToNormal2D ( QgsLayoutItemMapGrid::BorderSide  border)

Definition at line 182 of file qgslayoutitemmapgrid.cpp.

◆ borderToVector2D()

QVector2D borderToVector2D ( QgsLayoutItemMapGrid::BorderSide  border)

Definition at line 166 of file qgslayoutitemmapgrid.cpp.

◆ gridAnnotationDisplayModeFromDD()

QgsLayoutItemMapGrid::DisplayMode gridAnnotationDisplayModeFromDD ( QString  ddValue,
QgsLayoutItemMapGrid::DisplayMode  defValue 
)

Definition at line 1916 of file qgslayoutitemmapgrid.cpp.

◆ sortByDistance()

bool sortByDistance ( QPair< qreal, QgsLayoutItemMapGrid::BorderSide a,
QPair< qreal, QgsLayoutItemMapGrid::BorderSide b 
)

Definition at line 2027 of file qgslayoutitemmapgrid.cpp.