|
KiCad PCB EDA Suite
|
#include <deque>#include <stack>#include <limits>#include <math/matrix3x3.h>#include <math/box2.h>#include <geometry/grid_geometry.h>#include <gal/gal.h>#include <gal/color4d.h>#include <gal/cursors.h>#include <gal/definitions.h>#include <gal/gal_display_options.h>#include <font/stroke_font.h>#include <geometry/eda_angle.h>#include <pgm_base.h>#include <settings/common_settings.h>Go to the source code of this file.
Classes | |
| struct | KIGFX::GRID_SOURCE |
| Render-time projection of a grid: GRID_GEOMETRY (kind/origin/pitch/orientation/extent) plus rendering and interaction flags. More... | |
| class | KIGFX::GAL |
| Abstract interface for drawing on a 2D-surface. More... | |
| class | KIGFX::GAL_CONTEXT_LOCKER |
| class | KIGFX::GAL_UPDATE_CONTEXT |
| class | KIGFX::GAL_DRAWING_CONTEXT |
| class | KIGFX::GAL_SCOPED_ATTRS |
| Attribute save/restore for GAL attributes. More... | |
Namespaces | |
| namespace | KIGFX |
| The Cairo implementation of the graphics abstraction layer. | |
Functions | |
| double | KIGFX::AutoSparsePitch (double aPitch, unsigned aTick, double aThreshold) |
| Multiply aPitch by aTick until it exceeds aThreshold, so a sub-threshold grid still shows every Nth line. | |
Variables | |
| constexpr double | KIGFX::GRID_DIM_ALPHA = 0.4 |
| Opacity of the background wash laid over a selected grid item's area, to fade the grids showing through it. | |
| constexpr double | KIGFX::GRID_EDGE_DARKEN = 0.75 |
| How far the hairline round a grid's coverage sits below its own colour. | |
| constexpr double | KIGFX::GRID_SELECTED_BRIGHTEN = 0.5 |
| How far the grid being edited is lifted above its own colour. | |