typedef enum
{
PAINT_FILL_GRADIENT_STYLE_NONE,
PAINT_FILL_GRADIENT_STYLE_LINE_L_TO_R = 1000,
PAINT_FILL_GRADIENT_STYLE_LINE_R_TO_L = 1001,
PAINT_FILL_GRADIENT_STYLE_LINE_T_TO_B = 1002,
PAINT_FILL_GRADIENT_STYLE_LINE_B_TO_T = 1003,
PAINT_FILL_GRADIENT_STYLE_LINE_LT_TO_RB = 1004,
PAINT_FILL_GRADIENT_STYLE_LINE_LB_TO_RT = 1005,
PAINT_FILL_GRADIENT_STYLE_LINE_RT_TO_LB = 1006,
PAINT_FILL_GRADIENT_STYLE_LINE_RB_TO_LT = 1007,
PAINT_FILL_GRADIENT_STYLE_LINE2_L_AND_R_TO_C = 1008,
PAINT_FILL_GRADIENT_STYLE_LINE2_C_TO_L_AND_R = 1009,
PAINT_FILL_GRADIENT_STYLE_LINE2_T_AND_B_TO_C = 1010,
PAINT_FILL_GRADIENT_STYLE_LINE2_C_TO_T_AND_B = 1011,
PAINT_FILL_GRADIENT_STYLE_LINE2_LT_AND_RB_TO_C = 1012,
PAINT_FILL_GRADIENT_STYLE_LINE2_C_TO_LT_AND_RB = 1013,
PAINT_FILL_GRADIENT_STYLE_LINE2_RT_AND_LB_TO_C = 1014,
PAINT_FILL_GRADIENT_STYLE_LINE2_C_TO_RT_AND_LB = 1015,
PAINT_FILL_GRADIENT_STYLE_ANGLE_TO_LT = 2000,
PAINT_FILL_GRADIENT_STYLE_ANGLE_TO_LB = 2001,
PAINT_FILL_GRADIENT_STYLE_ANGLE_TO_RT = 2002,
PAINT_FILL_GRADIENT_STYLE_ANGLE_TO_RB = 2003,
PAINT_FILL_GRADIENT_STYLE_ANGLE_FROM_LT = 2004,
PAINT_FILL_GRADIENT_STYLE_ANGLE_FROM_LB = 2005,
PAINT_FILL_GRADIENT_STYLE_ANGLE_FROM_RT = 2006,
PAINT_FILL_GRADIENT_STYLE_ANGLE_FROM_RB = 2007,
PAINT_FILL_GRADIENT_STYLE_RECTANGLE_TO_C = 3000,
PAINT_FILL_GRADIENT_STYLE_RECTANGLE_FROM_C = 3001,
PAINT_FILL_GRADIENT_STYLE_ELLIPSE_TO_C = 4000,
PAINT_FILL_GRADIENT_STYLE_ELLIPSE_FROM_C = 4001,
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_L = 5000,
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_R = 5001,
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_T = 5002,
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_B = 5003,
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_LT = 5004,
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_LB = 5005,
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_RT = 5006,
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_RB = 5007,
} PAINTFILLGRADIENTSTYLE, *pPAINTFILLGRADIENTSTYLE;
The PAINTFILLGRADIENTSTYLE enumerated type contains options for the background gradient fill style. These are the possible values for the nGradientStyle member of the PAINTFILL structure.
Value | Meaning |
---|---|
PAINT_FILL_GRADIENT_STYLE_NONE | no gradient |
PAINT_FILL_GRADIENT_STYLE_LINE_L_TO_R | linear gradient from left to right |
PAINT_FILL_GRADIENT_STYLE_LINE_R_TO_L | linear gradient from right to left |
PAINT_FILL_GRADIENT_STYLE_LINETTO_B | linear gradient from top to bottom |
PAINT_FILL_GRADIENT_STYLE_LINE_B_TO_T | linear gradient from bottom to top |
PAINT_FILL_GRADIENT_STYLE_LINE_LT_TO_RB | linear gradient from left, top to right, bottom |
PAINT_FILL_GRADIENT_STYLE_LINE_LB_TO_RT | linear gradient from left, bottom to right, top |
PAINT_FILL_GRADIENT_STYLE_LINE_RT_TO_LB | linear gradient from right, top to left, bottom |
PAINT_FILL_GRADIENT_STYLE_LINE_RB_TO_LT | linear gradient from right, bottom to left, top |
PAINT_FILL_GRADIENT_STYLE_LINE2_L_AND_R_TO_C | linear gradient from left and right to the center |
PAINT_FILL_GRADIENT_STYLE_LINE2_C_TO_L_AND_R | linear gradient from the center to the left and right |
PAINT_FILL_GRADIENT_STYLE_LINE2TAND_B_TO_C | linear gradient from top and bottom to the center |
PAINT_FILL_GRADIENT_STYLE_LINE2_C_TOTAND_B | linear gradient from the center to the top and bottom |
PAINT_FILL_GRADIENT_STYLE_LINE2_LT_AND_RB_TO_C | linear gradient from left, top and right, bottom to the center |
PAINT_FILL_GRADIENT_STYLE_LINE2_C_TO_LT_AND_RB | linear gradient from the center to the left, top and right, bottom |
PAINT_FILL_GRADIENT_STYLE_LINE2_RT_AND_LB_TO_C | linear gradient from right, top and left, bottom to the center |
PAINT_FILL_GRADIENT_STYLE_LINE2_C_TO_RT_AND_LB | linear gradient from the center to the right, top and left bottom |
PAINT_FILL_GRADIENT_STYLE_ANGLE_TO_LT | angular gradient to left, top |
PAINT_FILL_GRADIENT_STYLE_ANGLE_TO_LB | angular gradient to left, bottom |
PAINT_FILL_GRADIENT_STYLE_ANGLE_TO_RT | angular gradient to right, top |
PAINT_FILL_GRADIENT_STYLE_ANGLE_TO_RB | angular gradient to right, bottom |
PAINT_FILL_GRADIENT_STYLE_ANGLE_FROM_LT | angular gradient from left, top |
PAINT_FILL_GRADIENT_STYLE_ANGLE_FROM_LB | angular gradient from left, bottom |
PAINT_FILL_GRADIENT_STYLE_ANGLE_FROM_RT | angular gradient from right, top |
PAINT_FILL_GRADIENT_STYLE_ANGLE_FROM_RB | angular gradient from right, bottom |
PAINT_FILL_GRADIENT_STYLE_RECTANGLE_TO_C | rectangular gradient to the center |
PAINT_FILL_GRADIENT_STYLE_RECTANGLE_FROM_C | rectangular gradient from the center |
PAINT_FILL_GRADIENT_STYLE_ELLIPSE_TO_C | elliptical gradient to the center |
PAINT_FILL_GRADIENT_STYLE_ELLIPSE_FROM_C | elliptical gradient from the center |
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_L | conical gradient from the left |
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_R | conical gradient from the right |
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_T | conical gradient from the top |
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_B | conical gradient from the bottom |
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_LT | conical gradient from the left, top |
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_LB | conical gradient from the left, bottom |
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_RT | conical gradient from the right |
PAINT_FILL_GRADIENT_STYLE_CONE_FROM_RB | conical gradient from the right, bottom |