42 vert[1].
Green = 0xff00;
49 vert[2].
Blue = 0xff00;
54 vert[3].
Green = 0xff00;
66 for (Rep = 0; Rep < Reps; Rep++)
68 switch (2 * Rep / Reps)
71 vert[4].
x = PerfInfo->
WndWidth * 2 * Rep / Reps;
92 GradientFill(Dc, vert, 6, &gcap, 4, GRADIENT_FILL_TRIANGLE);
105 for (Rep = 0; Rep < Reps; Rep++)
109 vert[0].
Red = 0xff00;
110 vert[0].
Green = 0xff00 - 0xff00 * Rep / Reps;
111 vert[0].
Blue = 0xff00 * Rep / Reps;
116 vert[1].
Red = 0xff00 - 0xff00 * Rep / Reps;
117 vert[1].
Green = 0xff00 * Rep / Reps;
118 vert[1].
Blue = 0xff00;
121 GradientFill(Dc, vert, 2, &gcap, 1, GRADIENT_FILL_RECT_H);
134 for (Rep = 0; Rep < Reps; Rep++)
138 vert[0].
Red = 0xff00 * Rep / Reps;
139 vert[0].
Green = 0xff00 - 0xff00 * Rep / Reps;
140 vert[0].
Blue = 0xff00;
145 vert[1].
Red = 0xff00 - 0xff00 * Rep / Reps;
146 vert[1].
Green = 0xff00;
147 vert[1].
Blue = 0xff00 * Rep / Reps;
150 GradientFill(Dc, vert, 2, &gcap, 1, GRADIENT_FILL_RECT_V);
void GradientHorizontalProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
void GradientVerticalProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
void GradientProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)