Home | History | Annotate | Download | only in fpdf_render

Lines Matching defs:start_index

375     int min_x, max_x, start_index, end_index;
379 start_index = 0;
384 start_index = 1;
396 FX_FLOAT r_unit = (r[end_index] - r[start_index]) / (max_x - min_x);
397 FX_FLOAT g_unit = (g[end_index] - g[start_index]) / (max_x - min_x);
398 FX_FLOAT b_unit = (b[end_index] - b[start_index]) / (max_x - min_x);
399 FX_FLOAT R = r[start_index] + (start_x - min_x) * r_unit;
400 FX_FLOAT G = g[start_index] + (start_x - min_x) * g_unit;
401 FX_FLOAT B = b[start_index] + (start_x - min_x) * b_unit;