KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SVG_plotter.cpp File Reference
#include <core/base64.h>
#include <eda_shape.h>
#include <string_utils.h>
#include <font/font.h>
#include <macros.h>
#include <trigo.h>
#include <cstdint>
#include <wx/mstream.h>
#include <plotters/plotters_pslike.h>

Go to the source code of this file.

Functions

static wxString XmlEsc (const wxString &aStr, bool isAttribute=false)
 Translates '<' to "&lt;", '>' to "&gt;" and so on, according to the spec: http://www.w3.org/TR/2000/WD-xml-c14n-20000119.html#charescaping May be moved to a library if needed generally, but not expecting that.
 

Function Documentation

◆ XmlEsc()

static wxString XmlEsc ( const wxString &  aStr,
bool  isAttribute = false 
)
static

Translates '<' to "&lt;", '>' to "&gt;" and so on, according to the spec: http://www.w3.org/TR/2000/WD-xml-c14n-20000119.html#charescaping May be moved to a library if needed generally, but not expecting that.

Definition at line 112 of file SVG_plotter.cpp.

Referenced by SVG_PLOTTER::StartPlot(), and SVG_PLOTTER::Text().