ZBar Bar Code Reader Library  version 0.10
window/win.c File Reference
Include dependency graph for window/win.c:

Functions

int _zbar_window_attach (zbar_window_t *w, void *display, unsigned long unused)
 
int _zbar_window_begin (zbar_window_t *w)
 
int _zbar_window_bih_init (zbar_window_t *w, zbar_image_t *img)
 
int _zbar_window_clear (zbar_window_t *w)
 
int _zbar_window_dib_init (zbar_window_t *w)
 
int _zbar_window_draw_logo (zbar_window_t *w)
 
int _zbar_window_draw_marker (zbar_window_t *w, uint32_t rgb, point_t p)
 
int _zbar_window_draw_polygon (zbar_window_t *w, uint32_t rgb, const point_t *pts, int npts)
 
int _zbar_window_draw_text (zbar_window_t *w, uint32_t rgb, point_t p, const char *text)
 
int _zbar_window_end (zbar_window_t *w)
 
int _zbar_window_fill_rect (zbar_window_t *w, uint32_t rgb, point_t org, point_t size)
 
int _zbar_window_resize (zbar_window_t *w)
 
int _zbar_window_vfw_init (zbar_window_t *w)
 
static void win_set_rgb (HDC hdc, uint32_t rgb)
 

Function Documentation

int _zbar_window_attach ( zbar_window_t *  w,
void display,
unsigned long  unused 
)

References _zbar_window_dib_init(), window_state_s::bih, window_state_s::font_height, scan_image::height, and L.

Here is the call graph for this function:

int _zbar_window_begin ( zbar_window_t *  w)
int _zbar_window_bih_init ( zbar_window_t *  w,
zbar_image_t *  img 
)

References window_state_s::bih, fourcc, and zprintf.

Referenced by dib_init().

Here is the caller graph for this function:

int _zbar_window_clear ( zbar_window_t *  w)
int _zbar_window_dib_init ( zbar_window_t *  w)

References _zbar_window_add_format(), dib_cleanup(), dib_draw(), dib_formats, and dib_init().

Referenced by _zbar_window_attach().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_window_draw_logo ( zbar_window_t *  w)
int _zbar_window_draw_marker ( zbar_window_t *  w,
uint32_t  rgb,
point_t  p 
)

References win_set_rgb(), point_s::x, and point_s::y.

Here is the call graph for this function:

int _zbar_window_draw_polygon ( zbar_window_t *  w,
uint32_t  rgb,
const point_t pts,
int  npts 
)

References win_set_rgb(), window_scale_pt(), point_s::x, and point_s::y.

Here is the call graph for this function:

int _zbar_window_draw_text ( zbar_window_t *  w,
uint32_t  rgb,
point_t  p,
const char *  text 
)

References point_s::x, and point_s::y.

int _zbar_window_end ( zbar_window_t *  w)
int _zbar_window_fill_rect ( zbar_window_t *  w,
uint32_t  rgb,
point_t  org,
point_t  size 
)

References point_s::x, and point_s::y.

int _zbar_window_vfw_init ( zbar_window_t *  w)
static void win_set_rgb ( HDC  hdc,
uint32_t  rgb 
)
inlinestatic

Referenced by _zbar_window_draw_marker(), and _zbar_window_draw_polygon().

Here is the caller graph for this function: