KiCad PCB EDA Suite
sch_painter.cpp File Reference
#include <sch_item.h>
#include <lib_item.h>
#include <lib_rectangle.h>
#include <lib_pin.h>
#include <lib_circle.h>
#include <lib_polyline.h>
#include <lib_arc.h>
#include <lib_field.h>
#include <lib_text.h>
#include <lib_bezier.h>
#include <sch_line.h>
#include <sch_component.h>
#include <sch_field.h>
#include <sch_junction.h>
#include <sch_text.h>
#include <sch_no_connect.h>
#include <sch_bus_entry.h>
#include <sch_bitmap.h>
#include <sch_sheet.h>
#include <gr_text.h>
#include <geometry/geometry_utils.h>
#include <lib_edit_frame.h>
#include <plotter.h>
#include <template_fieldnames.h>
#include <class_libentry.h>
#include <class_library.h>
#include <sch_edit_frame.h>
#include <view/view.h>
#include <gal/graphics_abstraction_layer.h>
#include <colors_design_settings.h>
#include <connection_graph.h>
#include <geometry/shape_line_chain.h>
#include <bezier_curves.h>
#include "sch_painter.h"

Go to the source code of this file.

Namespaces

 KIGFX
 Class CAIRO_GAL is the cairo implementation of the graphics abstraction layer.
 

Macros

#define HANDLE_ITEM(type_id, type_name)   case type_id: draw( (type_name *) item, aLayer ); break
 
#define PIN_TEXT_MARGIN   4.0
 
#define SET_DC(i)
 

Functions

static LIB_PARTKIGFX::dummy ()
 Used when a LIB_PART is not found in library to draw a dummy shape. More...
 
static VECTOR2D KIGFX::mapCoords (const wxPoint &aCoord)
 
static int KIGFX::InternalPinDecoSize (const LIB_PIN &aPin)
 
static int KIGFX::ExternalPinDecoSize (const LIB_PIN &aPin)
 
static void KIGFX::orientPart (LIB_PART *part, int orientation)
 

Macro Definition Documentation

◆ HANDLE_ITEM

#define HANDLE_ITEM (   type_id,
  type_name 
)    case type_id: draw( (type_name *) item, aLayer ); break

Definition at line 141 of file sch_painter.cpp.

◆ PIN_TEXT_MARGIN

#define PIN_TEXT_MARGIN   4.0

◆ SET_DC

#define SET_DC (   i)
Value:
m_gal->SetGlyphSize( VECTOR2D( size[i], size[i] ) ); \
m_gal->SetLineWidth( thickness[i] ); \
m_gal->SetStrokeColor( colour[i] )
VECTOR2< double > VECTOR2D
Definition: vector2d.h:586
size_t i
Definition: json11.cpp:597