23void write_header(std::ofstream &svg_file, 
int width, 
int height, 
int scale);
 
   42    std::ofstream &svg_file, 
Hershey::Glyph glyph, 
float x0, 
float y0, 
float scale
 
   55    std::ofstream &svg_file, 
Hershey::String string, 
float x0, 
float y0, 
float scale
 
   75float position(
float fraction, 
float x, 
float X);
 
A Hershey vector font.
Definition font.hpp:19
A Hershey vector font glyph.
Definition glyph.hpp:17
A character string comprising Hershey vector font glyphs.
Definition string.hpp:20
void draw_glyphs(std::ofstream &svg_file, Hershey::String string, float x0, float y0, float scale)
Draw a string of glyphs.
Definition hershey_svg.cpp:37
void write_footer(std::ofstream &svg_file)
Write the svg file header.
Definition hershey_svg.cpp:10
void write_header(std::ofstream &svg_file, int width, int height, int scale)
Write the svg file header.
Definition hershey_svg.cpp:3
void draw_glyph(std::ofstream &svg_file, Hershey::Glyph glyph, float x0, float y0, float scale)
Draw a glyph.
Definition hershey_svg.cpp:14
float position(float fraction, float x, float X)
Calculate a fractional position.
Definition hershey_cairo.cpp:62
void draw_font(std::ofstream &svg_file, Hershey::Font font, int width, int height)
Draw the glyphs in a font.
Definition hershey_svg.cpp:47