L4Re - L4 Runtime Environment
|
Data Structures | |
struct | gfxbitmap_offset |
offsets in pmap[] and bmap[] More... | |
Typedefs | |
typedef unsigned int | gfxbitmap_color_t |
Standard color type. More... | |
typedef unsigned int | gfxbitmap_color_pix_t |
Specific color type. More... | |
typedef unsigned int gfxbitmap_color_pix_t |
typedef unsigned int gfxbitmap_color_t |
void gfxbitmap_bmap | ( | l4_uint8_t * | vfb, |
l4re_video_view_info_t * | vi, | ||
l4_int16_t | x, | ||
l4_int16_t | y, | ||
l4_uint32_t | w, | ||
l4_uint32_t | h, | ||
l4_uint8_t * | bmap, | ||
gfxbitmap_color_pix_t | fgc, | ||
gfxbitmap_color_pix_t | bgc, | ||
struct gfxbitmap_offset * | offset, | ||
l4_uint8_t | mode | ||
) |
Fill a rectangular area with a bicolor bitmap pattern.
vfb | Frame buffer. |
vi | Frame buffer information structure. |
x | X position of area. |
y | Y position of area. |
w | Width of area. |
h | Height of area. |
bmap | Bitmap pattern. |
fgc | Foreground color. |
bgc | Background color. |
offset | Offsets. |
mode | Mode |
gfxbitmap_color_pix_t gfxbitmap_convert_color | ( | l4re_video_view_info_t * | vi, |
gfxbitmap_color_t | rgb | ||
) |
Convert a color.
Converts a given color in standard format to the format used in the framebuffer.
void gfxbitmap_copy | ( | l4_uint8_t * | dest, |
l4_uint8_t * | src, | ||
l4re_video_view_info_t * | vi, | ||
int | x, | ||
int | y, | ||
int | w, | ||
int | h, | ||
int | dx, | ||
int | dy | ||
) |
Copy a rectangular area.
dest | Destination frame buffer. |
src | Source frame buffer. |
vi | Frame buffer information structure. |
x | Source X position of area. |
y | Source Y position of area. |
w | Width of area. |
h | Height of area. |
dx | Source X position of area. |
dy | Source Y position of area. |
void gfxbitmap_fill | ( | l4_uint8_t * | vfb, |
l4re_video_view_info_t * | vi, | ||
int | x, | ||
int | y, | ||
int | w, | ||
int | h, | ||
gfxbitmap_color_pix_t | color | ||
) |
Fill a rectangular area with a color.
vfb | Frame buffer. |
vi | Frame buffer information structure. |
x | X position of area. |
y | Y position of area. |
w | Width of area. |
h | Height of area. |
color | Color of area. |
void gfxbitmap_set | ( | l4_uint8_t * | vfb, |
l4re_video_view_info_t * | vi, | ||
l4_int16_t | x, | ||
l4_int16_t | y, | ||
l4_uint32_t | w, | ||
l4_uint32_t | h, | ||
l4_uint32_t | xoffs, | ||
l4_uint32_t | yoffs, | ||
l4_uint8_t * | pmap, | ||
struct gfxbitmap_offset * | offset, | ||
l4_uint32_t | pwidth | ||
) |
Set area from source area.
vfb | Frame buffer. |
vi | Frame buffer information structure. |
x | X position of area. |
y | Y position of area. |
w | Width of area. |
h | Height of area. |
pmap | Source. |
xoffs | X offset. |
yoffs | Y offset. |
offset | Offsets. |
pwidth | Width of source in bytes. |