| 
    KiCad PCB EDA Suite
    
   | 
 
#include <altium_parser_pcb.h>
Public Types | |
| enum class | STROKE_FONT_TYPE { DEFAULT = 1 , SANSSERIF = 2 , SERIF = 3 } | 
Public Member Functions | |
| ATEXT6 (ALTIUM_BINARY_PARSER &aReader, std::map< uint32_t, wxString > &aStringTable) | |
Public Attributes | |
| ALTIUM_LAYER | layer | 
| uint16_t | component = 0 | 
| VECTOR2I | position | 
| uint32_t | height = 0 | 
| double | rotation = 0.0 | 
| uint32_t | strokewidth = 0 | 
| STROKE_FONT_TYPE | strokefonttype | 
| bool | isBold = false | 
| bool | isItalic = false | 
| bool | isMirrored = false | 
| bool | isInverted = false | 
| bool | isInvertedRect = false | 
| bool | isFrame = false | 
| bool | isOffsetBorder = false | 
| bool | isJustificationValid = false | 
| uint32_t | margin_border_width = 0 | 
| uint32_t | textbox_rect_width = 0 | 
| uint32_t | textbox_rect_height = 0 | 
| uint32_t | text_offset_width = 0 | 
| ALTIUM_TEXT_POSITION | textbox_rect_justification = ALTIUM_TEXT_POSITION::CENTER_CENTER | 
| uint32_t | widestring_index = 0 | 
| bool | isComment = false | 
| bool | isDesignator = false | 
| ALTIUM_TEXT_TYPE | fonttype | 
| wxString | fontname | 
| wxString | barcode_fontname | 
| VECTOR2I | barcode_margin = VECTOR2I( 0, 0 ) | 
| ALTIUM_BARCODE_TYPE | barcode_type = ALTIUM_BARCODE_TYPE::CODE39 | 
| bool | barcode_inverted = false | 
| wxString | barcode_name | 
| bool | barcode_show_text = false | 
| wxString | text | 
Definition at line 755 of file altium_parser_pcb.h.
      
  | 
  strong | 
| Enumerator | |
|---|---|
| DEFAULT | |
| SANSSERIF | |
| SERIF | |
Definition at line 757 of file altium_parser_pcb.h.
      
  | 
  explicit | 
