83 void draw(
const SCH_PIN* aPin,
int aLayer,
bool aDimmed );
84 void draw(
const LIB_SYMBOL* aSymbol,
int,
bool aDrawFields =
true,
int aUnit = 0,
85 int aBodyStyle = 0,
bool aDimmed =
false );
87 void draw(
const SCH_SHAPE* aShape,
int aLayer,
bool aDimmed );
89 void draw(
const SCH_FIELD* aField,
int aLayer,
bool aDimmed );
91 void draw(
const SCH_TEXT* aText,
int aLayer,
bool aDimmed );
92 void draw(
const SCH_TABLE* aTable,
int aLayer,
bool aDimmed );
105 bool aDrawingShadows,
bool aBrightened );
107 bool aDangling,
bool aDrawingShadows,
bool aBrightened );
120 bool aDimmed =
false )
const;
123 bool aDrawingWireColorHighlights =
false )
const;
A base class for most all the KiCad significant classes used in schematics and boards.
A mix-in class (via multiple inheritance) that handles texts such as labels, parts,...
FONT is an abstract base class for both outline and stroke fonts.
A color representation with 4 components: red, green, blue, alpha.
Abstract interface for drawing on a 2D-surface.
Contains all the knowledge about how to draw graphical object onto any particular output device.
Contains methods for drawing schematic-specific items.
virtual SCH_RENDER_SETTINGS * GetSettings() override
Return a pointer to current settings that are going to be used when drawing items.
virtual bool Draw(const VIEW_ITEM *, int) override
Takes an instance of VIEW_ITEM and passes it to a function that knows how to draw the item.
COLOR4D getRenderColor(const SCH_ITEM *aItem, int aLayer, bool aDrawingShadows, bool aDimmed=false) const
float getTextThickness(const SCH_ITEM *aItem) const
float getShadowWidth(bool aForHighlight) const
int externalPinDecoSize(const SCH_PIN &aPin)
KIFONT::FONT * getFont(const EDA_TEXT *aText) const
void draw(const EDA_ITEM *, int, bool aDimmed)
wxString expandLibItemTextVars(const wxString &aSourceText, const SCH_SYMBOL *aSymbolContext)
static std::vector< KICAD_T > g_ScaledSelectionTypes
int getOperatingPointTextSize() const
float getLineWidth(const SCH_ITEM *aItem, bool aDrawingShadows, bool aDrawingWireColorHighlights=false) const
void triLine(const VECTOR2D &a, const VECTOR2D &b, const VECTOR2D &c)
void SetSchematic(SCHEMATIC *aSchematic)
SCH_RENDER_SETTINGS m_schSettings
void drawPinDanglingIndicator(const VECTOR2I &aPos, const COLOR4D &aColor, bool aDrawingShadows, bool aBrightened)
void drawAnchor(const VECTOR2I &aPos, bool aDrawingShadows)
bool nonCached(const EDA_ITEM *aItem)
void drawDanglingIndicator(const VECTOR2I &aPos, const COLOR4D &aColor, int aWidth, bool aDangling, bool aDrawingShadows, bool aBrightened)
void drawItemBoundingBox(const EDA_ITEM *aItem)
int internalPinDecoSize(const SCH_PIN &aPin)
bool isUnitAndConversionShown(const SCH_ITEM *aItem) const
An abstract base class for deriving all objects that can be added to a VIEW.
Define a library symbol object.
Holds all the data relating to one schematic.
Object to handle a bitmap image that can be inserted in a schematic.
Base class for a bus or wire entry.
Instances are attached to a symbol or sheet and provide a place for the symbol's value,...
Base class for any item which can be embedded within the SCHEMATIC container class,...
Segment description base class to describe items which have 2 end points (track, wire,...
Define a sheet pin (label) used in sheets to create hierarchical schematics.
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
The Cairo implementation of the graphics abstraction layer.