Lines Matching refs:m_clip_box
115 m_clip_box(0,0,0,0), in rasterizer_sl_clip()
131 m_clip_box = rect_type(x1, y1, x2, y2); in clip_box()
132 m_clip_box.normalize(); in clip_box()
141 if(m_clipping) m_f1 = clipping_flags(x1, y1, m_clip_box); in move_to()
174 tx1 = x1 + Conv::mul_div(m_clip_box.y1-y1, x2-x1, y2-y1); in line_clip_y()
175 ty1 = m_clip_box.y1; in line_clip_y()
180 tx1 = x1 + Conv::mul_div(m_clip_box.y2-y1, x2-x1, y2-y1); in line_clip_y()
181 ty1 = m_clip_box.y2; in line_clip_y()
186 tx2 = x1 + Conv::mul_div(m_clip_box.y1-y1, x2-x1, y2-y1); in line_clip_y()
187 ty2 = m_clip_box.y1; in line_clip_y()
192 tx2 = x1 + Conv::mul_div(m_clip_box.y2-y1, x2-x1, y2-y1); in line_clip_y()
193 ty2 = m_clip_box.y2; in line_clip_y()
208 unsigned f2 = clipping_flags(x2, y2, m_clip_box); in line_to()
232 y3 = y1 + Conv::mul_div(m_clip_box.x2-x1, y2-y1, x2-x1); in line_to()
233 f3 = clipping_flags_y(y3, m_clip_box); in line_to()
234 line_clip_y(ras, x1, y1, m_clip_box.x2, y3, f1, f3); in line_to()
235 line_clip_y(ras, m_clip_box.x2, y3, m_clip_box.x2, y2, f3, f2); in line_to()
239 y3 = y1 + Conv::mul_div(m_clip_box.x2-x1, y2-y1, x2-x1); in line_to()
240 f3 = clipping_flags_y(y3, m_clip_box); in line_to()
241 line_clip_y(ras, m_clip_box.x2, y1, m_clip_box.x2, y3, f1, f3); in line_to()
242 line_clip_y(ras, m_clip_box.x2, y3, x2, y2, f3, f2); in line_to()
246 line_clip_y(ras, m_clip_box.x2, y1, m_clip_box.x2, y2, f1, f2); in line_to()
250 y3 = y1 + Conv::mul_div(m_clip_box.x1-x1, y2-y1, x2-x1); in line_to()
251 f3 = clipping_flags_y(y3, m_clip_box); in line_to()
252 line_clip_y(ras, x1, y1, m_clip_box.x1, y3, f1, f3); in line_to()
253 line_clip_y(ras, m_clip_box.x1, y3, m_clip_box.x1, y2, f3, f2); in line_to()
257 y3 = y1 + Conv::mul_div(m_clip_box.x2-x1, y2-y1, x2-x1); in line_to()
258 y4 = y1 + Conv::mul_div(m_clip_box.x1-x1, y2-y1, x2-x1); in line_to()
259 f3 = clipping_flags_y(y3, m_clip_box); in line_to()
260 f4 = clipping_flags_y(y4, m_clip_box); in line_to()
261 line_clip_y(ras, m_clip_box.x2, y1, m_clip_box.x2, y3, f1, f3); in line_to()
262 line_clip_y(ras, m_clip_box.x2, y3, m_clip_box.x1, y4, f3, f4); in line_to()
263 line_clip_y(ras, m_clip_box.x1, y4, m_clip_box.x1, y2, f4, f2); in line_to()
267 y3 = y1 + Conv::mul_div(m_clip_box.x1-x1, y2-y1, x2-x1); in line_to()
268 f3 = clipping_flags_y(y3, m_clip_box); in line_to()
269 line_clip_y(ras, m_clip_box.x1, y1, m_clip_box.x1, y3, f1, f3); in line_to()
270 line_clip_y(ras, m_clip_box.x1, y3, x2, y2, f3, f2); in line_to()
274 y3 = y1 + Conv::mul_div(m_clip_box.x1-x1, y2-y1, x2-x1); in line_to()
275 y4 = y1 + Conv::mul_div(m_clip_box.x2-x1, y2-y1, x2-x1); in line_to()
276 f3 = clipping_flags_y(y3, m_clip_box); in line_to()
277 f4 = clipping_flags_y(y4, m_clip_box); in line_to()
278 line_clip_y(ras, m_clip_box.x1, y1, m_clip_box.x1, y3, f1, f3); in line_to()
279 line_clip_y(ras, m_clip_box.x1, y3, m_clip_box.x2, y4, f3, f4); in line_to()
280 line_clip_y(ras, m_clip_box.x2, y4, m_clip_box.x2, y2, f4, f2); in line_to()
284 line_clip_y(ras, m_clip_box.x1, y1, m_clip_box.x1, y2, f1, f2); in line_to()
300 rect_type m_clip_box;