Skip to content
Snippets Groups Projects
sfont.h 733 B
Newer Older
teuben's avatar
teuben committed
#ifndef SFONT_H
#define SFONT_H
/*
 * Hershey vector fonts.
 * Stuart Levy, slevy@ncsa.uiuc.edu
 * National Center for Supercomputing Applications,
 * University of Illinois 2001.
 * This file is part of partiview, released under the
 * Illinois Open Source License; see the file LICENSE.partiview for details.
teuben's avatar
teuben committed

#include "geometry.h"	/* for Point, CONST, COUNT() */

#ifdef __cplusplus
extern "C" {
#endif

extern float sfStrWidth( CONST char *str );	/* width assuming height=1.0 */
teuben's avatar
teuben committed

extern float sfStrDraw( CONST char *str, float height, CONST Point *base );
extern float sfStrDrawTJ( CONST char *str, float height, CONST Point *base,
					CONST Matrix *tfm, CONST char *just );
teuben's avatar
teuben committed

#ifdef __cplusplus
}
#endif

#endif /*SFONT_H*/