KiCad PCB EDA Suite
create_3Dgraphic_brd_items.cpp File Reference
#include "../3d_rendering/raytracing/shapes2D/ring_2d.h"
#include "../3d_rendering/raytracing/shapes2D/filled_circle_2d.h"
#include "../3d_rendering/raytracing/shapes2D/round_segment_2d.h"
#include "../3d_rendering/raytracing/shapes2D/triangle_2d.h"
#include "fp_textbox.h"
#include <board_adapter.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_text.h>
#include <fp_shape.h>
#include <board_design_settings.h>
#include <pcb_painter.h>
#include <zone.h>
#include <fp_text.h>
#include <convert_basic_shapes_to_polygon.h>
#include <trigo.h>
#include <geometry/shape_segment.h>
#include <geometry/geometry_utils.h>
#include <geometry/shape_circle.h>
#include <geometry/shape_rect.h>
#include <geometry/shape_simple.h>
#include <utility>
#include <vector>
#include <wx/log.h>
#include <macros.h>
#include <callback_gal.h>

Go to the source code of this file.

Macros

#define TO_3DU(x)   ( ( x ) * m_biuTo3Dunits )
 
#define TO_SFVEC2F(vec)   SFVEC2F( TO_3DU( vec.x ), TO_3DU( -vec.y ) )
 

Macro Definition Documentation

◆ TO_3DU

#define TO_3DU (   x)    ( ( x ) * m_biuTo3Dunits )

Definition at line 61 of file create_3Dgraphic_brd_items.cpp.

◆ TO_SFVEC2F

#define TO_SFVEC2F (   vec)    SFVEC2F( TO_3DU( vec.x ), TO_3DU( -vec.y ) )

Definition at line 63 of file create_3Dgraphic_brd_items.cpp.