KiCad PCB EDA Suite
zone.cpp File Reference
#include <bitmaps.h>
#include <geometry/geometry_utils.h>
#include <geometry/shape_null.h>
#include <pcb_edit_frame.h>
#include <pcb_screen.h>
#include <board.h>
#include <board_design_settings.h>
#include <pad.h>
#include <zone.h>
#include <string_utils.h>
#include <math_for_graphics.h>
#include <settings/color_settings.h>
#include <settings/settings_manager.h>
#include <trigo.h>
#include <i18n_utility.h>

Go to the source code of this file.

Classes

struct  ZONE_DESC
 

Functions

bool sortEndsByDescendingX (const VECTOR2I &ref, const VECTOR2I &tst)
 

Variables

static SHAPE_POLY_SET g_nullPoly
 
static struct ZONE_DESC _ZONE_DESC
 

Function Documentation

◆ sortEndsByDescendingX()

bool sortEndsByDescendingX ( const VECTOR2I ref,
const VECTOR2I tst 
)

Definition at line 846 of file zone.cpp.

847{
848 return tst.x < ref.x;
849}

References VECTOR2< T >::x.

Referenced by ZONE::HatchBorder().

Variable Documentation

◆ _ZONE_DESC

struct ZONE_DESC _ZONE_DESC
static

◆ g_nullPoly

SHAPE_POLY_SET g_nullPoly
static

Definition at line 381 of file zone.cpp.

Referenced by ZONE::BuildHashValue(), and ZONE::GetHashValue().