Lines Matching refs:subpixel_scale
36 subpixel_scale = 1 << subpixel_shift
62 int x1 = iround(tx * subpixel_scale);
63 int y1 = iround(ty * subpixel_scale);
68 int x2 = iround(tx * subpixel_scale);
69 int y2 = iround(ty * subpixel_scale);
79 m_li_x = dda2_line_interpolator(m_li_x.y(), iround(xe * subpixel_scale), len);
80 m_li_y = dda2_line_interpolator(m_li_y.y(), iround(ye * subpixel_scale), len);
118 subpixel_scale = 1 << subpixel_shift
165 m_src_x = iround(x * subpixel_scale) + subpixel_scale;
173 int x1 = iround(tx * subpixel_scale);
174 int y1 = iround(ty * subpixel_scale);
180 m_li_x = dda2_line_interpolator(x1, iround(tx * subpixel_scale), len);
181 m_li_y = dda2_line_interpolator(y1, iround(ty * subpixel_scale), len);
193 double tx = double(m_src_x) / double(subpixel_scale) + len;
196 m_li_x = dda2_line_interpolator(m_li_x.y(), iround(tx * subpixel_scale), len);
197 m_li_y = dda2_line_interpolator(m_li_y.y(), iround(ty * subpixel_scale), len);
200 m_src_x += subpixel_scale;