KiCad PCB EDA Suite
|
#include <sch_edit_frame.h>
#include <widgets/msgpanel.h>
#include <bitmaps.h>
#include <core/mirror.h>
#include <lib_pin.h>
#include <lib_text.h>
#include <lib_shape.h>
#include <pgm_base.h>
#include <sch_symbol.h>
#include <sch_sheet_path.h>
#include <schematic.h>
#include <trace_helpers.h>
#include <trigo.h>
#include <refdes_utils.h>
#include <wx/log.h>
#include <settings/settings_manager.h>
#include <string_utils.h>
#include <utility>
#include "plotters/plotter.h"
Go to the source code of this file.
Functions | |
std::string | toUTFTildaText (const wxString &txt) |
Convert a wxString to UTF8 and replace any control characters with a ~, where a control character is one of the first ASCII values up to ' ' 32d. More... | |
static LIB_SYMBOL * | dummy () |
Used to draw a dummy shape when a LIB_SYMBOL is not found in library. More... | |
|
static |
Used to draw a dummy shape when a LIB_SYMBOL is not found in library.
This symbol is a 400 mils square with the text "??" DEF DUMMY U 0 40 Y Y 1 0 N F0 "U" 0 -350 60 H V F1 "DUMMY" 0 350 60 H V DRAW T 0 0 0 150 0 0 0 ?? S -200 200 200 -200 0 1 0 ENDDRAW ENDDEF
Definition at line 81 of file sch_symbol.cpp.
References LIB_SYMBOL::AddDrawItem(), EDA_IU_SCALE::MilsToIU(), RECT, schIUScale, square(), and text.
Referenced by SCH_SYMBOL::doGetBoundingBox(), SCH_SYMBOL::GetMsgPanelInfo(), and SCH_SYMBOL::Print().
std::string toUTFTildaText | ( | const wxString & | txt | ) |
Convert a wxString to UTF8 and replace any control characters with a ~, where a control character is one of the first ASCII values up to ' ' 32d.
Definition at line 54 of file sch_symbol.cpp.
References TO_UTF8.
Referenced by SCH_LEGACY_PLUGIN::saveSymbol(), and SCH_SEXPR_PLUGIN::saveSymbol().