LBitmapWindow::EnablePaintTransition

#include "ltwrappr.h"

L_BOOL LBitmapWindow::EnablePaintTransition(bEnable)

L_BOOL bEnable;

flag that indicates whether the use of painting transitions is enabled

Enables or disables the use of paint transitions.

Parameter Description
bEnable Flag that indicates whether the use of painting transitions is enabled or disabled. Possible values are:
  Value Meaning
  TRUE Enable the use of paint transitions.
  FALSE Disable the use of paint transitions.

Returns

The previous state.

Comments

When the use of painting transitions is enabled, anytime the class object paints an image, it will first paint a transition, using the current paint transition options set by:

LBitmapWindow::SetTransitionEffect

LBitmapWindow::SetMaxTransitionPasses

LBitmapWindow::SetTransition

LBitmapWindow::SetGradientStyle

LBitmapWindow::SetPatternStyle

LBitmapWindow::SetPatternForeColor

LBitmapWindow::SetPatternBackColor

LBitmapWindow::SetROP3

This setting is disabled by default.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Implementing Special Effects

Example

For an example, refer to LBitmapWindow::SetROP3.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help