|
Horizon
|
Public Types | |
| enum | PinDisplayMode { PRIMARY, ALT, BOTH } |
| fills in information from the referenced unit | |
Public Member Functions | |
| Symbol (const UUID &uu, const json &j, class Pool &pool) | |
| Symbol (const UUID &uu) | |
| std::pair< Coordi, Coordi > | get_bbox (bool all=false) const |
| virtual Junction * | get_junction (const UUID &uu) |
| virtual SymbolPin * | get_symbol_pin (const UUID &uu) |
| json | serialize () const |
| void | expand (PinDisplayMode mode=PinDisplayMode::PRIMARY) |
| Symbol (const Symbol &sym) | |
| void | operator= (Symbol const &sym) |
| void | apply_placement (const Placement &p) |
Public Member Functions inherited from horizon::ObjectProvider | |
| virtual class Polygon * | get_polygon (const UUID &uu) |
Public Member Functions inherited from horizon::LayerProvider | |
| virtual const std::map< int, Layer > & | get_layers () const |
Static Public Member Functions | |
| static Symbol | new_from_file (const std::string &filename, Pool &pool) |
Public Attributes | |
| UUID | uuid |
| uuid_ptr< const Unit > | unit |
| std::string | name |
| std::map< UUID, SymbolPin > | pins |
| std::map< UUID, Junction > | junctions |
| std::map< UUID, Line > | lines |
| std::map< UUID, Arc > | arcs |
| std::map< UUID, Text > | texts |
| std::map< UUID, Polygon > | polygons |
| bool | can_expand = false |
| std::map< std::tuple< int, bool, UUID >, Placement > | text_placements |
1.8.17