59 FlagDegreesUseStringSuffix = 1 << 1,
60 FlagDegreesPadMinutesSeconds = 1 << 2,
62 Q_DECLARE_FLAGS( FormatFlags, FormatFlag )
75 static QString formatX(
double x, Format format,
int precision = 12, FormatFlags flags = FlagDegreesUseStringSuffix );
88 static QString formatY(
double y, Format format,
int precision = 12, FormatFlags flags = FlagDegreesUseStringSuffix );
116 static QChar separator( );
120 static QString formatAsPair(
double val,
int precision );
122 static QString formatXAsDegreesMinutesSeconds(
double val,
int precision, FormatFlags flags );
123 static QString formatYAsDegreesMinutesSeconds(
double val,
int precision, FormatFlags flags );
125 static QString formatXAsDegreesMinutes(
double val,
int precision, FormatFlags flags );
126 static QString formatYAsDegreesMinutes(
double val,
int precision, FormatFlags flags );
128 static QString formatXAsDegrees(
double val,
int precision, FormatFlags flags );
129 static QString formatYAsDegrees(
double val,
int precision, FormatFlags flags );
131 friend class QgsCoordinateUtils;
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)