//:Header:1, "_font", 3b940006 // // File: llgfx_sfont.h // // G A M E.O.N.E - LOW LEVEL LIB V1.0 // Copyright (C) 2001 LEVEL ONE ENTERTAINMENT, // Licensed under the terms of LGPL. //:--------------------------------------------------------------------------- //:Description // // Beschreibt einen Zeichensatz - Grafikbuffer // //:----------------------------------------------------------------------------- #if !defined(LLGFX_SFONT_INCLUDED) #define LLGFX_SFONT_INCLUDED //:>--------------------:[ font ]:-------------------- struct _font { llgfx_id gfxid; // GfxBuffer int height; // font höhe int width; // font breite // durchschnittswert float xspacing; // streck faktor für position float yspacing; // -!- s_rect crects[256]; // Src-rectangle für jedes character // Blitter Voreinstellungen // Werden verwendet bei allen DrawText Funktionen ohne // blitflag und blitfx Parameterangaben int blitflag; // Blitflag Hint, normalerweise BLIT_FX_SRCALPHA s_blitfx blitfx; // Blitfx Struktur }; //:Custom typedef struct _font s_font; typedef struct _font llgfx_sFONT; //:End Custom #endif // LLGFX_SFONT_INCLUDED