LPaintEffect::LPaintEffect

#include "ltwrappr.h"

LPaintEffect::LPaintEffect()

LPaintEffect::LPaintEffect(pEfxDlgParm)

LPaintEffect::LPaintEffect(pGradDlgParm)

LPaintEffect::LPaintEffect(pShapeDlgParm)

LPaintEffect::LPaintEffect(pTextDlgParm)

LPaintEffect::LPaintEffect(pTransDlgParm)

LPEFFECTDLGPARAMS pEfxDlgParm;

pointer to a paint effects structure

LPGRADIENTDLGPARAMS pGradDlgParm;

pointer to a gradient structure

LPSHAPEDLGPARAMS pShapeDlgParm;

pointer to a shape structure

LPTEXTDLGPARAMS pTextDlgParm;

pointer to a text structure

LPTRANSITIONDLGPARAMS pTransDlgParm;

pointer to a transition structure

Constructs and initializes the different member variables of the LPaintEffect object.

Parameter

Description

pEfxDlgParm

Pointer to a structure of type EFFECTDLGPARAMS that contains the paint effects parameters.

pGradDlgParm

Pointer to a structure of type GRADIENTDLGPARAMS that contains the gradient parameters.

pShapeDlgParm

Pointer to a structure of type SHAPEDLGPARAMS that contains the shape parameters.

pTextDlgParm

Pointer to a structure of type TEXTDLGPARAMS that contains the text parameters.

pTransDlgParm

Pointer to a structure of type TRANSITIONDLGPARAMS that contains the transition parameters.

Returns

None

Comments

LPaintEffect::LPaintEffect() is a constructor for the LPaintEffect class.

LPaintEffect::LPaintEffect(pGradDlgParm) will initialize the LPaintEffect object data members for the gradient drawing with the passed parameters.

LPaintEffect::LPaintEffect(pShapeDlgParm) will initialize the LPaintEffect object data members for the shape drawing with the passed parameters.

LPaintEffect(pTextDlgParm) will initialize the LPaintEffect object data members for the text drawing with the passed parameters.

LPaintEffect::LPaintEffect(pTransDlgParm) will initialize the LPaintEffect object data members for the transition drawing with the passed parameters.

LPaintEffect::LPaintEffect(pEfxDlgParm) will initialize the LPaintEffect object data members for painting effects with the passed parameters.

Required DLLs and Libraries

LTDIS
LTEFX

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:

LPaintEffect::~LPaintEffect, Class Members

Example

// This is an example for LPaintEffect::LPaintEffect(): 
 
L_INT LPaintEffect__LPaintEffectExample_1() 
{ 
   // this will call the default constructor and destructor when it is out of scope 
   LPaintEffect LeadPaintEffect; 
 
   //... 
 
   return SUCCESS; 
} 
 
// This is an example for LPaintEffect::LPaintEffect(pGradDlgParm): 
 
L_INT LPaintEffect__LPaintEffectExample_2(GRADIENTDLGPARAMS GradDlgParm) 
{ 
   // this will call the default constructor and destructor when it is out of scope 
   LPaintEffect LeadPaintEfx(&GradDlgParm); 
 
   //... 
 
   return SUCCESS; 
} 
 
// This is an example for LPaintEffect::LPaintEffect(pShapeDlgParm): 
 
L_INT LPaintEffect__LPaintEffectExample_3(SHAPEDLGPARAMS ShapeDlgParm) 
{ 
   // this will call the default constructor and destructor when it is out of scope 
   LPaintEffect LeadPaintEfx(&ShapeDlgParm); 
 
   //... 
 
   return SUCCESS; 
} 
 
// This is an example for LPaintEffect(pTextDlgParm): 
 
L_INT LPaintEffect__LPaintEffectExample_4(TEXTDLGPARAMS TextDlgParm) 
{ 
   // this will call the default constructor and destructor when it is out of scope 
   LPaintEffect LeadPaintEfx(&TextDlgParm); 
 
   //... 
 
   return SUCCESS; 
} 
 
// This is an example for LPaintEffect(pTransDlgParm): 
 
L_INT LPaintEffect__LPaintEffectExample_5(TRANSITIONDLGPARAMS TransDlgParm) 
{ 
   // this will call the default constructor and destructor when it is out of scope 
   LPaintEffect LeadPaintEfx(&TransDlgParm); 
 
   //... 
 
   return SUCCESS; 
} 
 
// This is an example for LPaintEffect(pEfxDlgParm): 
 
L_INT LPaintEffect__LPaintEffectExample_6(EFFECTDLGPARAMS   EfxDlgParm) 
{ 
   // this will call the default constructor and destructor when it is out of scope 
   LPaintEffect LeadPaintEfx(&EfxDlgParm); 
 
   //... 
 
   return SUCCESS; 
} 
Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help