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
 
VECTOR2I Location
 
wxSize Size
 
VECTOR2I BottomLeft
 
VECTOR2I TopRight
 
wxString Text
 
bool IsWordWrapped
 
bool ShowBorder
 
bool IsSolid
 
int FontID
 
int TextMargin
 
int AreaColor
 
int BorderColor
 
ASCH_TEXT_FRAME_ALIGNMENT Alignment
 

Detailed Description

Definition at line 318 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 284 of file altium_parser_sch.cpp.

284 :
285 ASCH_TEXT_FRAME( aProperties )
286{
287 wxASSERT( ReadRecord( aProperties ) == ALTIUM_SCH_RECORD::NOTE );
288
289 author = ALTIUM_PARSER::ReadString( aProperties, "AUTHOR", "" );
290}
ALTIUM_SCH_RECORD ReadRecord(const std::map< wxString, wxString > &aProps)
static wxString ReadString(const std::map< wxString, wxString > &aProps, const wxString &aKey, const wxString &aDefault)
wxString author
ASCH_TEXT_FRAME(const std::map< wxString, wxString > &aProps)

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

Member Data Documentation

◆ Alignment

ASCH_TEXT_FRAME_ALIGNMENT ASCH_TEXT_FRAME::Alignment
inherited

◆ AreaColor

int ASCH_TEXT_FRAME::AreaColor
inherited

◆ author

wxString ASCH_NOTE::author

Definition at line 320 of file altium_parser_sch.h.

Referenced by ASCH_NOTE().

◆ BorderColor

int ASCH_TEXT_FRAME::BorderColor
inherited

◆ BottomLeft

VECTOR2I ASCH_TEXT_FRAME::BottomLeft
inherited

◆ FontID

int ASCH_TEXT_FRAME::FontID
inherited

◆ IsSolid

bool ASCH_TEXT_FRAME::IsSolid
inherited

◆ IsWordWrapped

bool ASCH_TEXT_FRAME::IsWordWrapped
inherited

Definition at line 303 of file altium_parser_sch.h.

Referenced by ASCH_TEXT_FRAME::ASCH_TEXT_FRAME().

◆ Location

VECTOR2I ASCH_TEXT_FRAME::Location
inherited

Definition at line 294 of file altium_parser_sch.h.

Referenced by ASCH_TEXT_FRAME::ASCH_TEXT_FRAME().

◆ ShowBorder

bool ASCH_TEXT_FRAME::ShowBorder
inherited

◆ Size

wxSize ASCH_TEXT_FRAME::Size
inherited

Definition at line 295 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 308 of file altium_parser_sch.h.

Referenced by ASCH_TEXT_FRAME::ASCH_TEXT_FRAME().

◆ TopRight

VECTOR2I ASCH_TEXT_FRAME::TopRight
inherited

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