KiCad PCB EDA Suite
|
#include <gal/graphics_abstraction_layer.h>
#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 (EDA_ANGLE aAngle) |
static COLOR4D | deemphasise (const COLOR4D &aColor, bool aDeEmphasised) |
Variables | |
static constexpr double | ANGLE_EPSILON = 1e-9 |
|
static |
Definition at line 36 of file draw_context.cpp.
References ANGLE_EPSILON, and EDA_ANGLE::AsRadians().
Referenced by KIGFX::PREVIEW::DRAW_CONTEXT::DrawLineWithAngleHighlight().
Definition at line 42 of file draw_context.cpp.
References KIGFX::PREVIEW::PreviewOverlayDeemphAlpha(), and KIGFX::COLOR4D::WithAlpha().
Referenced by KIGFX::PREVIEW::DRAW_CONTEXT::DrawCircle(), KIGFX::PREVIEW::DRAW_CONTEXT::DrawCircleDashed(), KIGFX::PREVIEW::DRAW_CONTEXT::DrawLine(), KIGFX::PREVIEW::DRAW_CONTEXT::DrawLineDashed(), and KIGFX::PREVIEW::DRAW_CONTEXT::DrawLineWithAngleHighlight().
|
staticconstexpr |
Definition at line 34 of file draw_context.cpp.
Referenced by angleIsSpecial().