KiCad PCB EDA Suite
ar_matrix.cpp File Reference
#include "ar_matrix.h"
#include <math/util.h>
#include <math_for_graphics.h>
#include <trigo.h>
#include <class_drawsegment.h>
#include <class_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 ); \
} \
}
#define AR_SIDE_BOTTOM
Definition: ar_matrix.h:43
#define AR_SIDE_TOP
Definition: ar_matrix.h:42
int color
Definition: DXF_plotter.cpp:61

Definition at line 281 of file ar_matrix.cpp.