Definition at line 1012 of file altium_parser_pcb.cpp.
References barcode_fontname, barcode_inverted, barcode_margin, barcode_type, component, ALTIUM_PROPS_UTILS::ConvertToKicadUnit(), fontname, fonttype, ALTIUM_BINARY_PARSER::GetRemainingSubrecordBytes(), ALTIUM_BINARY_PARSER::HasParsingError(), height, isBold, isComment, isDesignator, isFrame, isInverted, isInvertedRect, isItalic, isJustificationValid, isMirrored, isOffsetBorder, layer, margin_border_width, ALTIUM_BINARY_PARSER::Peek(), position, ALTIUM_BINARY_PARSER::Read(), ALTIUM_BINARY_PARSER::ReadAndSetSubrecordLength(), ALTIUM_BINARY_PARSER::ReadBytes(), ALTIUM_BINARY_PARSER::ReadKicadUnit(), ALTIUM_BINARY_PARSER::ReadVector2IPos(), ALTIUM_BINARY_PARSER::ReadVector2ISize(), ALTIUM_BINARY_PARSER::ReadWxString(), rotation, ALTIUM_BINARY_PARSER::Skip(), ALTIUM_BINARY_PARSER::SkipSubrecord(), STROKE, strokefonttype, strokewidth, TEXT, text, text_offset_width, textbox_rect_height, textbox_rect_justification, textbox_rect_width, THROW_IO_ERROR, widestring_index, VECTOR2< T >::x, and VECTOR2< T >::y.
| wxString ATEXT6::barcode_fontname | 
Definition at line 799 of file altium_parser_pcb.h.
Referenced by ATEXT6().
| bool ATEXT6::barcode_inverted = false | 
Definition at line 804 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertBarcodes6ToBoardItemOnLayer(), and ALTIUM_PCB::ConvertBarcodes6ToFootprintItemOnLayer().
Definition at line 802 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertBarcodes6ToBoardItemOnLayer(), and ALTIUM_PCB::ConvertBarcodes6ToFootprintItemOnLayer().
| wxString ATEXT6::barcode_name | 
Definition at line 805 of file altium_parser_pcb.h.
| bool ATEXT6::barcode_show_text = false | 
Definition at line 806 of file altium_parser_pcb.h.
| ALTIUM_BARCODE_TYPE ATEXT6::barcode_type = ALTIUM_BARCODE_TYPE::CODE39 | 
Definition at line 803 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertBarcodes6ToBoardItemOnLayer(), and ALTIUM_PCB::ConvertBarcodes6ToFootprintItemOnLayer().
| uint16_t ATEXT6::component = 0 | 
Definition at line 766 of file altium_parser_pcb.h.
Referenced by ATEXT6(), and ALTIUM_PCB::ParseTexts6Data().
| wxString ATEXT6::fontname | 
Definition at line 798 of file altium_parser_pcb.h.
Referenced by ATEXT6(), and ALTIUM_PCB::ConvertTexts6ToEdaTextSettings().
| ALTIUM_TEXT_TYPE ATEXT6::fonttype | 
Definition at line 797 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertTexts6ToBoardItem(), ALTIUM_PCB::ConvertTexts6ToEdaTextSettings(), and ALTIUM_PCB::ConvertTexts6ToFootprintItem().
| uint32_t ATEXT6::height = 0 | 
Definition at line 769 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertTexts6ToEdaTextSettings(), and ALTIUM_PCB::HelperSetTextAlignmentAndPos().
| bool ATEXT6::isBold = false | 
Definition at line 774 of file altium_parser_pcb.h.
Referenced by ATEXT6(), and ALTIUM_PCB::ConvertTexts6ToEdaTextSettings().
| bool ATEXT6::isComment = false | 
Definition at line 794 of file altium_parser_pcb.h.
Referenced by ATEXT6(), and ALTIUM_PCB::ConvertTexts6ToFootprintItemOnLayer().
| bool ATEXT6::isDesignator = false | 
Definition at line 795 of file altium_parser_pcb.h.
Referenced by ATEXT6(), and ALTIUM_PCB::ConvertTexts6ToFootprintItemOnLayer().
| bool ATEXT6::isFrame = false | 
Definition at line 779 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertTexts6ToBoardItemOnLayer(), and ALTIUM_PCB::ConvertTexts6ToFootprintItemOnLayer().
| bool ATEXT6::isInverted = false | 
Definition at line 777 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertTexts6ToBoardItemOnLayer(), and ALTIUM_PCB::ConvertTexts6ToFootprintItemOnLayer().
| bool ATEXT6::isInvertedRect = false | 
Definition at line 778 of file altium_parser_pcb.h.
Referenced by ATEXT6().
| bool ATEXT6::isItalic = false | 
Definition at line 775 of file altium_parser_pcb.h.
Referenced by ATEXT6(), and ALTIUM_PCB::ConvertTexts6ToEdaTextSettings().
| bool ATEXT6::isJustificationValid = false | 
Definition at line 781 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| bool ATEXT6::isMirrored = false | 
Definition at line 776 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertTexts6ToEdaTextSettings(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| bool ATEXT6::isOffsetBorder = false | 
Definition at line 780 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertTexts6ToBoardItemOnLayer(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| ALTIUM_LAYER ATEXT6::layer | 
Definition at line 765 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertTexts6ToBoardItem(), and ALTIUM_PCB::ConvertTexts6ToFootprintItem().
| uint32_t ATEXT6::margin_border_width = 0 | 
Definition at line 783 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertTexts6ToBoardItemOnLayer(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| VECTOR2I ATEXT6::position | 
Definition at line 768 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertBarcodes6ToBoardItemOnLayer(), ALTIUM_PCB::ConvertBarcodes6ToFootprintItemOnLayer(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| double ATEXT6::rotation = 0.0 | 
Definition at line 770 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| STROKE_FONT_TYPE ATEXT6::strokefonttype | 
Definition at line 772 of file altium_parser_pcb.h.
Referenced by ATEXT6().
| uint32_t ATEXT6::strokewidth = 0 | 
Definition at line 771 of file altium_parser_pcb.h.
Referenced by ATEXT6(), and ALTIUM_PCB::ConvertTexts6ToEdaTextSettings().
| wxString ATEXT6::text | 
Definition at line 808 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertBarcodes6ToBoardItemOnLayer(), ALTIUM_PCB::ConvertBarcodes6ToFootprintItemOnLayer(), ALTIUM_PCB::ConvertTexts6ToBoardItemOnLayer(), ALTIUM_PCB::ConvertTexts6ToFootprintItemOnLayer(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| uint32_t ATEXT6::text_offset_width = 0 | 
Definition at line 786 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertTexts6ToBoardItemOnLayer(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| uint32_t ATEXT6::textbox_rect_height = 0 | 
Definition at line 785 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertBarcodes6ToBoardItemOnLayer(), ALTIUM_PCB::ConvertBarcodes6ToFootprintItemOnLayer(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| ALTIUM_TEXT_POSITION ATEXT6::textbox_rect_justification = ALTIUM_TEXT_POSITION::CENTER_CENTER | 
Definition at line 790 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| uint32_t ATEXT6::textbox_rect_width = 0 | 
Definition at line 784 of file altium_parser_pcb.h.
Referenced by ATEXT6(), ALTIUM_PCB::ConvertBarcodes6ToBoardItemOnLayer(), ALTIUM_PCB::ConvertBarcodes6ToFootprintItemOnLayer(), ALTIUM_PCB::HelperSetTextAlignmentAndPos(), and ALTIUM_PCB::HelperSetTextboxAlignmentAndPos().
| uint32_t ATEXT6::widestring_index = 0 | 
Definition at line 792 of file altium_parser_pcb.h.
Referenced by ATEXT6().