mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
11 lines
165 B
C++
11 lines
165 B
C++
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
|
||
|
#include "statshelper.h"
|
||
|
|
||
|
#include <cmath>
|
||
|
|
||
|
QPointF roundPos(const QPointF &p)
|
||
|
{
|
||
|
return QPointF(round(p.x()), round(p.y()));
|
||
|
}
|