KiCad PCB EDA Suite
stroke_params.h File Reference
#include <map>
#include <bitmaps.h>
#include <units_provider.h>
#include <gal/color4d.h>
#include <wx/translation.h>
#include <geometry/shape.h>
#include <stroke_params_lexer.h>

Go to the source code of this file.

Classes

struct  lineTypeStruct
 
class  STROKE_PARAMS
 Simple container to manage line stroke parameters. More...
 
class  STROKE_PARAMS_PARSER
 

Namespaces

namespace  KIGFX
 The Cairo implementation of the graphics abstraction layer.
 

Macros

#define DEFAULT_STYLE   _( "Default" )
 
#define INDETERMINATE_STYLE   _( "Leave unchanged" )
 

Enumerations

enum class  PLOT_DASH_TYPE {
  DEFAULT = -1 , SOLID = 0 , FIRST_TYPE = SOLID , DASH ,
  DOT , DASHDOT , DASHDOTDOT , LAST_TYPE = DASHDOTDOT
}
 Dashed line types. More...
 

Variables

const std::map< PLOT_DASH_TYPE, struct lineTypeStructlineTypeNames
 

Macro Definition Documentation

◆ DEFAULT_STYLE

#define DEFAULT_STYLE   _( "Default" )

Definition at line 80 of file stroke_params.h.

◆ INDETERMINATE_STYLE

#define INDETERMINATE_STYLE   _( "Leave unchanged" )

Definition at line 81 of file stroke_params.h.

Enumeration Type Documentation

◆ PLOT_DASH_TYPE

enum class PLOT_DASH_TYPE
strong

Dashed line types.

Enumerator
DEFAULT 
SOLID 
FIRST_TYPE 
DASH 
DOT 
DASHDOT 
DASHDOTDOT 
LAST_TYPE 

Definition at line 47 of file stroke_params.h.

Variable Documentation

◆ lineTypeNames

const std::map<PLOT_DASH_TYPE, struct lineTypeStruct> lineTypeNames
Initial value:
=
{
{ PLOT_DASH_TYPE::DOT, { _( "Dotted" ), BITMAPS::stroke_dot } },
}
@ stroke_dashdotdot
@ stroke_dashdot
@ stroke_solid
#define _(s)

Definition at line 70 of file stroke_params.h.

Referenced by DIALOG_GRAPHIC_ITEM_PROPERTIES::DIALOG_GRAPHIC_ITEM_PROPERTIES(), DIALOG_LIB_SHAPE_PROPERTIES::DIALOG_LIB_SHAPE_PROPERTIES(), DIALOG_LIB_TEXTBOX_PROPERTIES::DIALOG_LIB_TEXTBOX_PROPERTIES(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), STROKE_PARAMS::GetMsgPanelInfo(), DIALOG_GRAPHIC_ITEM_PROPERTIES::onFilledCheckbox(), STROKE_PARAMS::Stroke(), DIALOG_LIB_SHAPE_PROPERTIES::TransferDataFromWindow(), DIALOG_LIB_TEXTBOX_PROPERTIES::TransferDataFromWindow(), DIALOG_LINE_PROPERTIES::TransferDataFromWindow(), DIALOG_SHAPE_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXT_PROPERTIES::TransferDataFromWindow(), DIALOG_WIRE_BUS_PROPERTIES::TransferDataFromWindow(), DIALOG_GRAPHIC_ITEM_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXTBOX_PROPERTIES::TransferDataFromWindow(), DIALOG_LIB_SHAPE_PROPERTIES::TransferDataToWindow(), DIALOG_LIB_TEXTBOX_PROPERTIES::TransferDataToWindow(), DIALOG_LINE_PROPERTIES::TransferDataToWindow(), DIALOG_SHAPE_PROPERTIES::TransferDataToWindow(), DIALOG_TEXT_PROPERTIES::TransferDataToWindow(), DIALOG_WIRE_BUS_PROPERTIES::TransferDataToWindow(), DIALOG_GRAPHIC_ITEM_PROPERTIES::TransferDataToWindow(), and DIALOG_TEXTBOX_PROPERTIES::TransferDataToWindow().