KiCad PCB EDA Suite
Loading...
Searching...
No Matches
OUTLINE_RECT Class Reference

#include <odb_eda_data.h>

Inheritance diagram for OUTLINE_RECT:
PKG_OUTLINE

Public Member Functions

 OUTLINE_RECT (const VECTOR2I &aLowerLeft, size_t aWidth, size_t aHeight)
 
 OUTLINE_RECT (const BOX2I &aBox)
 
void Write (std::ostream &ost) const override
 

Public Attributes

VECTOR2I m_lower_left
 
size_t m_width
 
size_t m_height
 

Detailed Description

Definition at line 275 of file odb_eda_data.h.

Constructor & Destructor Documentation

◆ OUTLINE_RECT() [1/2]

OUTLINE_RECT::OUTLINE_RECT ( const VECTOR2I aLowerLeft,
size_t  aWidth,
size_t  aHeight 
)
inline

Definition at line 278 of file odb_eda_data.h.

◆ OUTLINE_RECT() [2/2]

OUTLINE_RECT::OUTLINE_RECT ( const BOX2I aBox)
inline

Definition at line 283 of file odb_eda_data.h.

Member Function Documentation

◆ Write()

void OUTLINE_RECT::Write ( std::ostream &  ost) const
overridevirtual

Implements PKG_OUTLINE.

Definition at line 172 of file odb_eda_data.cpp.

References ODB::Data2String().

Member Data Documentation

◆ m_height

size_t OUTLINE_RECT::m_height

Definition at line 290 of file odb_eda_data.h.

◆ m_lower_left

VECTOR2I OUTLINE_RECT::m_lower_left

Definition at line 288 of file odb_eda_data.h.

◆ m_width

size_t OUTLINE_RECT::m_width

Definition at line 289 of file odb_eda_data.h.


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