KiCad PCB EDA Suite
|
#include <pgm_base.h>
#include <qa_utils/utility_registry.h>
#include "pns_log_viewer_frame.h"
#include "label_manager.h"
#include <geometry/shape_arc.h>
Go to the source code of this file.
Functions | |
bool | collideArc2Arc (const SHAPE_ARC &a1, const SHAPE_ARC &a2, int clearance, SEG &minDistSeg) |
int | playground_main_func (int argc, char *argv[]) |
int | drawShapes (int argc, char *argv[]) |
Variables | |
std::shared_ptr< PNS_LOG_VIEWER_OVERLAY > | overlay |
static bool | registered |
static bool | registered1 |
Definition at line 39 of file playground.cpp.
References SEG::A, SEG::B, EuclideanNorm(), SHAPE_ARC::GetCenter(), SHAPE_ARC::GetP0(), SHAPE_ARC::GetP1(), SHAPE_ARC::GetWidth(), SHAPE_ARC::Intersect(), and SHAPE_ARC::IntersectLine().
Referenced by playground_main_func().
int drawShapes | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 231 of file playground.cpp.
References ANGLE_HORIZONTAL, SHAPE_ARC::BBox(), SHAPE_ARC::Collide(), CYAN, BOX2< Vec >::GetOrigin(), BOX2< Vec >::GetSize(), SHAPE_ARC::GetWidth(), GREEN, BOX2< Vec >::Inflate(), BOX2< Vec >::Merge(), overlay, Pgm(), and RED.
Referenced by PNS_LOG_VIEWER_FRAME::drawLoggedItems().
int playground_main_func | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 107 of file playground.cpp.
References SEG::A, ANGLE_HORIZONTAL, SEG::B, SHAPE_ARC::BBox(), collideArc2Arc(), CYAN, DEGREES_T, BOX2< Vec >::GetOrigin(), BOX2< Vec >::GetSize(), GREEN, SEG::Length(), MAGENTA, BOX2< Vec >::Merge(), EDA_IU_SCALE::mmToIU(), overlay, pcbIUScale, Pgm(), RED, and YELLOW.
std::shared_ptr<PNS_LOG_VIEWER_OVERLAY> overlay |
Definition at line 36 of file playground.cpp.
Referenced by AUTOPLACE_TOOL::autoplace(), drawShapes(), KIGFX::VIEW::MakeOverlay(), playground_main_func(), test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING::Run(), and KIPLATFORM::UI::SetOverlayScrolling().
|
static |
Definition at line 287 of file playground.cpp.
|
static |
Definition at line 294 of file playground.cpp.