#include "l_bitmap.h"
L_LTDIS_API L_INT L_DoubleBufferEnable(hDoubleBufferHandle, bEnable)
L_HANDLE hDoubleBufferHandle; |
double buffer handle |
L_BOOL bEnable; |
value that specifies whether double buffering is used |
Enables or disables double buffering.
Parameter | Description | |
hDoubleBufferHandle | Handle that identifies the double buffering process. | |
bEnable | Value that specifies whether to enable double buffering. Possible values are: | |
Value | Meaning | |
TRUE | Enable double buffering. | |
FALSE | Disable double buffering. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
This function enables or disables a double buffering process. This function should be used after the double buffering process is already in place. This means that the double buffering handle should already be created, and all paint calls should already be wrapped in L_DoubleBufferBegin and L_DoubleBufferEnd pairs.
For more information, see the topic Minimizing Flicker With Double Buffering.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
Functions: |
L_DoubleBufferCreateHandle, L_DoubleBufferDestroyHandle, L_DoubleBufferBegin, L_DoubleBufferEnd |
Topics: |
|
|
To see how double buffering can be used in an application, see the source code for the API annotation demo.
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