![]() |
KiCad PCB EDA Suite
|
#include <pl_editor_layout.h>
Public Member Functions | |
PL_EDITOR_LAYOUT () | |
~PL_EDITOR_LAYOUT () | |
PAGE_INFO & | GetPageSettings () |
const PAGE_INFO & | GetPageSettings () const |
void | SetPageSettings (const PAGE_INFO &aPageSettings) |
const wxPoint & | GetAuxOrigin () const |
TITLE_BLOCK & | GetTitleBlock () |
const TITLE_BLOCK & | GetTitleBlock () const |
void | SetTitleBlock (const TITLE_BLOCK &aTitleBlock) |
DS_DRAW_ITEM_LIST & | GetDrawItems () |
EDA_RECT | ComputeBoundingBox () |
Calculate the bounding box containing all Gerber items. More... | |
const EDA_RECT | GetBoundingBox () const |
Called soon after ComputeBoundingBox() to return the same EDA_RECT, as long as the CLASS_PL_EDITOR_LAYOUT has not changed. More... | |
void | SetBoundingBox (const EDA_RECT &aBox) |
void | GetMsgPanelInfo (EDA_DRAW_FRAME *aFrame, std::vector< MSG_PANEL_ITEM > &aList) |
Private Attributes | |
EDA_RECT | m_boundingBox |
PAGE_INFO | m_paper |
TITLE_BLOCK | m_titles |
DS_DRAW_ITEM_LIST | m_drawItemList |
Definition at line 37 of file pl_editor_layout.h.
PL_EDITOR_LAYOUT::PL_EDITOR_LAYOUT | ( | ) |
Definition at line 37 of file pl_editor_layout.cpp.
References SetPageSettings().
PL_EDITOR_LAYOUT::~PL_EDITOR_LAYOUT | ( | ) |
Definition at line 44 of file pl_editor_layout.cpp.
EDA_RECT PL_EDITOR_LAYOUT::ComputeBoundingBox | ( | ) |
Calculate the bounding box containing all Gerber items.
Definition at line 49 of file pl_editor_layout.cpp.
References SetBoundingBox().
|
inline |
Definition at line 47 of file pl_editor_layout.h.
|
inline |
Called soon after ComputeBoundingBox() to return the same EDA_RECT, as long as the CLASS_PL_EDITOR_LAYOUT has not changed.
Definition at line 73 of file pl_editor_layout.h.
References m_boundingBox.
|
inline |
void PL_EDITOR_LAYOUT::GetMsgPanelInfo | ( | EDA_DRAW_FRAME * | aFrame, |
std::vector< MSG_PANEL_ITEM > & | aList | ||
) |
Definition at line 58 of file pl_editor_layout.cpp.
References _, GetPageSettings(), EDA_BASE_FRAME::GetUserUnits(), MessageTextFromValue(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PL_EDITOR_CONTROL::UpdateMessagePanel().
|
inline |
Definition at line 43 of file pl_editor_layout.h.
References m_paper.
Referenced by GetMsgPanelInfo(), PL_EDITOR_FRAME::GetPageSettings(), PL_EDITOR_FRAME::GetPageSizeIU(), and DIALOG_INSPECTOR::ReCreateDesignList().
|
inline |
|
inline |
Definition at line 53 of file pl_editor_layout.h.
References m_titles.
Referenced by PL_EDITOR_FRAME::GetTitleBlock().
|
inline |
|
inline |
Definition at line 75 of file pl_editor_layout.h.
References m_boundingBox.
Referenced by ComputeBoundingBox().
|
inline |
Definition at line 45 of file pl_editor_layout.h.
References m_paper.
Referenced by PL_EDITOR_LAYOUT(), and PL_EDITOR_FRAME::SetPageSettings().
|
inline |
Definition at line 55 of file pl_editor_layout.h.
References m_titles.
Referenced by PL_EDITOR_FRAME::SetTitleBlock().
|
private |
Definition at line 84 of file pl_editor_layout.h.
Referenced by GetBoundingBox(), and SetBoundingBox().
|
private |
Definition at line 88 of file pl_editor_layout.h.
Referenced by GetDrawItems().
|
private |
Definition at line 85 of file pl_editor_layout.h.
Referenced by GetPageSettings(), and SetPageSettings().
|
private |
Definition at line 86 of file pl_editor_layout.h.
Referenced by GetTitleBlock(), and SetTitleBlock().