17 #ifndef R_VFONTS_MODULE_H
18 #define R_VFONTS_MODULE_H
24 typedef void (*R_GE_VTextRoutine)(
double x,
double y,
const char *
const s,
25 double x_justify,
double y_justify,
27 const pGEcontext gc, pGEDevDesc dd);
29 typedef double (*R_GE_VStrWidthRoutine)(
const char *s,
30 const pGEcontext gc, pGEDevDesc dd);
32 typedef double (*R_GE_VStrHeightRoutine)(
const char *s,
33 const pGEcontext gc, pGEDevDesc dd);
36 R_GE_VTextRoutine GEVText;
37 R_GE_VStrWidthRoutine GEVStrWidth;
38 R_GE_VStrHeightRoutine GEVStrHeight;
41 void R_GE_setVFontRoutines(R_GE_VStrWidthRoutine vwidth,
42 R_GE_VStrHeightRoutine vheight,
43 R_GE_VTextRoutine vtext);