|
Files |
file | fb.h |
| BRL "Generic" Framebuffer Library Interface Defines.
|
file | fbio.h |
| BRL-CAD Framebuffer Library I/O Interfaces.
|
file | fbmsg.h |
file | fbserv_obj.h |
Data Structures |
struct | ColorMap |
struct | FBIO_ |
| A frame-buffer IO structure. More...
|
struct | fbserv_listener |
struct | fbserv_client |
struct | fbserv_obj |
Defines |
#define | FB_H seen |
#define | fb_gettype(_ifp) (_ifp->if_type) |
#define | fb_getwidth(_ifp) (_ifp->if_width) |
#define | fb_getheight(_ifp) (_ifp->if_height) |
#define | fb_poll(_ifp) (*_ifp->if_poll)(_ifp) |
#define | fb_help(_ifp) (*_ifp->if_help)(_ifp) |
#define | fb_free(_ifp) (*_ifp->if_free)(_ifp) |
#define | fb_clear(_ifp, _pp) (*_ifp->if_clear)(_ifp,_pp) |
#define | fb_read(_ifp, _x, _y, _pp, _ct) (*_ifp->if_read)(_ifp,_x,_y,_pp,_ct) |
#define | fb_write(_ifp, _x, _y, _pp, _ct) (*_ifp->if_write)(_ifp,_x,_y,_pp,_ct) |
#define | fb_rmap(_ifp, _cmap) (*_ifp->if_rmap)(_ifp,_cmap) |
#define | fb_wmap(_ifp, _cmap) (*_ifp->if_wmap)(_ifp,_cmap) |
#define | fb_view(_ifp, _xc, _yc, _xz, _yz) (*_ifp->if_view)(_ifp,_xc,_yc,_xz,_yz) |
#define | fb_getview(_ifp, _xcp, _ycp, _xzp, _yzp) (*_ifp->if_getview)(_ifp,_xcp,_ycp,_xzp,_yzp) |
#define | fb_setcursor(_ifp, _bits, _xb, _yb, _xo, _yo) (*_ifp->if_setcursor)(_ifp,_bits,_xb,_yb,_xo,_yo) |
#define | fb_cursor(_ifp, _mode, _x, _y) (*_ifp->if_cursor)(_ifp,_mode,_x,_y) |
#define | fb_getcursor(_ifp, _modep, _xp, _yp) (*_ifp->if_getcursor)(_ifp,_modep,_xp,_yp) |
#define | fb_readrect(_ifp, _xmin, _ymin, _width, _height, _pp) (*_ifp->if_readrect)(_ifp,_xmin,_ymin,_width,_height,_pp) |
#define | fb_writerect(_ifp, _xmin, _ymin, _width, _height, _pp) (*_ifp->if_writerect)(_ifp,_xmin,_ymin,_width,_height,_pp) |
#define | fb_bwreadrect(_ifp, _xmin, _ymin, _width, _height, _pp) (*_ifp->if_bwreadrect)(_ifp,_xmin,_ymin,_width,_height,_pp) |
#define | fb_bwwriterect(_ifp, _xmin, _ymin, _width, _height, _pp) (*_ifp->if_bwwriterect)(_ifp,_xmin,_ymin,_width,_height,_pp) |
#define | COPYRGB(to, from) |
#define | FB_WPIXEL(ifp, pp) |
#define | FB_DEBUG_BIO 1 |
#define | FB_DEBUG_CMAP 2 |
#define | FB_DEBUG_RW 4 |
#define | FB_DEBUG_BRW 8 |
#define | FB_CKMAG(_ptr, _magic, _str) |
#define | FB_ARGS(args) () |
#define | RED 0 |
#define | GRN 1 |
#define | BLU 2 |
#define | PIXEL_NULL (unsigned char *) 0 |
#define | RGBPIXEL_NULL (unsigned char *) 0 |
#define | COLORMAP_NULL (ColorMap *) 0 |
#define | FBIO_NULL (FBIO *) 0 |
#define | FB_MAGIC 0xfbfb00fb |
#define | FB_CK_FBIO(_p) FB_CKMAG(_p, FB_MAGIC, "FBIO" ) |
#define | NET_LONG_LEN 4 |
| # bytes to network long
|
#define | MAX_CLIENTS 32 |
#define | MAX_PORT_TRIES 100 |
#define | FBS_CALLBACK_NULL (void (*)())NULL |
Typedefs |
typedef unsigned char | RGBpixel [3] |
typedef FBIO_ | FBIO |
| A frame-buffer IO structure.
|
Functions |
FBIO * | fb_open () |
int | fb_close () |
int | fb_genhelp () |
int | fb_ioinit () |
int | fb_seek () |
int | fb_tell () |
int | fb_rpixel () |
int | fb_wpixel () |
int | fb_flush () |
void | fb_log () |
int | fb_null () |
int | fb_null_setcursor () |
int | fb_common_file_size () |
int | fb_common_image_size () |
int | fb_common_name_size () |
int | fb_is_linear_cmap () |
void | fb_make_linear_cmap () |
int | fb_reset () |
int | fb_viewport () |
int | fb_window () |
int | fb_zoom () |
int | fb_scursor () |
int | _fb_pgin () |
int | _fb_pgout () |
int | _fb_pgflush () |
int | fb_sim_readrect () |
int | fb_sim_writerect () |
int | fb_sim_bwreadrect () |
int | fb_sim_bwwriterect () |
int | fb_sim_view () |
int | fb_sim_getview () |
int | fb_sim_cursor () |
int | fb_sim_getcursor () |
void | fb_tcl_setup () |
int | Fb_Init () |
int | fb_refresh (FBIO *ifp, int x, int y, int w, int h) |
int | fbs_open () |
int | fbs_close () |
Variables |
int | _fb_disk_enable |
char | fb_version [] |
FBIO | debug_interface |
FBIO | disk_interface |
FBIO | stk_interface |
FBIO | memory_interface |
FBIO | null_interface |