L4Re - L4 Runtime Environment
bitmap.h File Reference

Bitmap renderer header file. More...

#include <l4/sys/types.h>
#include <l4/re/c/video/view.h>
+ Include dependency graph for bitmap.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gfxbitmap_offset
 offsets in pmap[] and bmap[] More...
 

Macros

Param macros for bmap_*

Bitmap type - start least or start most significant bit

#define pSLIM_BMAP_START_MSB   0x02
 `pbm'-style: "The bits are stored eight per byte, high bit first low bit last."
 
#define pSLIM_BMAP_START_LSB   0x01
 

Typedefs

typedef unsigned int gfxbitmap_color_t
 Standard color type. More...
 
typedef unsigned int gfxbitmap_color_pix_t
 Specific color type. More...
 

Functions

gfxbitmap_color_pix_t gfxbitmap_convert_color (l4re_video_view_info_t *vi, gfxbitmap_color_t rgb)
 Convert a color. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Detailed Description

Bitmap renderer header file.

Definition in file bitmap.h.

Macro Definition Documentation

◆ pSLIM_BMAP_START_LSB

#define pSLIM_BMAP_START_LSB   0x01

the other way round

Definition at line 43 of file bitmap.h.