KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ar_matrix.cpp File Reference
#include "ar_matrix.h"
#include <lset.h>
#include <math/util.h>
#include <math_for_graphics.h>
#include <trigo.h>
#include <pcb_shape.h>
#include <pad.h>

Go to the source code of this file.

Macros

#define OP_CELL(layer, dy, dx)
 

Macro Definition Documentation

◆ OP_CELL

#define OP_CELL (   layer,
  dy,
  dx 
)
Value:
{ \
if( layer == UNDEFINED_LAYER ) \
{ \
WriteCell( dy, dx, AR_SIDE_BOTTOM, color ); \
if( m_RoutingLayersCount > 1 ) \
WriteCell( dy, dx, AR_SIDE_TOP, color ); \
} \
else \
{ \
if( layer == m_routeLayerBottom ) \
WriteCell( dy, dx, AR_SIDE_BOTTOM, color ); \
if( m_RoutingLayersCount > 1 ) \
if( layer == m_routeLayerTop ) \
WriteCell( dy, dx, AR_SIDE_TOP, color ); \
} \
}
int color
Definition: DXF_plotter.cpp:58
#define AR_SIDE_BOTTOM
Definition: ar_matrix.h:43
#define AR_SIDE_TOP
Definition: ar_matrix.h:42
@ UNDEFINED_LAYER
Definition: layer_ids.h:61

Definition at line 265 of file ar_matrix.cpp.