KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_io_kicad_sexpr_common.h File Reference
#include <eda_shape.h>
#include <kiid.h>
#include <sch_pin.h>
#include <sch_sheet_pin.h>
#include <sch_text.h>

Go to the source code of this file.

Functions

void formatFill (OUTPUTFORMATTER *aFormatter, int aNestLevel, FILL_T aFillMode, const COLOR4D &aFillColor)
 Fill token formatting helper.
 
const char * getPinElectricalTypeToken (ELECTRICAL_PINTYPE aType)
 
const char * getPinShapeToken (GRAPHIC_PINSHAPE aShape)
 
EDA_ANGLE getPinAngle (PIN_ORIENTATION aOrientation)
 
const char * getSheetPinShapeToken (LABEL_FLAG_SHAPE aShape)
 
EDA_ANGLE getSheetPinAngle (SHEET_SIDE aSide)
 
const char * getTextTypeToken (KICAD_T aType)
 
void formatArc (OUTPUTFORMATTER *aFormatter, int aNestLevel, EDA_SHAPE *aArc, bool aIsPrivate, const STROKE_PARAMS &aStroke, FILL_T aFillMode, const COLOR4D &aFillColor, bool aInvertY, const KIID &aUuid=niluuid)
 
void formatCircle (OUTPUTFORMATTER *aFormatter, int aNestLevel, EDA_SHAPE *aCircle, bool aIsPrivate, const STROKE_PARAMS &aStroke, FILL_T aFillMode, const COLOR4D &aFillColor, bool aInvertY, const KIID &aUuid=niluuid)
 
void formatRect (OUTPUTFORMATTER *aFormatter, int aNestLevel, EDA_SHAPE *aRect, bool aIsPrivate, const STROKE_PARAMS &aStroke, FILL_T aFillMode, const COLOR4D &aFillColor, bool aInvertY, const KIID &aUuid=niluuid)
 
void formatBezier (OUTPUTFORMATTER *aFormatter, int aNestLevel, EDA_SHAPE *aBezier, bool aIsPrivate, const STROKE_PARAMS &aStroke, FILL_T aFillMode, const COLOR4D &aFillColor, bool aInvertY, const KIID &aUuid=niluuid)
 
void formatPoly (OUTPUTFORMATTER *aFormatter, int aNestLevel, EDA_SHAPE *aPolyLine, bool aIsPrivate, const STROKE_PARAMS &aStroke, FILL_T aFillMode, const COLOR4D &aFillColor, bool aInvertY, const KIID &aUuid=niluuid)
 

Function Documentation

◆ formatArc()

void formatArc ( OUTPUTFORMATTER aFormatter,
int  aNestLevel,
EDA_SHAPE aArc,
bool  aIsPrivate,
const STROKE_PARAMS aStroke,
FILL_T  aFillMode,
const COLOR4D aFillColor,
bool  aInvertY,
const KIID aUuid = niluuid 
)

◆ formatBezier()

void formatBezier ( OUTPUTFORMATTER aFormatter,
int  aNestLevel,
EDA_SHAPE aBezier,
bool  aIsPrivate,
const STROKE_PARAMS aStroke,
FILL_T  aFillMode,
const COLOR4D aFillColor,
bool  aInvertY,
const KIID aUuid = niluuid 
)

◆ formatCircle()

void formatCircle ( OUTPUTFORMATTER aFormatter,
int  aNestLevel,
EDA_SHAPE aCircle,
bool  aIsPrivate,
const STROKE_PARAMS aStroke,
FILL_T  aFillMode,
const COLOR4D aFillColor,
bool  aInvertY,
const KIID aUuid = niluuid 
)

◆ formatFill()

◆ formatPoly()

void formatPoly ( OUTPUTFORMATTER aFormatter,
int  aNestLevel,
EDA_SHAPE aPolyLine,
bool  aIsPrivate,
const STROKE_PARAMS aStroke,
FILL_T  aFillMode,
const COLOR4D aFillColor,
bool  aInvertY,
const KIID aUuid = niluuid 
)

◆ formatRect()

void formatRect ( OUTPUTFORMATTER aFormatter,
int  aNestLevel,
EDA_SHAPE aRect,
bool  aIsPrivate,
const STROKE_PARAMS aStroke,
FILL_T  aFillMode,
const COLOR4D aFillColor,
bool  aInvertY,
const KIID aUuid = niluuid 
)

◆ getPinAngle()

EDA_ANGLE getPinAngle ( PIN_ORIENTATION  aOrientation)

◆ getPinElectricalTypeToken()

◆ getPinShapeToken()

const char * getPinShapeToken ( GRAPHIC_PINSHAPE  aShape)

◆ getSheetPinAngle()

EDA_ANGLE getSheetPinAngle ( SHEET_SIDE  aSide)

◆ getSheetPinShapeToken()

const char * getSheetPinShapeToken ( LABEL_FLAG_SHAPE  aShape)

◆ getTextTypeToken()

const char * getTextTypeToken ( KICAD_T  aType)