KiCad PCB EDA Suite
ROUNDED_CORNER Struct Reference

Public Member Functions

 ROUNDED_CORNER (int x, int y)
 
 ROUNDED_CORNER (int x, int y, int radius)
 

Public Attributes

VECTOR2I m_position
 
int m_radius
 

Detailed Description

Definition at line 231 of file convert_basic_shapes_to_polygon.cpp.

Constructor & Destructor Documentation

◆ ROUNDED_CORNER() [1/2]

ROUNDED_CORNER::ROUNDED_CORNER ( int  x,
int  y 
)
inline

Definition at line 235 of file convert_basic_shapes_to_polygon.cpp.

235 : m_position( VECTOR2I( x, y ) ), m_radius( 0 ) {}
VECTOR2< int > VECTOR2I
Definition: vector2d.h:623

◆ ROUNDED_CORNER() [2/2]

ROUNDED_CORNER::ROUNDED_CORNER ( int  x,
int  y,
int  radius 
)
inline

Definition at line 236 of file convert_basic_shapes_to_polygon.cpp.

236 : m_position( VECTOR2I( x, y ) ), m_radius( radius ) {}
VECTOR2< int > VECTOR2I
Definition: vector2d.h:623

Member Data Documentation

◆ m_position

VECTOR2I ROUNDED_CORNER::m_position

Definition at line 233 of file convert_basic_shapes_to_polygon.cpp.

Referenced by CornerListToPolygon().

◆ m_radius

int ROUNDED_CORNER::m_radius

Definition at line 234 of file convert_basic_shapes_to_polygon.cpp.

Referenced by CornerListToPolygon().


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