ZBar Bar Code Reader Library  version 0.10
window.h File Reference

Classes

struct  zbar_window_s
 

Typedefs

typedef struct window_state_s window_state_t
 

Functions

static int _zbar_window_add_format (zbar_window_t *w, uint32_t fmt)
 
int _zbar_window_attach (zbar_window_t *, void *, unsigned long)
 
int _zbar_window_begin (zbar_window_t *)
 
int _zbar_window_clear (zbar_window_t *)
 
int _zbar_window_draw_logo (zbar_window_t *)
 
int _zbar_window_draw_marker (zbar_window_t *, uint32_t, point_t)
 
int _zbar_window_draw_polygon (zbar_window_t *, uint32_t, const point_t *, int)
 
int _zbar_window_draw_text (zbar_window_t *, uint32_t, point_t, const char *)
 
int _zbar_window_end (zbar_window_t *)
 
int _zbar_window_expose (zbar_window_t *, int, int, int, int)
 
int _zbar_window_fill_rect (zbar_window_t *, uint32_t, point_t, point_t)
 
int _zbar_window_resize (zbar_window_t *)
 
static int window_lock (zbar_window_t *w)
 
static point_t window_scale_pt (zbar_window_t *w, point_t p)
 
static int window_unlock (zbar_window_t *w)
 

Typedef Documentation

Function Documentation

static int _zbar_window_add_format ( zbar_window_t *  w,
uint32_t  fmt 
)
inlinestatic

Referenced by _zbar_window_dib_init(), _zbar_window_probe_ximage(), and xv_add_format().

Here is the caller graph for this function:

int _zbar_window_begin ( zbar_window_t *  )

References __func__, window_state_s::exposed, window_state_s::gc, and null_error().

Referenced by window_scale_pt(), and zbar_window_redraw().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_window_clear ( zbar_window_t *  )

References __func__, window_state_s::gc, null_error(), and x.

Referenced by window_scale_pt().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_window_draw_logo ( zbar_window_t *  )
int _zbar_window_draw_marker ( zbar_window_t *  ,
uint32_t  ,
point_t   
)

References __func__, window_state_s::colors, window_state_s::gc, null_error(), win_set_rgb(), point_s::x, and point_s::y.

Referenced by window_draw_overlay(), and window_scale_pt().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_window_draw_polygon ( zbar_window_t *  ,
uint32_t  ,
const point_t ,
int   
)

References __func__, window_state_s::colors, window_state_s::gc, null_error(), win_set_rgb(), window_scale_pt(), point_s::x, and point_s::y.

Referenced by window_outline_symbol(), and window_scale_pt().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_window_draw_text ( zbar_window_t *  ,
uint32_t  ,
point_t  ,
const char *   
)

References __func__, window_state_s::colors, window_state_s::font, window_state_s::gc, null_error(), scan_image::width, point_s::x, and point_s::y.

Referenced by window_draw_overlay(), and window_scale_pt().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_window_end ( zbar_window_t *  )

References __func__, window_state_s::exposed, window_state_s::gc, barcodetest::None, null_error(), and x.

Referenced by window_scale_pt(), and zbar_window_redraw().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_window_expose ( zbar_window_t *  ,
int  ,
int  ,
int  ,
int   
)

References __func__, window_state_s::exposed, scan_image::height, null_error(), scan_image::width, x, and y.

Referenced by window_scale_pt(), and x_handle_event().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_window_fill_rect ( zbar_window_t *  ,
uint32_t  ,
point_t  ,
point_t   
)

References __func__, window_state_s::colors, window_state_s::gc, null_error(), point_s::x, and point_s::y.

Referenced by window_scale_pt(), and zbar_window_redraw().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_window_resize ( zbar_window_t *  )
static int window_lock ( zbar_window_t *  w)
inlinestatic
static int window_unlock ( zbar_window_t *  w)
inlinestatic