KiCad PCB EDA Suite
|
#include <preview_items/arc_geom_manager.h>
#include <math/util.h>
#include <geometry/eda_angle.h>
#include <trigo.h>
Go to the source code of this file.
Functions | |
static EDA_ANGLE | snapAngle (const EDA_ANGLE &aAngle) |
< Snap an angle to the nearest 45 degrees | |
< Snap an angle to the nearest 45 degrees
Definition at line 34 of file arc_geom_manager.cpp.
References ANGLE_45, and KiROUND().
Referenced by KIGFX::PREVIEW::ARC_GEOM_MANAGER::setEnd(), and KIGFX::PREVIEW::ARC_GEOM_MANAGER::setStart().