KiCad PCB EDA Suite
eda_text.cpp File Reference

Implementation of base KiCad text object. More...

#include <eda_text.h>
#include <drawtxt.h>
#include <class_eda_rect.h>
#include <macros.h>
#include <trigo.h>
#include <class_drawpanel.h>
#include <basic_gal.h>
#include <convert_to_biu.h>

Go to the source code of this file.

Functions

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

Variables

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 
)
static

Definition at line 501 of file eda_text.cpp.

Referenced by EDA_TEXT::TransformTextShapeToSegmentList().

502 {
503  s_cornerBuffer->push_back( wxPoint( x0, y0 ) );
504  s_cornerBuffer->push_back( wxPoint( xf, yf ) );
505 }
static std::vector< wxPoint > * s_cornerBuffer
Definition: eda_text.cpp:498

Variable Documentation

std::vector<wxPoint>* s_cornerBuffer
static

Definition at line 498 of file eda_text.cpp.