KiCad PCB EDA Suite
Loading...
Searching...
No Matches
legacy_item_order.h File Reference
#include <optional>
#include <board_item.h>
#include <geometry/shape_poly_set.h>
#include <pcb_shape.h>
#include <pcb_text.h>

Go to the source code of this file.

Classes

struct  KICAD_FORMAT::LEGACY::FP_DRAWING_ORDER< OrderTextByPosition >
 Every branch falls through to the uuid. More...
 

Namespaces

namespace  KICAD_FORMAT
 
namespace  KICAD_FORMAT::LEGACY
 

Typedefs

using KICAD_FORMAT::LEGACY::FP_DRAWING_ORDER_V9 = FP_DRAWING_ORDER<false>
 KiCad 9 ordered only shapes by geometry. KiCad 10 also ordered text by position.
 
using KICAD_FORMAT::LEGACY::FP_DRAWING_ORDER_V10 = FP_DRAWING_ORDER<true>
 

Functions

std::optional< bool > KICAD_FORMAT::LEGACY::orderPoints (const VECTOR2I &aFirst, const VECTOR2I &aSecond)
 The released comparators ordered footprint graphics in board coordinates.
 
std::optional< bool > KICAD_FORMAT::LEGACY::orderFpShapes (const PCB_SHAPE *aFirst, const PCB_SHAPE *aSecond)
 
std::optional< bool > KICAD_FORMAT::LEGACY::orderFpTexts (const PCB_TEXT *aFirst, const PCB_TEXT *aSecond)