2 * pslash - a lightweight framebuffer splashscreen for embedded devices.
4 * Copyright (c) 2006 Matthew Allum <mallum@o-hand.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
18 #ifndef _HAVE_PSPLASH_FB_H
19 #define _HAVE_PSPLASH_FB_H
29 typedef struct PSplashFB
32 struct termios save_termios;
42 int real_width, real_height;
55 psplash_fb_destroy (PSplashFB *fb);
58 psplash_fb_new (int angle);
61 psplash_fb_plot_pixel (PSplashFB *fb,
69 psplash_fb_draw_rect (PSplashFB *fb,
79 psplash_fb_draw_image (PSplashFB *fb,
84 int img_bytes_pre_pixel,
88 psplash_fb_text_size (PSplashFB *fb,
91 const PSplashFont *font,
95 psplash_fb_draw_text (PSplashFB *fb,
101 const PSplashFont *font,