Skip to content
Snippets Groups Projects
sfont.h 450 B
Newer Older
teuben's avatar
teuben committed
#ifndef SFONT_H
#define SFONT_H

#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*/