Public Member Functions | |
| Window (zbar_window_t *window=NULL) | |
| constructor. | |
| Window (void *x11_display_w32_hwnd, unsigned long x11_drawable) | |
| constructor. | |
| operator zbar_window_t * () const | |
| cast to C window object. | |
| void | attach (void *x11_display_w32_hwnd, unsigned long x11_drawable=0) |
| associate reader with an existing platform window. | |
| void | set_overlay (int level) |
| control content level of the reader overlay. | |
| void | draw (Image &image) |
| retrieve current content level of reader overlay. | |
| void | clear () |
| clear the image from the output window. | |
| void | redraw () |
| redraw the last image. | |
| void | resize (unsigned width, unsigned height) |
| resize the image window. | |
displays images to user-specified platform specific output window
| void zbar::Window::attach | ( | void * | x11_display_w32_hwnd, | |
| unsigned long | x11_drawable = 0 | |||
| ) | [inline] |
associate reader with an existing platform window.
| void zbar::Window::set_overlay | ( | int | level | ) | [inline] |
control content level of the reader overlay.
| void zbar::Window::draw | ( | Image & | image | ) | [inline] |
retrieve current content level of reader overlay.
see zbar_window_get_overlay() draw a new image into the output window. see zbar_window_draw()
| void zbar::Window::clear | ( | ) | [inline] |
clear the image from the output window.
| void zbar::Window::redraw | ( | ) | [inline] |
redraw the last image.
| void zbar::Window::resize | ( | unsigned | width, | |
| unsigned | height | |||
| ) | [inline] |
resize the image window.
Copyright 2008-2010 (c) Jeff Brown
This documentation is part of the ZBar Barcode Reader; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.