/haiku/headers/libs/agg/ |
H A D | agg_span_interpolator_persp.h | 113 double dx; local 116 dx = xt + delta; 118 m_trans_inv.transform(&dx, &dy); 119 dx -= x; 121 int sx1 = uround(subpixel_scale/sqrt(dx*dx + dy*dy)) >> subpixel_shift; 122 dx = xt; 124 m_trans_inv.transform(&dx, &dy); 125 dx -= x; 127 int sy1 = uround(subpixel_scale/sqrt(dx*d 165 double dx; local 326 double dx; local 395 double dx; local [all...] |
H A D | agg_renderer_primitives.h | 85 int dx = 0; local 89 dx += ei.dx(); 91 m_ren->blend_pixel(x + dx, y + dy, m_line_color, cover_full); 92 m_ren->blend_pixel(x + dx, y - dy, m_line_color, cover_full); 93 m_ren->blend_pixel(x - dx, y - dy, m_line_color, cover_full); 94 m_ren->blend_pixel(x - dx, y + dy, m_line_color, cover_full); 104 int dx = 0; local 107 int dx0 = dx; 111 dx 131 int dx = 0; local [all...] |
H A D | agg_trans_lens.h | 38 double dx = *x - m_xc; local 40 double r = sqrt(dx * dx + dy * dy); 44 *x = m_xc + dx * m_magn; 52 *x = m_xc + dx * m; 60 *x = m_xc + dx * m;
|
H A D | agg_renderer_markers.h | 95 int dx = 0; local 98 base_type::ren().blend_pixel(x - dx, y + dy, base_type::line_color(), cover_full); 99 base_type::ren().blend_pixel(x + dx, y + dy, base_type::line_color(), cover_full); 100 base_type::ren().blend_pixel(x - dx, y - dy, base_type::line_color(), cover_full); 101 base_type::ren().blend_pixel(x + dx, y - dy, base_type::line_color(), cover_full); 103 if(dx) 105 base_type::ren().blend_hline(x-dx+1, y+dy, x+dx-1, base_type::fill_color(), cover_full); 106 base_type::ren().blend_hline(x-dx+1, y-dy, x+dx 165 int dx = 0; local 201 int dx = 0; local 237 int dx = 0; local 273 int dx = 0; local 308 int dx = 0; local 343 int dx = 0; local 378 int dx = 0; local 413 int dx = 0; local 448 int dx = 0; local [all...] |
H A D | agg_math.h | 59 double dx = x2-x1; 61 return sqrt(dx * dx + dy * dy); 67 double dx = x2-x1; 69 return dx * dx + dy * dy; 77 double dx = x2-x1; 79 double d = sqrt(dx * dx + dy * dy); 84 return ((x - x2) * dy - (y - y2) * dx) / [all...] |
H A D | agg_renderer_outline_aa.h | 135 void inc_y(int dx) argument 138 if(dx > 0) m_dist += m_dy; 139 if(dx < 0) m_dist -= m_dy; 142 void dec_y(int dx) argument 146 if(dx > 0) m_dist += m_dy; 147 if(dx < 0) m_dist -= m_dy; 152 int dx() const { return m_dx; } function in class:agg::distance_interpolator1 252 void inc_y(int dx) argument 256 if(dx > 0) 261 if(dx < 269 dec_y(int dx) argument 291 int dx() const { return m_dx; } function in class:agg::distance_interpolator2 393 inc_y(int dx) argument 413 dec_y(int dx) argument 438 int dx() const { return m_dx; } function in class:agg::distance_interpolator3 628 int dx; local 705 int dx = 0; local 814 int dx; local 961 int dx; local 1063 int dx = 0; local 1184 int dx; local 1422 int dx = x - xc1; local 1452 int dx = 0; local 1495 int dx = x - xc; local 1523 int dx = 0; local [all...] |
/haiku/src/libs/agg/src/ |
H A D | agg_trans_warp_magnifier.cpp | 25 double dx = *x - m_xc; local 27 double r = sqrt(dx * dx + dy * dy); 30 *x = m_xc + dx * m_magn; 36 *x = m_xc + dx * m;
|
H A D | agg_line_aa_basics.cpp | 70 double dx = tx - l2.x1; local 72 if((int)sqrt(dx * dx + dy * dy) < line_subpixel_scale)
|
H A D | agg_trans_single_path.cpp | 128 double dx = 1.0; local 138 dx = m_src_vertices[1].x - x1; 152 dx = x1 - m_src_vertices[i].x; 190 dx = m_src_vertices[j].x - x1; 193 double x2 = x1 + dx * d / dd; 196 *y = y2 + *y * dx / dd;
|
H A D | agg_curves.cpp | 160 double dx = x3-x1; local 162 double d = fabs(((x2 - x3) * dy - (y2 - y3) * dx)); 169 if(d * d <= m_distance_tolerance_square * (dx*dx + dy*dy)) 198 da = dx*dx + dy*dy; 205 d = ((x2 - x1)*dx + (y2 - y1)*dy) / da; 214 else d = calc_sq_distance(x2, y2, x1 + d*dx, y1 + d*dy); 419 double dx = x4-x1; local 422 double d2 = fabs(((x2 - x4) * dy - (y2 - y4) * dx)); [all...] |
/haiku/src/add-ons/screen_savers/gravity/ |
H A D | GravitySource.cpp | 44 float dx = tx - x; local 48 float d = dx * dx + dy * dy + dz * dz; 50 vx += dx * 0.003f; 62 if (dx * dx + dy * dy + dz * dz < 1.0f) { 70 dx = x - p->x; 74 d = dx * dx + dy * dy + dz * dz; 76 p->vx += dx / [all...] |
/haiku/src/system/libroot/posix/musl/math/ |
H A D | cbrtl.c | 33 double_t dr, dt, dx; local 83 dx = x; 86 dt = dt * (dx + dx + dr) / (dx + dr + dr); 90 dt = dt * (dx + dx + dr) / (dx + dr + dr);
|
/haiku/src/kits/interface/ |
H A D | Rect.cpp | 61 BRect::InsetBy(float dx, float dy) argument 63 left += dx; 64 right -= dx; 79 BRect::InsetBySelf(float dx, float dy) argument 81 InsetBy(dx, dy); 96 BRect::InsetByCopy(float dx, float dy) const argument 99 copy.InsetBy(dx, dy); 115 BRect::OffsetBy(float dx, float dy) argument 117 left += dx; 118 right += dx; 133 OffsetBySelf(float dx, float dy) argument 150 OffsetByCopy(float dx, float dy) const argument 291 InsetByCopy__5BRectff(BRect* self, float dx, float dy) argument 309 OffsetByCopy__5BRectff(BRect* self, float dx, float dy) argument 327 OffsetToCopy__5BRectff(BRect* self, float dx, float dy) argument 349 _ZN5BRect11InsetByCopyEff(BRect* self, float dx, float dy) argument 367 _ZN5BRect12OffsetByCopyEff(BRect* self, float dx, float dy) argument 385 _ZN5BRect12OffsetToCopyEff(BRect* self, float dx, float dy) argument [all...] |
/haiku/src/tests/servers/app/newClipping/ |
H A D | Layer.h | 21 void MoveBy(float dx, float dy); 22 void ResizeBy(float dx, float dy); 23 void ScrollBy(float dx, float dy); 32 virtual void MovedByHook(float dx, float dy) { } argument 33 virtual void ResizedByHook(float dx, float dy, bool automatic) { } argument 34 virtual void ScrolledByHook(float dx, float dy) { } argument 75 void rezize_layer_redraw_more(BRegion ®, float dx, float dy); 76 void resize_layer_full_update_on_resize(BRegion ®, float dx, float dy);
|
H A D | WinBorder.h | 11 virtual void MovedByHook(float dx, float dy); 12 virtual void ResizedByHook(float dx, float dy, bool automatic);
|
H A D | Layer.cpp | 254 float dx, dy;
local 256 dx = newFrame.Width() - fFrame.Width();
261 if (dx != 0.0f || dy != 0.0f) {
263 ResizedByHook(dx, dy, true); // automatic
266 lay->resize_layer_frame_by(dx, dy);
269 MovedByHook(dx, dy);
274 Layer::rezize_layer_redraw_more(BRegion ®, float dx, float dy)
argument 276 if (dx == 0 && dy == 0)
291 oldBounds.right -=dx;
307 (rm & 0x0F0F) == (uint16)B_FOLLOW_LEFT_RIGHT? dx 325 resize_layer_full_update_on_resize(BRegion ®, float dx, float dy) argument 345 ResizeBy(float dx, float dy) argument 407 MoveBy(float dx, float dy) argument 457 ScrollBy(float dx, float dy) argument [all...] |
H A D | WinBorder.cpp | 25 void WinBorder::MovedByHook(float dx, float dy) argument 27 fDecRegion.OffsetBy(dx, dy); 30 void WinBorder::ResizedByHook(float dx, float dy, bool automatic) argument
|
/haiku/src/servers/app/ |
H A D | IntRect.cpp | 58 IntRect::InsetBy(int32 dx, int32 dy) argument 60 left += dx; 61 right -= dx; 76 IntRect::InsetBySelf(int32 dx, int32 dy) argument 78 InsetBy(dx, dy); 93 IntRect::InsetByCopy(int32 dx, int32 dy) argument 96 copy.InsetBy(dx, dy); 112 IntRect::OffsetBy(int32 dx, int32 dy) argument 114 left += dx; 115 right += dx; 130 OffsetBySelf(int32 dx, int32 dy) argument 147 OffsetByCopy(int32 dx, int32 dy) argument 184 OffsetToSelf(int32 dx, int32 dy) argument 201 OffsetToCopy(int32 dx, int32 dy) argument [all...] |
H A D | IntRect.h | 49 void InsetBy(int32 dx, int32 dy); 51 void OffsetBy(int32 dx, int32 dy); 57 IntRect& InsetBySelf(int32 dx, int32 dy); 59 IntRect InsetByCopy(int32 dx, int32 dy); 61 IntRect& OffsetBySelf(int32 dx, int32 dy); 63 IntRect OffsetByCopy(int32 dx, int32 dy); 65 IntRect& OffsetToSelf(int32 dx, int32 dy); 67 IntRect OffsetToCopy(int32 dx, int32 dy);
|
/haiku/src/system/boot/platform/pxe_ia32/ |
H A D | pxe_bios.S | 68 andw $0xf, %dx 69 pushw %dx
|
/haiku/src/system/libroot/posix/glibc/arch/generic/ |
H A D | mpatan.c | 43 double dx; local 61 __mp_dbl(x,&dx,p); dx=ABS(dx); 63 {if (dx>xm[m].d) break;}
|
/haiku/src/libs/glut/ |
H A D | glut_vidresize.c | 39 static int dx = -1, dy = -1, dw = -1, dh = -1; variable 103 videoResizeChannel, &dx, &dy, &dw, &dh); 116 dx < 0 || dy < 0 || dw < 0 || dh < 0 || 117 dx > 2048 || dy > 2048 || dw > 2048 || dh > 2048) { 131 return dx;
|
/haiku/src/tests/servers/app/newerClipping/ |
H A D | ViewLayer.h | 78 void MoveBy( int32 dx, int32 dy, 81 void ResizeBy( int32 dx, int32 dy, 84 void ScrollBy( int32 dx, int32 dy, 87 void ParentResized( int32 dx, int32 dy,
|
/haiku/headers/private/kernel/arch/x86/32/ |
H A D | iframe.h | 23 uint32 dx; member in struct:iframe
|
/haiku/src/tests/kits/game/direct_window_test/ |
H A D | StarWindow.cpp | 68 int32 x, y, dx, dy, cnt, square; local 84 dx = (crc_alea&0xffff) - 0x8000; 91 } while ((dx == 0) && (dy == 0)); 95 square = dx*dx+dy*dy; 97 dx <<= 1; 103 star_list[i].dx0 = dx; 115 x += dx; 117 dx += (dx>> [all...] |