KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PS_plotter.cpp File Reference

KiCad: specialized plotter for PS files format. More...

#include <convert_basic_shapes_to_polygon.h>
#include <macros.h>
#include <math/util.h>
#include <string_utils.h>
#include <trigo.h>
#include <plotters/plotters_pslike.h>

Go to the source code of this file.

Functions

static int getFillId (FILL_T aFill)
 

Variables

const double hv_widths [256]
 Character widths for Helvetica.
 
const double hvb_widths [256]
 Character widths for Helvetica-Bold.
 
const double hvo_widths [256]
 Character widths for Helvetica-Oblique.
 
const double hvbo_widths [256]
 Character widths for Helvetica-BoldOblique.
 

Detailed Description

KiCad: specialized plotter for PS files format.

Definition in file PS_plotter.cpp.

Function Documentation

◆ getFillId()

static int getFillId ( FILL_T  aFill)
static

Definition at line 51 of file PS_plotter.cpp.

References FILLED_SHAPE, and NO_FILL.

Referenced by PS_PLOTTER::Arc(), PS_PLOTTER::Circle(), PS_PLOTTER::PlotPoly(), and PS_PLOTTER::Rect().

Variable Documentation

◆ hv_widths

const double hv_widths

Character widths for Helvetica.

Definition at line 961 of file PS_plotter.cpp.

Referenced by PSLIKE_PLOTTER::returnPostscriptTextWidth().

◆ hvb_widths

const double hvb_widths

Character widths for Helvetica-Bold.

Definition at line 1000 of file PS_plotter.cpp.

Referenced by PSLIKE_PLOTTER::returnPostscriptTextWidth().

◆ hvbo_widths

const double hvbo_widths

Character widths for Helvetica-BoldOblique.

Definition at line 1078 of file PS_plotter.cpp.

Referenced by PSLIKE_PLOTTER::returnPostscriptTextWidth().

◆ hvo_widths

const double hvo_widths

Character widths for Helvetica-Oblique.

Definition at line 1039 of file PS_plotter.cpp.

Referenced by PSLIKE_PLOTTER::returnPostscriptTextWidth().