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 struct window_state_s window_state_t |
|
inlinestatic |
Referenced by _zbar_window_dib_init(), _zbar_window_probe_ximage(), and xv_add_format().
int _zbar_window_attach | ( | zbar_window_t * | , |
void * | , | ||
unsigned | long | ||
) |
References __func__, _zbar_window_dib_init(), _zbar_window_probe_ximage(), _zbar_window_probe_xv(), _zbar_window_resize(), window_state_s::bih, window_state_s::exposed, window_state_s::font, window_state_s::font_height, window_state_s::gc, scan_image::height, L, window_state_s::logo_zbars, null_error(), window_alloc_colors(), window_hide_cursor(), x, ZBAR_OVERLAY_FONT, and zprintf.
Referenced by window_scale_pt(), and zbar_window_attach().
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().
int _zbar_window_clear | ( | zbar_window_t * | ) |
References __func__, window_state_s::gc, null_error(), and x.
Referenced by window_scale_pt().
int _zbar_window_draw_logo | ( | zbar_window_t * | ) |
References __func__, window_state_s::exposed, window_state_s::gc, window_state_s::logo_bars, window_state_s::logo_colors, window_state_s::logo_scale, window_state_s::logo_z, window_state_s::logo_zbars, window_state_s::logo_zbpen, window_state_s::logo_zpen, null_error(), and x.
Referenced by window_scale_pt(), and zbar_window_redraw().
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().
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().
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().
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().
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().
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().
int _zbar_window_resize | ( | zbar_window_t * | ) |
References window_state_s::logo_bars, window_state_s::logo_scale, window_state_s::logo_z, window_state_s::logo_zbars, window_state_s::logo_zbpen, window_state_s::logo_zpen, x, and zprintf.
Referenced by _zbar_window_attach(), window_scale_pt(), and zbar_window_resize().
|
inlinestatic |
References __func__, _zbar_mutex_lock, err_capture(), SEV_FATAL, and zbar::ZBAR_ERR_LOCKING.
Referenced by zbar_negotiate_format(), zbar_window_draw(), zbar_window_get_overlay(), zbar_window_redraw(), zbar_window_resize(), and zbar_window_set_overlay().
References _zbar_window_attach(), _zbar_window_begin(), _zbar_window_clear(), _zbar_window_draw_logo(), _zbar_window_draw_marker(), _zbar_window_draw_polygon(), _zbar_window_draw_text(), _zbar_window_end(), _zbar_window_expose(), _zbar_window_fill_rect(), _zbar_window_resize(), point_s::x, and point_s::y.
Referenced by _zbar_window_draw_polygon(), window_draw_overlay(), and zbar_window_redraw().
|
inlinestatic |
References __func__, _zbar_mutex_unlock, err_capture(), SEV_FATAL, and zbar::ZBAR_ERR_LOCKING.
Referenced by zbar_negotiate_format(), zbar_window_draw(), zbar_window_get_overlay(), zbar_window_redraw(), zbar_window_resize(), and zbar_window_set_overlay().