Home
last modified time | relevance | path

Searched refs:m_clip_box (Results 1 – 8 of 8) sorted by relevance

/haiku/headers/libs/agg/
H A Dagg_rasterizer_sl_clip.h115 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()
[all …]
H A Dagg_vpgen_clip_polyline.h32 m_clip_box(0, 0, 1, 1), in vpgen_clip_polyline()
43 m_clip_box.x1 = x1; in clip_box()
44 m_clip_box.y1 = y1; in clip_box()
45 m_clip_box.x2 = x2; in clip_box()
46 m_clip_box.y2 = y2; in clip_box()
47 m_clip_box.normalize(); in clip_box()
50 double x1() const { return m_clip_box.x1; } in x1()
51 double y1() const { return m_clip_box.y1; } in y1()
52 double x2() const { return m_clip_box.x2; } in x2()
53 double y2() const { return m_clip_box.y2; } in y2()
[all …]
H A Dagg_vpgen_clip_polygon.h32 m_clip_box(0, 0, 1, 1), in vpgen_clip_polygon()
44 m_clip_box.x1 = x1; in clip_box()
45 m_clip_box.y1 = y1; in clip_box()
46 m_clip_box.x2 = x2; in clip_box()
47 m_clip_box.y2 = y2; in clip_box()
48 m_clip_box.normalize(); in clip_box()
52 double x1() const { return m_clip_box.x1; } in x1()
53 double y1() const { return m_clip_box.y1; } in y1()
54 double x2() const { return m_clip_box.x2; } in x2()
55 double y2() const { return m_clip_box.y2; } in y2()
[all …]
H A Dagg_renderer_base.h38 renderer_base() : m_ren(0), m_clip_box(1, 1, 0, 0) {} in renderer_base()
41 m_clip_box(0, 0, ren.width() - 1, ren.height() - 1) in renderer_base()
46 m_clip_box = rect_i(0, 0, ren.width() - 1, ren.height() - 1); in attach()
64 m_clip_box = cb; in clip_box()
67 m_clip_box.x1 = 1; in clip_box()
68 m_clip_box.y1 = 1; in clip_box()
69 m_clip_box.x2 = 0; in clip_box()
70 m_clip_box.y2 = 0; in clip_box()
79 m_clip_box.x1 = 0; in reset_clipping()
80 m_clip_box.y1 = 0; in reset_clipping()
[all …]
H A Dagg_renderer_outline_image.h824 m_clip_box(0,0,0,0), in renderer_outline_image()
837 m_clip_box.x1 = line_coord_sat::conv(x1); in clip_box()
838 m_clip_box.y1 = line_coord_sat::conv(y1); in clip_box()
839 m_clip_box.x2 = line_coord_sat::conv(x2); in clip_box()
840 m_clip_box.y2 = line_coord_sat::conv(y2); in clip_box()
946 unsigned flags = clip_line_segment(&x1, &y1, &x2, &y2, m_clip_box); in line3()
1001 rect_i m_clip_box; variable
H A Dagg_renderer_outline_aa.h1356 m_clip_box(0,0,0,0), in renderer_outline_aa()
1377 m_clip_box.x1 = line_coord_sat::conv(x1); in clip_box()
1378 m_clip_box.y1 = line_coord_sat::conv(y1); in clip_box()
1379 m_clip_box.x2 = line_coord_sat::conv(x2); in clip_box()
1380 m_clip_box.y2 = line_coord_sat::conv(y2); in clip_box()
1447 if(m_clipping && clipping_flags(xc1, yc1, m_clip_box)) return; in semidot()
1481 if(m_clipping && clipping_flags(xc, yc, m_clip_box)) return; in pie_hline()
1583 unsigned flags = clip_line_segment(&x1, &y1, &x2, &y2, m_clip_box); in line0()
1638 unsigned flags = clip_line_segment(&x1, &y1, &x2, &y2, m_clip_box); in line1()
1705 unsigned flags = clip_line_segment(&x1, &y1, &x2, &y2, m_clip_box); in line2()
[all …]
/haiku/src/libs/agg/src/
H A Dagg_vpgen_clip_polygon.cpp42 if(x < m_clip_box.x1) in clipping_flags()
44 if(y > m_clip_box.y2) return 6; in clipping_flags()
45 if(y < m_clip_box.y1) return 12; in clipping_flags()
49 if(x > m_clip_box.x2) in clipping_flags()
51 if(y > m_clip_box.y2) return 3; in clipping_flags()
52 if(y < m_clip_box.y1) return 9; in clipping_flags()
56 if(y > m_clip_box.y2) return 2; in clipping_flags()
57 if(y < m_clip_box.y1) return 8; in clipping_flags()
107 m_clip_box, in line_to()
H A Dagg_vpgen_clip_polyline.cpp44 unsigned flags = clip_line_segment(&m_x1, &m_y1, &x2, &y2, m_clip_box); in line_to()