LPaintEffect::LPaintEffect

#include "ltwrappr.h"

LPaintEffect::LPaintEffect()

LPaintEffect::LPaintEffect(pEfxDlgParm)

LPaintEffect::LPaintEffect(pGradDlgParm)

LPaintEffect::LPaintEffect(pShapeDlgParm)

LPaintEffect::LPaintEffect(pTextDlgParm)

LPaintEffect::LPaintEffect(pTransDlgParm)

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

Parameters

LPEFFECTDLGPARAMS pEfxDlgParm

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

LPGRADIENTDLGPARAMS pGradDlgParm

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

LPSHAPEDLGPARAMS pShapeDlgParm

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

LPTEXTDLGPARAMS pTextDlgParm

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

LPTRANSITIONDLGPARAMS 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

Platforms

Win32, x64.

See Also

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 22.0.2021.9.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help