Lines Matching defs:nextData
117 ColorBandData nextData = dataArray[0];
127 if(nextData.pos==i) {
130 nextData = dataArray[currentCursor];
132 int d = nextData.pos - currentData.pos;
133 rDiff = (nextData.r - currentData.r)/d;
134 gDiff = (nextData.g - currentData.g)/d;
135 bDiff = (nextData.b - currentData.b)/d;
136 aDiff = (nextData.a - currentData.a)/d;
195 if(nextData.pos==i) {
207 if(nextData.pos != currentData.pos) {
208 d = (i - currentData.pos) / (float)(nextData.pos - currentData.pos);
217 result[i][0] = b * currentData.r + a * nextData.r;
218 result[i][1] = b * currentData.g + a * nextData.g;
219 result[i][2] = b * currentData.b + a * nextData.b;
220 result[i][3] = b * currentData.a + a * nextData.a;
221 if(nextData.pos==i) {
224 nextData = dataArray[currentCursor];
235 if(nextData.pos==i) {
238 nextData = dataArray[currentCursor];