KiCad PCB EDA Suite
zone.cpp File Reference
#include <bitmaps.h>
#include <geometry/geometry_utils.h>
#include <geometry/shape_null.h>
#include <core/mirror.h>
#include <advanced_config.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
 

Macros

#define MAXPTS   200
 

Functions

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

Variables

static SHAPE_POLY_SET g_nullPoly
 
static struct ZONE_DESC _ZONE_DESC
 

Macro Definition Documentation

◆ MAXPTS

#define MAXPTS   200

Function Documentation

◆ ENUM_TO_WXANY()

ENUM_TO_WXANY ( ZONE_CONNECTION  )

◆ sortEndsByDescendingX()

bool sortEndsByDescendingX ( const VECTOR2I ref,
const VECTOR2I tst 
)

Definition at line 935 of file zone.cpp.

936 {
937  return tst.x < ref.x;
938 }

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 383 of file zone.cpp.

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