30#include <wx/translation.h>
68extern const std::map<LINE_STYLE, struct LINE_STYLE_DESC>
lineTypeNames;
71#define DEFAULT_STYLE _( "Default" )
72#define INDETERMINATE_STYLE _( "Leave unchanged" )
108 bool aIncludeStyle =
true,
bool aIncludeWidth =
true );
116 const std::function<
void(
const VECTOR2I& a,
const VECTOR2I& b )>& aStroker );
BITMAPS
A list of all bitmap identifiers.
A color representation with 4 components: red, green, blue, alpha.
static const COLOR4D UNSPECIFIED
For legacy support; used as a value to indicate color hasn't been set yet.
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
EDA_MSG_PANEL items for displaying messages.
An abstract shape on 2D plane.
Simple container to manage line stroke parameters.
void SetLineStyle(LINE_STYLE aLineStyle)
void SetWidth(int aWidth)
void SetColor(const KIGFX::COLOR4D &aColor)
void GetMsgPanelInfo(UNITS_PROVIDER *aUnitsProvider, std::vector< MSG_PANEL_ITEM > &aList, bool aIncludeStyle=true, bool aIncludeWidth=true)
STROKE_PARAMS(int aWidth=0, LINE_STYLE aLineStyle=LINE_STYLE::DEFAULT, const KIGFX::COLOR4D &aColor=KIGFX::COLOR4D::UNSPECIFIED)
LINE_STYLE GetLineStyle() const
bool operator!=(const STROKE_PARAMS &aOther) const
void Format(OUTPUTFORMATTER *out, const EDA_IU_SCALE &aIuScale) const
KIGFX::COLOR4D GetColor() const
static void Stroke(const SHAPE *aShape, LINE_STYLE aLineStyle, int aWidth, const KIGFX::RENDER_SETTINGS *aRenderSettings, const std::function< void(const VECTOR2I &a, const VECTOR2I &b)> &aStroker)
static wxString GetLineStyleToken(LINE_STYLE aStyle)
The Cairo implementation of the graphics abstraction layer.
const std::map< LINE_STYLE, struct LINE_STYLE_DESC > lineTypeNames
LINE_STYLE
Dashed line types.