From c068f22329d5cc722622a2183bbb22eef2093df7 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 24 Aug 2026 11:16:07 +0200 Subject: initial import --- src/parsec/include/d_font.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/parsec/include/d_font.h (limited to 'src/parsec/include/d_font.h') diff --git a/src/parsec/include/d_font.h b/src/parsec/include/d_font.h new file mode 100644 index 0000000..410f6c7 --- /dev/null +++ b/src/parsec/include/d_font.h @@ -0,0 +1,24 @@ +/* + * PARSEC HEADER: d_font.h + */ + +#ifndef _D_FONT_H_ +#define _D_FONT_H_ + + +// ---------------------------------------------------------------------------- +// DRAWING SUBSYSTEM (D) FONT group - +// ---------------------------------------------------------------------------- + + +void D_SetWStrContext( char *charset, dword *geometry, char *outseg, dword width, dword height ); +void D_WriteString( const char *string, ugrid_t putx, ugrid_t puty ); +void D_WriteTrString( const char *string, ugrid_t putx, ugrid_t puty, dword brightx ); +int D_GetPStringWidth( char *string ); +void D_TexfontWrite( const char *string, IterTexfont *itexfont ); +int D_TexfontGetWidth( const char *string, IterTexfont *itexfont ); + + +#endif // _D_FONT_H_ + + -- cgit v1.2.3