mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-12-05 00:39:09 +01:00
Compare commits
2 Commits
961061b643
...
50b0ff1c56
Author | SHA1 | Date | |
---|---|---|---|
50b0ff1c56 | |||
2b300fab54 |
Binary file not shown.
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 214 B |
@ -103,12 +103,10 @@ static Coordinates centroid(const QVector<Coordinates> &polygon)
|
|||||||
|
|
||||||
static double angle(uint type, const QVariant ¶m)
|
static double angle(uint type, const QVariant ¶m)
|
||||||
{
|
{
|
||||||
if (type>>16 == RDOCAL || type>>16 == I_RDOCAL)
|
uint bt = type>>16;
|
||||||
return 90 + param.toDouble();
|
|
||||||
else if (type>>16 == CURENT)
|
return (bt == RDOCAL || bt == I_RDOCAL || bt == CURENT)
|
||||||
return 90 + param.toDouble();
|
? 90 + param.toDouble() : NAN;
|
||||||
else
|
|
||||||
return NAN;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool showLabel(const QImage *img, const Range &range, int zoom, int type)
|
static bool showLabel(const QImage *img, const Range &range, int zoom, int type)
|
||||||
|
Loading…
Reference in New Issue
Block a user