KiCad PCB EDA Suite
POINT_COORD Class Reference

A coordinate point The position is always relative to the corner anchor Note the coordinate is from the anchor point to the opposite corner. More...

#include <ws_data_item.h>

Public Member Functions

 POINT_COORD ()
 
 POINT_COORD (DPOINT aPos, enum CORNER_ANCHOR aAnchor=RB_CORNER)
 

Public Attributes

DPOINT m_Pos
 
int m_Anchor
 

Detailed Description

A coordinate point The position is always relative to the corner anchor Note the coordinate is from the anchor point to the opposite corner.

Definition at line 68 of file ws_data_item.h.

Constructor & Destructor Documentation

◆ POINT_COORD() [1/2]

POINT_COORD::POINT_COORD ( )
inline

Definition at line 74 of file ws_data_item.h.

References m_Anchor, and RB_CORNER.

◆ POINT_COORD() [2/2]

POINT_COORD::POINT_COORD ( DPOINT  aPos,
enum CORNER_ANCHOR  aAnchor = RB_CORNER 
)
inline

Definition at line 76 of file ws_data_item.h.

77  {
78  m_Pos = aPos;
79  m_Anchor = aAnchor;
80  }
DPOINT m_Pos
Definition: ws_data_item.h:71

References m_Anchor, and m_Pos.

Member Data Documentation

◆ m_Anchor

◆ m_Pos


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