/haiku/headers/libs/agg/ |
H A D | agg_span_image_filter.h | 121 int scale_limit() const { return uround(m_scale_limit); } 157 m_rx = uround( scale_x * double(image_subpixel_scale)); 158 m_rx_inv = uround(1.0/scale_x * double(image_subpixel_scale)); 160 m_ry = uround( scale_y * double(image_subpixel_scale)); 161 m_ry_inv = uround(1.0/scale_y * double(image_subpixel_scale)); 212 void blur_x(double v) { m_blur_x = uround(v * double(image_subpixel_scale)); } 213 void blur_y(double v) { m_blur_y = uround(v * double(image_subpixel_scale)); } 215 m_blur_y = uround(v * double(image_subpixel_scale)); }
|
H A D | agg_span_interpolator_persp.h | 121 int sx1 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 127 int sy1 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 139 int sx2 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 145 int sy2 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 174 int sx2 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 182 int sy2 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 336 int sx1 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 344 int sy1 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 360 int sx2 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 368 int sy2 = uround(subpixel_scal [all...] |
H A D | agg_color_gray.h | 67 v((value_type)uround((0.299*c.r + 0.587*c.g + 0.114*c.b) * double(base_mask))), 68 a((value_type)uround(c.a * double(base_mask))) {} 72 v((value_type)uround((0.299*c.r + 0.587*c.g + 0.114*c.b) * double(base_mask))), 73 a((value_type)uround(a_ * double(base_mask))) {} 103 a = (value_type)uround(a_ * double(base_mask)); 159 calc_type ik = uround(k * base_scale); 254 v((value_type)uround((0.299*c.r + 0.587*c.g + 0.114*c.b) * double(base_mask))), 255 a((value_type)uround(c.a * double(base_mask))) {} 259 v((value_type)uround((0.299*c.r + 0.587*c.g + 0.114*c.b) * double(base_mask))), 260 a((value_type)uround(a [all...] |
H A D | agg_gamma_lut.h | 85 uround(pow(i / double(gamma_mask), m_gamma) * double(hi_res_mask)); 92 uround(pow(i / double(hi_res_mask), inv_g) * double(gamma_mask));
|
H A D | agg_color_rgba.h | 254 r((value_type)uround(c.r * double(base_mask))), 255 g((value_type)uround(c.g * double(base_mask))), 256 b((value_type)uround(c.b * double(base_mask))), 257 a((value_type)uround(a_ * double(base_mask))) {} 265 r((value_type)uround(c.r * double(base_mask))), 266 g((value_type)uround(c.g * double(base_mask))), 267 b((value_type)uround(c.b * double(base_mask))), 268 a((value_type)uround(c.a * double(base_mask))) {} 288 a = (value_type)uround(a_ * double(base_mask)); 354 calc_type ik = uround( [all...] |
H A D | agg_ellipse.h | 91 m_num = uround(2*pi / da);
|
H A D | agg_renderer_outline_image.h | 110 m_width_hr = uround(src.width() * line_subpixel_scale); 111 m_half_height_hr = uround(src.height() * line_subpixel_scale/2); 284 m_len(uround(len / scale)) 933 m_start += uround(lp.len / m_scale_x); 953 uround(calc_distance(x1, y1, x2, y2))); 956 m_start += uround(calc_distance(lp.x1, lp.y1, x1, y1) / m_scale_x); 988 m_start = start + uround(lp.len / m_scale_x);
|
H A D | agg_basics.h | 138 AGG_INLINE unsigned uround(double v) //-------uround function in namespace:agg 167 AGG_INLINE int uround(double v) function in namespace:agg 192 AGG_INLINE int uround(double v) function in namespace:agg
|
H A D | agg_span_gradient.h | 178 return uround(sqrt(double(x)*double(x) + double(y)*double(y))); 370 return uround(fabs(atan2(double(y), double(x))) * double(d) / pi);
|
H A D | agg_blur.h | 1206 c.r = (cv_type)uround(r); 1207 c.g = (cv_type)uround(g); 1208 c.b = (cv_type)uround(b); 1209 c.a = (cv_type)uround(a); 1248 c.r = (cv_type)uround(r); 1249 c.g = (cv_type)uround(g); 1250 c.b = (cv_type)uround(b); 1285 c.v = (cv_type)uround(v);
|
H A D | agg_rasterizer_scanline_aa.h | 165 m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
|
H A D | agg_renderer_outline_aa.h | 1308 uround(gamma_function(double(i) / aa_mask) * aa_mask)); 1589 uround(calc_distance(x1, y1, x2, y2))); 1644 uround(calc_distance(x1, y1, x2, y2))); 1711 uround(calc_distance(x1, y1, x2, y2))); 1783 uround(calc_distance(x1, y1, x2, y2)));
|
H A D | agg_rasterizer_outline_aa.h | 52 return (len = uround(sqrt(dx * dx + dy * dy))) >
|
H A D | agg_rasterizer_compound_aa.h | 666 m_master_alpha[style] = uround(alpha * aa_mask);
|
H A D | agg_pixfmt_rgba.h | 1177 p[Order::R] = (value_type)uround(dr * base_mask); 1178 p[Order::G] = (value_type)uround(dg * base_mask); 1179 p[Order::B] = (value_type)uround(db * base_mask);
|
/haiku/src/libs/agg/src/ |
H A D | agg_line_profile_aa.cpp | 45 m_subpixel_width = uround(w * subpixel_scale);
|
H A D | agg_curves.cpp | 60 m_num_steps = uround(len * 0.25 * m_scale); 283 m_num_steps = uround(MSC60_fix_ICE(len)); 285 m_num_steps = uround(len);
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | agg_rasterizer_scanline_aa_subpix.h | 85 m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
|