60 FlagDegreesUseStringSuffix = 1 << 1,
61 FlagDegreesPadMinutesSeconds = 1 << 2,
63 Q_DECLARE_FLAGS( FormatFlags, FormatFlag )
76 static QString formatX(
double x, Format format,
int precision = 12, FormatFlags flags = FlagDegreesUseStringSuffix );
89 static QString formatY(
double y, Format format,
int precision = 12, FormatFlags flags = FlagDegreesUseStringSuffix );
117 static QChar separator( );
121 static QString formatAsPair(
double val,
int precision );
123 static QString formatXAsDegreesMinutesSeconds(
double val,
int precision, FormatFlags flags );
124 static QString formatYAsDegreesMinutesSeconds(
double val,
int precision, FormatFlags flags );
126 static QString formatXAsDegreesMinutes(
double val,
int precision, FormatFlags flags );
127 static QString formatYAsDegreesMinutes(
double val,
int precision, FormatFlags flags );
129 static QString formatXAsDegrees(
double val,
int precision, FormatFlags flags );
130 static QString formatYAsDegrees(
double val,
int precision, FormatFlags flags );
132 friend class QgsCoordinateUtils;
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)