Some advanced display adapters offer non-standard paint functions that give you the ability to access a card's more advanced features. For example, a medical display adapter might give users the ability to display more than 256 shades of gray (more than 8 bits per component). One such card comes from Barco (http://www.barco.com/en/) and it can display up to 8192 shades of gray (13-bits per pixel). Such adapters require you to use different functions for displaying such data, rather than the standard GDI functions like StretchDIBits.
LEADTOOLS makes it possible to use such advanced functions by allowing you to use custom callbacks during the paint process. We allow you to replace some of the standard GDI functions (like StretchDIBits) with the specialized function for the particular capture device. Do that by filling a PAINTCALLBACKDATA structure with the callbacks you wish to replace and then calling one of the paint functions that use this structure:
Paints the whole image using custom callbacks. |
|
Paints only the bitmap portion inside a region using custom callbacks. |
|
Paints a buffer using custom callbacks (use this to implement paint while load effect). |
|
Paints only the buffer portion inside a region using custom callbacks |
|
Paints a bitmap overlay using custom callbacks. |
You override only the paint functions that you need. The default GDI function equivalents will be used for the functions you do not override. refer to the PAINTCALLBACKDATA documentation for a list of functions you can override.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.