- int x1 = RS_Math::round(view->toGuiX(line->getStartpoint().x));
- int y1 = RS_Math::round(view->toGuiY(line->getStartpoint().y));
- int x2 = RS_Math::round(view->toGuiX(line->getEndpoint().x));
- int y2 = RS_Math::round(view->toGuiY(line->getEndpoint().y));
+ int x1 = Math::round(view->toGuiX(line->getStartpoint().x));
+ int y1 = Math::round(view->toGuiY(line->getStartpoint().y));
+ int x2 = Math::round(view->toGuiX(line->getEndpoint().x));
+ int y2 = Math::round(view->toGuiY(line->getEndpoint().y));