/haiku/src/libs/agg/src/ |
H A D | agg_trans_single_path.cpp | 70 double dist; in finalize_path() local 76 if(m_src_vertices[m_src_vertices.size() - 2].dist * 10.0 < in finalize_path() 77 m_src_vertices[m_src_vertices.size() - 3].dist) in finalize_path() 79 d = m_src_vertices[m_src_vertices.size() - 3].dist + in finalize_path() 80 m_src_vertices[m_src_vertices.size() - 2].dist; in finalize_path() 86 m_src_vertices[m_src_vertices.size() - 2].dist = d; in finalize_path() 90 dist = 0.0; in finalize_path() 94 double d = v.dist; in finalize_path() 95 v.dist = dist; in finalize_path() 96 dist += d; in finalize_path() [all …]
|
H A D | agg_trans_double_path.cpp | 101 double dist; in finalize_path() local 107 if(vertices[vertices.size() - 2].dist * 10.0 < in finalize_path() 108 vertices[vertices.size() - 3].dist) in finalize_path() 110 d = vertices[vertices.size() - 3].dist + in finalize_path() 111 vertices[vertices.size() - 2].dist; in finalize_path() 117 vertices[vertices.size() - 2].dist = d; in finalize_path() 121 dist = 0; in finalize_path() 125 d = v.dist; in finalize_path() 126 v.dist = dist; in finalize_path() 127 dist += d; in finalize_path() [all …]
|
H A D | agg_vcgen_stroke.cpp | 111 m_src_vertices[0].dist); in vertex() 122 m_src_vertices[m_src_vertices.size() - 2].dist); in vertex() 150 m_src_vertices.prev(m_src_vertex).dist, in vertex() 151 m_src_vertices.curr(m_src_vertex).dist); in vertex() 175 m_src_vertices.curr(m_src_vertex).dist, in vertex() 176 m_src_vertices.prev(m_src_vertex).dist); in vertex()
|
H A D | agg_vcgen_smooth_poly1.cpp | 86 double k1 = v0.dist / (v0.dist + v1.dist); in calculate() 87 double k2 = v1.dist / (v1.dist + v2.dist); in calculate()
|
H A D | agg_vcgen_dash.cpp | 162 m_curr_rest = m_v1->dist; in vertex() 182 *x = m_v2->x - (m_v2->x - m_v1->x) * m_curr_rest / m_v1->dist; in vertex() 183 *y = m_v2->y - (m_v2->y - m_v1->y) * m_curr_rest / m_v1->dist; in vertex() 192 m_curr_rest = m_v1->dist; in vertex()
|
H A D | agg_vcgen_contour.cpp | 133 m_src_vertices.prev(m_src_vertex).dist, in vertex() 134 m_src_vertices.curr(m_src_vertex).dist); in vertex()
|
/haiku/headers/libs/agg/ |
H A D | agg_span_interpolator_adaptor.h | 36 const distortion_type& dist) : in span_interpolator_adaptor() argument 38 m_distortion(&dist) in span_interpolator_adaptor() 44 const distortion_type& dist, in span_interpolator_adaptor() argument 47 m_distortion(&dist) in span_interpolator_adaptor() 58 void distortion(const distortion_type& dist) in distortion() argument 60 m_distortion = dist; in distortion()
|
H A D | agg_renderer_outline_aa.h | 48 int dist() const { return m_dist; } in dist() function 151 int dist() const { return m_dist; } in dist() function 286 int dist() const { return m_dist; } in dist() function 433 int dist() const { return m_dist; } in dist() function 524 return di.dist() / m_len; in step_hor_base() 539 return di.dist() / m_len; in step_ver_base() 596 int dist; in step_hor() local 605 while((dist = base_type::m_dist[dy] - s1) <= base_type::m_width) in step_hor() 607 *p1++ = (cover_type)base_type::m_ren.cover(dist); in step_hor() 612 while((dist = base_type::m_dist[dy] + s1) <= base_type::m_width) in step_hor() [all …]
|
H A D | agg_vertex_sequence.h | 135 double dist; member 141 dist(0.0) in vertex_dist() 147 bool ret = (dist = calc_distance(x, y, val.x, val.y)) > vertex_dist_epsilon; in operator() 148 if(!ret) dist = 1.0 / vertex_dist_epsilon; in operator()
|
H A D | agg_shorten_path.h | 37 d = vs[n].dist; 52 d = (prev.dist - s) / prev.dist;
|
H A D | agg_renderer_outline_image.h | 432 int dist() const { return m_dist; } in dist() function 608 int s1 = m_di.dist() / m_lp.len; in step_hor() 617 int dist; in step_hor() local 638 while((dist = m_dist_pos[dy]) - s1 <= m_width) in step_hor() 646 if(m_lp.inc > 0) dist = -dist; in step_hor() 647 m_ren.pixel(p1, dist_pict, s2 - dist); in step_hor() 658 while((dist = m_dist_pos[dy]) + s1 <= m_width) in step_hor() 667 if(m_lp.inc > 0) dist = -dist; in step_hor() 668 m_ren.pixel(p0, dist_pict, s2 + dist); in step_hor() 694 int s1 = m_di.dist() / m_lp.len; in step_ver() [all …]
|
H A D | agg_trans_affine.h | 466 double dist) in trans_affine_line_segment() argument 470 if(dist > 0.0) in trans_affine_line_segment() 472 multiply(trans_affine_scaling(std::sqrt(dx * dx + dy * dy) / dist)); in trans_affine_line_segment()
|
H A D | agg_span_gradient.h | 281 double dist = sqrt(double(m_focus_x) * double(m_focus_x) + in update_values() local 289 if(dist > r) in update_values()
|
/haiku/src/kits/interface/ |
H A D | Icon.cpp | 423 float dist = (nBits[nOffset + 0] - grey) * 0.4; in _MakeBitmaps() local 424 dBits[nOffset + 0] = (uint8)(grey + dist); in _MakeBitmaps() 425 dist = (nBits[nOffset + 1] - grey) * 0.4; in _MakeBitmaps() 426 dBits[nOffset + 1] = (uint8)(grey + dist); in _MakeBitmaps() 427 dist = (nBits[nOffset + 2] - grey) * 0.4; in _MakeBitmaps() 428 dBits[nOffset + 2] = (uint8)(grey + dist); in _MakeBitmaps() 435 float dist = (nBits[nOffset + 0] - grey) * 0.4; in _MakeBitmaps() local 436 dcBits[nOffset + 0] = (uint8)(grey + dist); in _MakeBitmaps() 437 dist = (nBits[nOffset + 1] - grey) * 0.4; in _MakeBitmaps() 438 dcBits[nOffset + 1] = (uint8)(grey + dist); in _MakeBitmaps() [all …]
|
/haiku/src/kits/shared/ |
H A D | IconButton.cpp | 730 float dist = (nBits[nOffset + 0] - grey) * 0.4; in _MakeBitmaps() local 731 dBits[nOffset + 0] = (uint8)(grey + dist); in _MakeBitmaps() 732 dist = (nBits[nOffset + 1] - grey) * 0.4; in _MakeBitmaps() 733 dBits[nOffset + 1] = (uint8)(grey + dist); in _MakeBitmaps() 734 dist = (nBits[nOffset + 2] - grey) * 0.4; in _MakeBitmaps() 735 dBits[nOffset + 2] = (uint8)(grey + dist); in _MakeBitmaps() 739 dist = (nBits[nOffset + 0] - grey) * 0.4; in _MakeBitmaps() 740 dcBits[nOffset + 0] = (uint8)(grey + dist); in _MakeBitmaps() 741 dist = (nBits[nOffset + 1] - grey) * 0.4; in _MakeBitmaps() 742 dcBits[nOffset + 1] = (uint8)(grey + dist); in _MakeBitmaps() [all …]
|
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | rgb_hsv.h | 48 float dist = max - min; in RGB_to_HSV() local 56 float h = i - f / dist; in RGB_to_HSV() 61 RETURN_HSV(h, dist/max, max); in RGB_to_HSV()
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | IconButton.cpp | 642 float dist = (nBits[nOffset + 0] - grey) * 0.4; in _MakeBitmaps() local 643 dBits[nOffset + 0] = (uint8)(grey + dist); in _MakeBitmaps() 644 dist = (nBits[nOffset + 1] - grey) * 0.4; in _MakeBitmaps() 645 dBits[nOffset + 1] = (uint8)(grey + dist); in _MakeBitmaps() 646 dist = (nBits[nOffset + 2] - grey) * 0.4; in _MakeBitmaps() 647 dBits[nOffset + 2] = (uint8)(grey + dist); in _MakeBitmaps() 651 dist = (nBits[nOffset + 0] - grey) * 0.4; in _MakeBitmaps() 652 dcBits[nOffset + 0] = (uint8)(grey + dist); in _MakeBitmaps() 653 dist = (nBits[nOffset + 1] - grey) * 0.4; in _MakeBitmaps() 654 dcBits[nOffset + 1] = (uint8)(grey + dist); in _MakeBitmaps() [all …]
|
/haiku/src/servers/app/stackandtile/ |
H A D | SATGroup.cpp | 1429 float dist = fabs(screen.left - frame.right); in _EnsureGroupIsOnScreen() local 1430 if (dist < minLeftDistance) { in _EnsureGroupIsOnScreen() 1431 minLeftDistance = dist; in _EnsureGroupIsOnScreen() 1433 } else if (dist == minLeftDistance) in _EnsureGroupIsOnScreen() 1437 float dist = fabs(frame.top - screen.bottom); in _EnsureGroupIsOnScreen() local 1438 if (dist < minBottomDistance) { in _EnsureGroupIsOnScreen() 1439 minBottomDistance = dist; in _EnsureGroupIsOnScreen() 1441 } else if (dist == minBottomDistance) in _EnsureGroupIsOnScreen() 1445 float dist = fabs(frame.left - screen.right); in _EnsureGroupIsOnScreen() local 1446 if (dist < minRightDistance) { in _EnsureGroupIsOnScreen() [all …]
|
/haiku/src/libs/glut/ |
H A D | glut_shapes.c | 206 GLfloat cosPhi, sinPhi, dist; in doughnut() local 211 dist = R + r * cosPhi; in doughnut() 214 glVertex3f(cosTheta1 * dist, -sinTheta1 * dist, r * sinPhi); in doughnut() 216 glVertex3f(cosTheta * dist, -sinTheta * dist, r * sinPhi); in doughnut()
|
/haiku/src/tools/ |
H A D | generate_boot_screen.cpp | 258 int i, dist, minDist, index = 0; in nearest_color() local 264 dist = dr * dr + dg * dg + db * db; in nearest_color() 265 if (dist < minDist) { in nearest_color() 266 minDist = dist; in nearest_color()
|
/haiku/src/tests/kits/game/chart/ |
H A D | ChartRender.cpp | 115 float radius, x0, y0, x, y, dist, delta; in InitPatterns() local 138 dist = sqrt(x*x + y*y); in InitPatterns() 140 if (dist > 0.5) { in InitPatterns() 141 delta = radius - dist + 0.5; in InitPatterns()
|
/haiku/src/libs/icon/style/ |
H A D | GradientTransformable.cpp | 467 int32 dist = offset - index; in MakeGradient() local 468 if (dist >= 0) { in MakeGradient() 479 float f = (float)(offset - i) / (float)(dist + 1); in MakeGradient() 491 float f = (float)(offset - i) / (float)(dist + 1); in MakeGradient()
|
/haiku/data/catalogs/apps/serialconnect/ |
H A D | ca.catkeys | 38 Remote cancelled transfer XModemStatus Transferència cancel·lada a distància
|
/haiku/src/apps/launchbox/ |
H A D | LaunchButton.cpp | 216 float dist = sqrtf(diff.x * diff.x + diff.y * diff.y); in MouseMoved() local 217 if (dist >= kDragStartDist) { in MouseMoved()
|
/haiku/data/catalogs/preferences/media/ |
H A D | fur.catkeys | 19 Quit anyway Media Window Jes distès
|