aboutsummaryrefslogtreecommitdiffstats
path: root/src/osdtools.h
diff options
context:
space:
mode:
authorvektor <devnull@localhost>2002-12-07 16:08:52 +0000
committervektor <devnull@localhost>2002-12-07 16:08:52 +0000
commit0a5a6a87cc6abfdbe0ea3adf686420815ed901f7 (patch)
treed21b54483b55a31fbb8e746ca54bf668c5172b26 /src/osdtools.h
parent7ee0b372ee7aac47276257b79a5c688c07996827 (diff)
Added a data dir.
Diffstat (limited to 'src/osdtools.h')
-rw-r--r--src/osdtools.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/osdtools.h b/src/osdtools.h
index bdbab52..ba6095f 100644
--- a/src/osdtools.h
+++ b/src/osdtools.h
@@ -29,6 +29,7 @@ typedef struct osd_string_s osd_string_t;
typedef struct osd_databars_s osd_databars_t;
typedef struct osd_graphic_s osd_graphic_t;
typedef struct osd_shape_s osd_shape_t;
+typedef struct osd_fixedfont_s osd_fixedfont_t;
typedef enum OSD_Shapes_e {
OSD_Rect = (1<<0),
@@ -125,4 +126,11 @@ void osd_graphic_composite_packed422_scanline( osd_graphic_t *osdg,
int width, int xpos,
int scanline );
+osd_fixedfont_t *osd_fixedfont_new( const char *filename, double pixel_aspect );
+void osd_fixedfont_delete( osd_fixedfont_t *fixed );
+int osd_fixedfont_get_char_width( osd_fixedfont_t *fixed );
+int osd_fixedfont_get_char_height( osd_fixedfont_t *fixed );
+void osd_fixedfont_composite_char( osd_fixedfont_t *fixed, unsigned char *output, int width,
+ int scanline, char c, unsigned int fg, unsigned int bg, int alpha );
+
#endif /* OSDTOOLS_H_INCLUDED */

Privacy Policy