KiCad PCB EDA Suite
eda_text.cpp File Reference

Implementation of base KiCad text object. More...

#include <eda_text.h>
#include <draw_graphic_text.h>
#include <eda_rect.h>
#include <macros.h>
#include <trigo.h>
#include <class_drawpanel.h>
#include <basic_gal.h>
#include <unit_format.h>
#include <convert_to_biu.h>

Go to the source code of this file.


static void addTextSegmToBuffer (int x0, int y0, int xf, int yf)


static std::vector< wxPoint > * s_cornerBuffer

Detailed Description

Implementation of base KiCad text object.

Definition in file eda_text.cpp.

Function Documentation

static void addTextSegmToBuffer ( int  x0,
int  y0,
int  xf,
int  yf 

Definition at line 473 of file eda_text.cpp.

References s_cornerBuffer.

Referenced by EDA_TEXT::TransformTextShapeToSegmentList().

474 {
475  s_cornerBuffer->push_back( wxPoint( x0, y0 ) );
476  s_cornerBuffer->push_back( wxPoint( xf, yf ) );
477 }
static std::vector< wxPoint > * s_cornerBuffer
Definition: eda_text.cpp:470

Variable Documentation

std::vector<wxPoint>* s_cornerBuffer

Definition at line 470 of file eda_text.cpp.

Referenced by addTextSegmToBuffer(), and EDA_TEXT::TransformTextShapeToSegmentList().