Searched refs:dy (Results 1 - 25 of 83) sorted by last modified time

1234

/haiku/src/servers/app/
H A DWindow.h134 void ScrollViewBy(View* view, int32 dx, int32 dy);
H A DWindow.cpp435 Window::ScrollViewBy(View* view, int32 dx, int32 dy) argument
440 if (!view || view == fTopView.Get() || (dx == 0 && dy == 0))
447 view->ScrollBy(dx, dy, dirty);
H A DView.h121 void MoveBy(int32 dx, int32 dy,
124 void ResizeBy(int32 dx, int32 dy,
127 void ScrollBy(int32 dx, int32 dy,
130 void ParentResized(int32 dx, int32 dy,
/haiku/src/apps/mediaplayer/
H A DMainWin.cpp1088 float dy = msg->FindFloat("be:wheel_delta_y"); local
1094 if (dy > 0.1)
1096 if (dy < -0.1)
/haiku/src/tests/kits/game/chart/
H A DChartWindow.cpp1644 float dx, dy, dz, dist, fact, alpha, r; local
1694 dy = s->y-amas[index].y;
1695 if (dy < -0.5) dy += 1.0;
1696 if (dy > 0.5) dy -= 1.0;
1704 dist = (abs(dx) + abs(dy) + abs(dz))*factor[index];
1716 dy *= fact;
1724 s->y = amas[index].y + dy;
1754 dy
1850 TPoint dx, dy; local
2307 TPoint min, max, dx, dy, dz, p1; local
[all...]
/haiku/src/apps/glteapot/
H A DObjectView.cpp514 float dy = point.y - fTrackingInfo.lastY; local
521 fTrackingInfo.pickedObject->RotateWorldSpace(dx,dy);
523 fTrackingInfo.lastDy = dy;
530 float yinc = (-dy * 2 * displayScale / Bounds().Height());
/haiku/src/libs/agg/src/
H A Dagg_trans_affine.cpp171 void trans_affine::translation(double* dx, double* dy) const
174 *dy = ty;
H A Dagg_trans_double_path.cpp176 double dy = 1.0; local
187 dy = vertices[1].y - y1;
201 dy = y1 - vertices[i].y;
239 dy = vertices[j].y - y1;
242 *y = y1 + dy * d / dd;
/haiku/headers/libs/agg/
H A Dagg_trans_perspective.h223 void translation(double* dx, double* dy) const;
290 double dy = q[1] - q[3] + q[5] - q[7]; local
291 if(dx == 0.0 && dy == 0.0)
321 double u = (dx * dy2 - dy * dx2) / den;
322 double v = (dy * dx1 - dx * dy1) / den;
700 inline void trans_perspective::translation(double* dx, double* dy) const
703 *dy = ty;
H A Dagg_trans_affine.h287 void translation(double* dx, double* dy) const;
469 double dy = y2 - y1; local
472 multiply(trans_affine_scaling(std::sqrt(dx * dx + dy * dy) / dist));
474 multiply(trans_affine_rotation(std::atan2(dy, dx)));
/haiku/src/apps/tv/
H A DMainWin.cpp1150 float dy = msg->FindFloat("be:wheel_delta_y"); local
1154 if (dy > 0.1) PostMessage(inv ? M_CHANNEL_PREV : M_VOLUME_DOWN);
1155 if (dy < -0.1) PostMessage(inv ? M_CHANNEL_NEXT : M_VOLUME_UP);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp1970 float dy = endPoint.y - startPoint.y; local
1973 matrix *= agg::trans_affine_scaling(sqrt(dx * dx + dy * dy) / gradient_d2);
1974 matrix *= agg::trans_affine_rotation(atan2(dy, dx));
/haiku/src/add-ons/print/drivers/canon_lips/lips4/
H A DLips4.cpp462 LIPS4Driver::_MoveDown(int dy) argument
464 WriteSpoolString("\033[%lde", dy);
514 int dy = y - fCurrentY; local
515 _MoveDown(dy);
/haiku/src/add-ons/print/drivers/canon_lips/lips3/
H A DLips3.cpp412 LIPS3Driver::_MoveDown(int dy) argument
414 WriteSpoolString("\033[%de", dy);
457 int dy = y - fCurrentY; local
458 _MoveDown(dy);
/haiku/src/add-ons/screen_savers/flurry/
H A DSmoke.cpp99 float dy; local
109 dy = s->old[1] - sy;
113 deltay = (dy * mag);
131 dy = s->p[s->nextParticle].position[1].f[s->nextSubParticle]
135 rsquared = (dx * dx + dy * dy + dz * dz);
143 -= (dy * mag);
188 float dy; local
206 dy = s->p[i].position[1].f[k] - info->spark[j]->position[1];
208 rsquared = (dx * dx + dy * d
300 float dy = (sy - oldscreeny); local
[all...]
/haiku/src/kits/interface/
H A DWindow.cpp2362 BWindow::MoveBy(float dx, float dy) argument
2364 if ((dx != 0.0f || dy != 0.0f) && Lock()) {
2365 MoveTo(fFrame.left + dx, fFrame.top + dy);
2402 BWindow::ResizeBy(float dx, float dy) argument
2405 ResizeTo(fFrame.Width() + dx, fFrame.Height() + dy);
H A DRegionSupport.cpp349 int dx, int dy)
355 if (!dx && !dy) return 0;
359 if ((grow = (dy < 0))) dy = -dy;
360 if (dy) Compress(r, s, t, (unsigned) 2*dy, false, grow);
361 XOffsetRegion(r, dx, dy);
347 XShrinkRegion( BRegion* r, int dx, int dy) argument
/haiku/src/servers/app/font/
H A DFontEngine.cpp624 double dy = int26p6_to_dbl(delta.y); local
627 *y += dy;
/haiku/headers/os/interface/
H A DWindow.h169 void MoveBy(float dx, float dy);
172 void ResizeBy(float dx, float dy);
/haiku/src/kits/game/
H A DWindowScreen.cpp65 blit(int32 sx, int32 sy, int32 dx, int32 dy, int32 width, int32 height) argument
71 param.dest_top = dy;
86 transparent_blit(int32 sx, int32 sy, int32 dx, int32 dy, int32 width,
93 param.dest_top = dy;
106 scaled_filtered_blit(int32 sx, int32 sy, int32 sw, int32 sh, int32 dx, int32 dy, argument
115 param.dest_top = dy;
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h542 static void nsvg__xformPoint(float* dx, float* dy, float x, float y, float* t) argument
545 *dy = x*t[1] + y*t[3] + t[5];
548 static void nsvg__xformVec(float* dx, float* dy, float x, float y, float* t) argument
551 *dy = x*t[1] + y*t[3];
725 float px,py, dx,dy; local
730 dy = y - py;
731 nsvg__addPoint(p, px + dx/3.0f, py + dy/3.0f);
732 nsvg__addPoint(p, x - dx/3.0f, y - dy/3.0f);
862 float x1, y1, x2, y2, dx, dy; local
869 dy
2071 float x1, y1, x2, y2, cx, cy, dx, dy, d; local
[all...]
/haiku/src/system/libroot/posix/musl/math/
H A Dtgamma.c112 double_t dy, z, r; local
151 dy = y - absx;
152 dy -= gmhalf;
154 dy = y - gmhalf;
155 dy -= absx;
164 dy = -dy;
167 r += dy * (gmhalf+0.5) * r / y;
/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp436 int d,x,y,ax,ay,sx,sy,dx,dy; local
442 dy=y2-y1; ay=ABS(dy)<<1; sy=SGN(dy);
/haiku/src/apps/diskusage/
H A DPieView.cpp574 float dy = where.y - cy; local
575 float dist = sqrt(dx * dx + dy * dy);
583 float angle = rad2deg(atan(dy / dx));
584 angle = ((dx < 0.0) ? 180.0 : (dy < 0.0) ? 0.0 : 360.0) - angle;
/haiku/src/bin/unzip/
H A Dfileio.c1653 int yr, mo, dy, hh, mm, ss;
1685 dy = ((int)(dosdatetime >> 16) & 0x1f) - 1;
1694 sprintf (temp, "%02d/%02d/%02d %02d:%02d:%02d", mo+1, dy+1, yr, hh, mm, ss);
1716 m_time = (time_t)(((unsigned long)days + dy) * 86400L +

Completed in 168 milliseconds

1234