KiCad PCB EDA Suite
ASCH_NOTE Struct Reference

#include <altium_parser_sch.h>

Inheritance diagram for ASCH_NOTE:
ASCH_TEXT_FRAME

Public Member Functions

 ASCH_NOTE (const std::map< wxString, wxString > &aProperties)
 

Public Attributes

wxString author
 
wxPoint location
 
wxSize size
 
wxString text
 
int fontId
 
bool isWordWrapped
 
bool border
 
int textMargin
 
int areaColor
 
ASCH_TEXT_FRAME_ALIGNMENT alignment
 

Detailed Description

Definition at line 286 of file altium_parser_sch.h.

Constructor & Destructor Documentation

◆ ASCH_NOTE()

ASCH_NOTE::ASCH_NOTE ( const std::map< wxString, wxString > &  aProperties)
explicit

Definition at line 254 of file altium_parser_sch.cpp.

254  :
255  ASCH_TEXT_FRAME( aProperties )
256 {
257  wxASSERT( ReadRecord( aProperties ) == ALTIUM_SCH_RECORD::NOTE );
258 
259  author = ALTIUM_PARSER::ReadString( aProperties, "AUTHOR", "" );
260 }
ASCH_TEXT_FRAME(const std::map< wxString, wxString > &aProps)
ALTIUM_SCH_RECORD ReadRecord(const std::map< wxString, wxString > &aProps)
wxString author
static wxString ReadString(const std::map< wxString, wxString > &aProps, const wxString &aKey, const wxString &aDefault)

References author, NOTE, ReadRecord(), and ALTIUM_PARSER::ReadString().

Member Data Documentation

◆ alignment

◆ areaColor

int ASCH_TEXT_FRAME::areaColor
inherited

Definition at line 278 of file altium_parser_sch.h.

Referenced by ASCH_TEXT_FRAME::ASCH_TEXT_FRAME().

◆ author

wxString ASCH_NOTE::author

Definition at line 288 of file altium_parser_sch.h.

Referenced by ASCH_NOTE().

◆ border

bool ASCH_TEXT_FRAME::border
inherited

Definition at line 276 of file altium_parser_sch.h.

Referenced by ASCH_TEXT_FRAME::ASCH_TEXT_FRAME().

◆ fontId

int ASCH_TEXT_FRAME::fontId
inherited

◆ isWordWrapped

bool ASCH_TEXT_FRAME::isWordWrapped
inherited

Definition at line 275 of file altium_parser_sch.h.

Referenced by ASCH_TEXT_FRAME::ASCH_TEXT_FRAME().

◆ location

wxPoint ASCH_TEXT_FRAME::location
inherited

◆ size

wxSize ASCH_TEXT_FRAME::size
inherited

Definition at line 270 of file altium_parser_sch.h.

Referenced by ASCH_TEXT_FRAME::ASCH_TEXT_FRAME().

◆ text

wxString ASCH_TEXT_FRAME::text
inherited

◆ textMargin

int ASCH_TEXT_FRAME::textMargin
inherited

Definition at line 277 of file altium_parser_sch.h.

Referenced by ASCH_TEXT_FRAME::ASCH_TEXT_FRAME().


The documentation for this struct was generated from the following files: