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

/haiku/headers/libs/agg/
H A Dagg_vpgen_clip_polygon.h32 m_clip_box(0, 0, 1, 1),
44 m_clip_box.x1 = x1;
45 m_clip_box.y1 = y1;
46 m_clip_box.x2 = x2;
47 m_clip_box.y2 = y2;
48 m_clip_box.normalize();
52 double x1() const { return m_clip_box.x1; }
53 double y1() const { return m_clip_box.y1; }
54 double x2() const { return m_clip_box.x2; }
55 double y2() const { return m_clip_box
69 rect_d m_clip_box; member in class:agg::vpgen_clip_polygon
[all...]
H A Dagg_vpgen_clip_polyline.h32 m_clip_box(0, 0, 1, 1),
43 m_clip_box.x1 = x1;
44 m_clip_box.y1 = y1;
45 m_clip_box.x2 = x2;
46 m_clip_box.y2 = y2;
47 m_clip_box.normalize();
50 double x1() const { return m_clip_box.x1; }
51 double y1() const { return m_clip_box.y1; }
52 double x2() const { return m_clip_box.x2; }
53 double y2() const { return m_clip_box
64 rect_d m_clip_box; member in class:agg::vpgen_clip_polyline
[all...]
H A Dagg_rasterizer_sl_clip.h115 m_clip_box(0,0,0,0),
131 m_clip_box = rect_type(x1, y1, x2, y2);
132 m_clip_box.normalize();
141 if(m_clipping) m_f1 = clipping_flags(x1, y1, m_clip_box);
174 tx1 = x1 + Conv::mul_div(m_clip_box.y1-y1, x2-x1, y2-y1);
175 ty1 = m_clip_box.y1;
180 tx1 = x1 + Conv::mul_div(m_clip_box.y2-y1, x2-x1, y2-y1);
181 ty1 = m_clip_box.y2;
186 tx2 = x1 + Conv::mul_div(m_clip_box.y1-y1, x2-x1, y2-y1);
187 ty2 = m_clip_box
300 rect_type m_clip_box; member in class:agg::rasterizer_sl_clip
[all...]
H A Dagg_renderer_base.h38 renderer_base() : m_ren(0), m_clip_box(1, 1, 0, 0) {}
41 m_clip_box(0, 0, ren.width() - 1, ren.height() - 1)
46 m_clip_box = rect_i(0, 0, ren.width() - 1, ren.height() - 1);
64 m_clip_box = cb;
67 m_clip_box.x1 = 1;
68 m_clip_box.y1 = 1;
69 m_clip_box.x2 = 0;
70 m_clip_box.y2 = 0;
79 m_clip_box.x1 = 0;
80 m_clip_box
604 rect_i m_clip_box; member in class:agg::renderer_base
[all...]
H A Dagg_renderer_outline_image.h824 m_clip_box(0,0,0,0),
837 m_clip_box.x1 = line_coord_sat::conv(x1);
838 m_clip_box.y1 = line_coord_sat::conv(y1);
839 m_clip_box.x2 = line_coord_sat::conv(x2);
840 m_clip_box.y2 = line_coord_sat::conv(y2);
946 unsigned flags = clip_line_segment(&x1, &y1, &x2, &y2, m_clip_box);
1001 rect_i m_clip_box; member in class:agg::renderer_outline_image
H A Dagg_renderer_outline_aa.h1356 m_clip_box(0,0,0,0),
1377 m_clip_box.x1 = line_coord_sat::conv(x1);
1378 m_clip_box.y1 = line_coord_sat::conv(y1);
1379 m_clip_box.x2 = line_coord_sat::conv(x2);
1380 m_clip_box.y2 = line_coord_sat::conv(y2);
1447 if(m_clipping && clipping_flags(xc1, yc1, m_clip_box)) return;
1481 if(m_clipping && clipping_flags(xc, yc, m_clip_box)) return;
1583 unsigned flags = clip_line_segment(&x1, &y1, &x2, &y2, m_clip_box);
1638 unsigned flags = clip_line_segment(&x1, &y1, &x2, &y2, m_clip_box);
1705 unsigned flags = clip_line_segment(&x1, &y1, &x2, &y2, m_clip_box);
1829 rect_i m_clip_box; member in class:agg::renderer_outline_aa
[all...]
/haiku/src/libs/agg/src/
H A Dagg_vpgen_clip_polygon.cpp42 if(x < m_clip_box.x1)
44 if(y > m_clip_box.y2) return 6;
45 if(y < m_clip_box.y1) return 12;
49 if(x > m_clip_box.x2)
51 if(y > m_clip_box.y2) return 3;
52 if(y < m_clip_box.y1) return 9;
56 if(y > m_clip_box.y2) return 2;
57 if(y < m_clip_box.y1) return 8;
107 m_clip_box,
H A Dagg_vpgen_clip_polyline.cpp44 unsigned flags = clip_line_segment(&m_x1, &m_y1, &x2, &y2, m_clip_box);

Completed in 50 milliseconds