![]() |
KiCad PCB EDA Suite
|
#include <preview_items/draw_context.h>
#include <preview_items/preview_utils.h>
#include <view/view.h>
Go to the source code of this file.
Functions | |
static bool | angleIsSpecial (double aRadians) |
static COLOR4D | deemphasise (const COLOR4D &aColor, bool aDeEmphasised) |
Variables | |
static constexpr double | ANGLE_EPSILON = 1e-9 |
|
static |
Definition at line 35 of file draw_context.cpp.
References ANGLE_EPSILON.
Referenced by KIGFX::PREVIEW::DRAW_CONTEXT::DrawLineWithAngleHighlight().
Definition at line 41 of file draw_context.cpp.
References KIGFX::PREVIEW::PreviewOverlayDeemphAlpha(), and KIGFX::COLOR4D::WithAlpha().
Referenced by KIGFX::PREVIEW::DRAW_CONTEXT::DrawCircle(), KIGFX::PREVIEW::DRAW_CONTEXT::DrawLine(), and KIGFX::PREVIEW::DRAW_CONTEXT::DrawLineWithAngleHighlight().
|
static |
Definition at line 33 of file draw_context.cpp.
Referenced by angleIsSpecial().