Lines Matching defs:height_scale
597 float width_scale, height_scale;
601 height_scale = (float)psrc->height / (float)height;
608 ry = vy * height_scale;
693 float width_scale, height_scale;
702 height_scale = (float)psrc->height / (float)height;
705 half_square_height = (int32_t)(height_scale / 2.0);
707 round_height = (height_scale / 2.0) - (float)half_square_height;
722 ry = vy * height_scale;
766 red /= width_scale*height_scale;
767 green /= width_scale*height_scale;
768 blue /= width_scale*height_scale;
769 alpha /= width_scale*height_scale;