KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ratsnest_view_item.cpp File Reference
#include <ratsnest/ratsnest_view_item.h>
#include <kiface_base.h>
#include <gal/graphics_abstraction_layer.h>
#include <pcbnew_settings.h>
#include <pcb_painter.h>
#include <ratsnest/ratsnest_data.h>
#include <layer_ids.h>
#include <pcb_base_frame.h>
#include <view/view.h>
#include <memory>
#include <utility>

Go to the source code of this file.

Functions

static void drawCross (KIGFX::GAL *aGal, const VECTOR2D &aPos)
 

Variables

static constexpr int CROSS_SIZE = 200000
 Class that draws missing connections on a PCB.
 
static constexpr double CURVE_BOW = 0.1
 

Function Documentation

◆ drawCross()

static void drawCross ( KIGFX::GAL * aGal,
const VECTOR2D & aPos )
static

Definition at line 50 of file ratsnest_view_item.cpp.

References CROSS_SIZE, and KIGFX::GAL::DrawLine().

Referenced by RATSNEST_VIEW_ITEM::ViewDraw().

Variable Documentation

◆ CROSS_SIZE

int CROSS_SIZE = 200000
staticconstexpr

Class that draws missing connections on a PCB.

Definition at line 43 of file ratsnest_view_item.cpp.

Referenced by drawCross(), and RATSNEST_VIEW_ITEM::LineInViewport().

◆ CURVE_BOW

double CURVE_BOW = 0.1
staticconstexpr

Definition at line 46 of file ratsnest_view_item.cpp.

Referenced by RATSNEST_VIEW_ITEM::CurveControlPoint().