1#ifndef HERSHEY_XLIB_HPP
2#define HERSHEY_XLIB_HPP
26 Display *display, Window *win, GC *gc,
Hershey::Glyph glyph,
int x0,
int y0,
42 Display *display, Window *win, GC *gc,
Hershey::String string,
int x0,
int y0,
55 Display *display, Window *win, GC *gc,
Hershey::Font font,
int width,
int height
65float 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_font(Display *display, Window *win, GC *gc, Hershey::Font font, int width, int height)
Draw the glyphs in a font.
Definition hershey_xlib.cpp:36
void draw_glyphs(Display *display, Window *win, GC *gc, Hershey::String string, int x0, int y0, int scale)
Draw a string of glyphs.
Definition hershey_xlib.cpp:25
float position(float fraction, float x, float X)
Calculate a fractional position.
Definition hershey_cairo.cpp:62
void draw_glyph(Display *display, Window *win, GC *gc, Hershey::Glyph glyph, int x0, int y0, int scale)
Draw a glyph.
Definition hershey_xlib.cpp:3