-/* Font constants for use with tgi_textstyle */
+/* Font constants for use with tgi_settextstyle */
#define TGI_FONT_BITMAP 0
#define TGI_FONT_VECTOR 1
-/* Direction constants for use with tgi_textstyle */
+/* Direction constants for use with tgi_settextstyle */
#define TGI_TEXT_HORIZONTAL 0
#define TGI_TEXT_VERTICAL 1
/* The name of the standard tgi driver for a platform */
extern const char tgi_stddrv[];
+/* The address of the static standard tgi driver for a platform */
+extern const void tgi_static_stddrv[];
+
/* A vector font definition */
typedef struct tgi_vectorfont tgi_vectorfont;
void __fastcall__ tgi_bar (int x1, int y1, int x2, int y2);
/* Draw a bar (a filled rectangle) using the current color. */
+void __fastcall__ tgi_settextdir (unsigned char dir);
+/* Set the direction for text output. dir is one of the TGI_TEXT_XXX
+ * constants.
+ */
+
void __fastcall__ tgi_settextscale (unsigned width, unsigned height);
/* Set the scaling for text output. The scaling factors for width and height
* are 8.8 fixed point values. This means that $100 = 1 $200 = 2 etc.