mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-21 12:49:10 +02:00
Compare commits
No commits in common. "50b0ff1c562ded5e02a54080ac7649d5572bef40" and "961061b6433772ec24ddeb9fbe7445fc57bcc1d7" have entirely different histories.
50b0ff1c56
...
961061b643
Binary file not shown.
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 224 B |
@ -103,10 +103,12 @@ static Coordinates centroid(const QVector<Coordinates> &polygon)
|
|||||||
|
|
||||||
static double angle(uint type, const QVariant ¶m)
|
static double angle(uint type, const QVariant ¶m)
|
||||||
{
|
{
|
||||||
uint bt = type>>16;
|
if (type>>16 == RDOCAL || type>>16 == I_RDOCAL)
|
||||||
|
return 90 + param.toDouble();
|
||||||
return (bt == RDOCAL || bt == I_RDOCAL || bt == CURENT)
|
else if (type>>16 == CURENT)
|
||||||
? 90 + param.toDouble() : NAN;
|
return 90 + param.toDouble();
|
||||||
|
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…
x
Reference in New Issue
Block a user