LEADBITMAPSHEAR

typedef struct tagLEADBITMAPSHEAR
{
   L_UINT uStructSize; 
   L_INT nAngle;
   L_BOOL fHorizontal;
   COLORREF crFill;
} LEADBITMAPSHEAR, L_FAR * pLEADBITMAPSHEAR;

The LEADBITMAPSHEAR structure provides information in the L_BM_SHEAR message.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

nAngle

The angle of slant. Positive values are for clockwise angles; negative values are for counterclockwise angles.

fHorizontal

TRUE for horizontal shear, or FALSE for vertical shear.

crFill

The COLORREF value that specifies the fill color. You can assign the value using the Windows RGB macro.

Comments

pLEADBITMAPSHEAR is a pointer to a LEADBITMAPSHEAR structure. Where the message parameter type is pLEADBITMAPSHEAR, you can declare a LEADBITMAPSHEAR variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLEADBITMAPSHEAR variable is necessary only if your program requires a pointer.