LPaintEffect::LPaintEffect

#include "ltwrappr.h"

L_VOID LPaintEffect::LPaintEffect(L_VOID)

L_VOID LPaintEffect::LPaintEffect(pEfxDlgParm)

L_VOID LPaintEffect::LPaintEffect(pGradDlgParm)

L_VOID LPaintEffect::LPaintEffect(pShapeDlgParm)

L_VOID LPaintEffect::LPaintEffect(pTextDlgParm)

L_VOID 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.

See Also

Functions:

LPaintEffect::~LPaintEffect, Class Members

Example

This is an example for LPaintEffect::LPaintEffect():

L_VOID MyFunction()
{
   // this will call the default constructor and destructor when it is out of scope
   LPaintEffect LeadPaintEffect;

   //...
}

This is an example for LPaintEffect::LPaintEffect(pGradDlgParm):

L_VOID MyFunction(GRADIENTDLGPARAMS GradDlgParm)
{
   // this will call the default constructor and destructor when it is out of scope
   LPaintEffect LeadPaintEfx(&GradDlgParm);

   //...
}

This is an example for LPaintEffect::LPaintEffect(pShapeDlgParm):

L_VOID MyFunction(SHAPEDLGPARAMS ShapeDlgParm)
{
   // this will call the default constructor and destructor when it is out of scope
   LPaintEffect LeadPaintEfx(&ShapeDlgParm);

   //...
}

This is an example for LPaintEffect(pTextDlgParm):

L_VOID MyFunction(TEXTDLGPARAMS TextDlgParm)
{
   // this will call the default constructor and destructor when it is out of scope
   LPaintEffect LeadPaintEfx(&TextDlgParm);

   //...
}

This is an example for LPaintEffect(pTransDlgParm):

L_VOID MyFunction(TRANSITIONDLGPARAMS TransDlgParm)
{
   // this will call the default constructor and destructor when it is out of scope
   LPaintEffect LeadPaintEfx(&TransDlgParm);

   //...
}

This is an example for LPaintEffect(pEfxDlgParm):

L_VOID MyFunction(EFFECTDLGPARAMS   EfxDlgParm)
{
   // this will call the default constructor and destructor when it is out of scope
   LPaintEffect LeadPaintEfx(&EfxDlgParm);

   //...
}