Macros | |
#define | ZBAR_OVERLAY_FONT |
Functions | |
int | _zbar_window_attach (zbar_window_t *w, void *display, unsigned long win) |
int | _zbar_window_begin (zbar_window_t *w) |
int | _zbar_window_clear (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_expose (zbar_window_t *w, int x, int y, int width, int height) |
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) |
static unsigned long | window_alloc_color (zbar_window_t *w, Colormap cmap, unsigned short r, unsigned short g, unsigned short b) |
static int | window_alloc_colors (zbar_window_t *w) |
static int | window_hide_cursor (zbar_window_t *w) |
#define ZBAR_OVERLAY_FONT |
Referenced by _zbar_window_attach().
int _zbar_window_attach | ( | zbar_window_t * | w, |
void * | display, | ||
unsigned long | win | ||
) |
References __func__, _zbar_window_probe_ximage(), _zbar_window_probe_xv(), _zbar_window_resize(), window_state_s::exposed, window_state_s::font, window_state_s::gc, window_state_s::logo_zbars, null_error(), window_alloc_colors(), window_hide_cursor(), x, ZBAR_OVERLAY_FONT, and zprintf.
Referenced by window_scale_pt().
int _zbar_window_begin | ( | zbar_window_t * | w | ) |
References __func__, window_state_s::exposed, window_state_s::gc, and null_error().
Referenced by window_scale_pt().
int _zbar_window_clear | ( | zbar_window_t * | w | ) |
References __func__, window_state_s::gc, null_error(), and x.
Referenced by window_scale_pt().
int _zbar_window_draw_logo | ( | zbar_window_t * | w | ) |
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, null_error(), and x.
Referenced by window_scale_pt().
int _zbar_window_draw_marker | ( | zbar_window_t * | w, |
uint32_t | rgb, | ||
point_t | p | ||
) |
References __func__, window_state_s::colors, window_state_s::gc, null_error(), point_s::x, and point_s::y.
Referenced by window_scale_pt().
int _zbar_window_draw_polygon | ( | zbar_window_t * | w, |
uint32_t | rgb, | ||
const point_t * | pts, | ||
int | npts | ||
) |
References __func__, window_state_s::colors, window_state_s::gc, null_error(), window_scale_pt(), point_s::x, and point_s::y.
Referenced by window_scale_pt().
int _zbar_window_draw_text | ( | zbar_window_t * | w, |
uint32_t | rgb, | ||
point_t | p, | ||
const char * | text | ||
) |
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_scale_pt().
int _zbar_window_end | ( | zbar_window_t * | w | ) |
References __func__, window_state_s::exposed, window_state_s::gc, barcodetest::None, null_error(), and x.
Referenced by window_scale_pt().
int _zbar_window_expose | ( | zbar_window_t * | w, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
References __func__, window_state_s::exposed, scan_image::height, null_error(), scan_image::width, x, and y.
Referenced by window_scale_pt().
References __func__, window_state_s::colors, window_state_s::gc, null_error(), point_s::x, and point_s::y.
Referenced by window_scale_pt().
int _zbar_window_resize | ( | zbar_window_t * | w | ) |
References window_state_s::logo_bars, window_state_s::logo_scale, window_state_s::logo_z, window_state_s::logo_zbars, and x.
Referenced by _zbar_window_attach(), and window_scale_pt().
|
inlinestatic |
|
inlinestatic |
References window_state_s::colors, window_state_s::logo_colors, window_alloc_color(), and x.
Referenced by _zbar_window_attach().
|
inlinestatic |