Searched refs:offsetX (Results 1 - 18 of 18) sorted by relevance

/haiku/src/tests/servers/app/shape_test/
H A Dmain.cpp49 TranslateIterator(float offsetX, float offsetY) argument
51 fOffsetX(offsetX),
56 void SetOffset(float offsetX, float offsetY) argument
58 fOffsetX = offsetX;
/haiku/src/preferences/time/
H A DAnalogClock.cpp434 float offsetX; local
441 offsetX = (radius * 0.7) * sinf((hours * M_PI) / 6.0);
443 StrokeLine(BPoint(x, y), BPoint(x + offsetX, y - offsetY));
449 offsetX = (radius * 0.9) * sinf((minutes * M_PI) / 30.0);
451 StrokeLine(BPoint(x, y), BPoint(x + offsetX, y - offsetY));
457 offsetX = (radius * 0.95) * sinf((fSeconds * M_PI) / 30.0);
459 StrokeLine(BPoint(x, y), BPoint(x + offsetX, y - offsetY));
/haiku/src/apps/sudoku/
H A DSudokuField.cpp385 uint32 offsetX = x / fBlockSize * fBlockSize; local
390 uint32 value = ValueAt(partX + offsetX, partY + offsetY);
391 if (value && _ValidValueAt(partX + offsetX, partY + offsetY))
437 uint32 offsetX = x / fBlockSize * fBlockSize; local
442 if (partX + offsetX == x || partY + offsetY == y)
445 _ComputeValidMask(partX + offsetX, partY + offsetY, setSolved);
H A DSudokuView.cpp1105 uint32 offsetX = (uint32)floor((where.x - x * block) / fWidth); local
1106 x = x * fBlockSize + offsetX;
1113 if (offsetX >= fBlockSize || offsetY >= fBlockSize
/haiku/src/libs/print/libprint/
H A DPreview.cpp611 float offsetX = kPreviewLeftMargin; local
620 if ((paperRect.right + 2 * offsetX) < rect.right)
621 offsetX = (rect.right - (paperRect.right + 2 * offsetX)) / 2;
630 paperRect.OffsetTo(offsetX, offsetY);
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPJob.cpp263 int32 offsetX; local
266 imageableArea.top, offsetX, offsetY);
268 BPoint offset(offsetX, offsetY);
/haiku/src/servers/app/
H A DView.cpp584 int32 offsetX = 0; local
587 offsetX += view->fFrame.left - view->fScrollingOffset.x;
592 transform.AddOffset(offsetX, offsetY);
600 int32 offsetX = 0; local
603 offsetX += view->fScrollingOffset.x - view->fFrame.left;
608 transform.AddOffset(offsetX, offsetY);
H A DServerWindow.cpp1377 float offsetX = x - fCurrentView->Frame().left; local
1381 fCurrentView->MoveBy(offsetX, offsetY, &dirty);
/haiku/src/servers/app/drawing/
H A DAlphaMask.cpp255 const int32 offsetX = fBounds.left + maskOffset.x + fCanvasOrigin.x; local
258 fMask.attach(fBuffer, offsetX, offsetY, outsideOpacity);
H A DDrawingEngine.h199 void SetRendererOffset(int32 offsetX, int32 offsetY);
H A DDrawingEngine.cpp1606 DrawingEngine::SetRendererOffset(int32 offsetX, int32 offsetY) argument
1608 fPainter->SetRendererOffset(offsetX, offsetY);
/haiku/src/kits/shared/
H A DCalendarView.cpp1299 float offsetX = 4.0; local
1301 offsetX += frame.Width();
1303 return frame.OffsetBySelf(offsetX, offsetY);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h254 void SetRendererOffset(int32 offsetX,
H A DPainter.cpp1499 Painter::SetRendererOffset(int32 offsetX, int32 offsetY) argument
1501 fBaseRenderer.set_offset(offsetX, offsetY);
/haiku/src/servers/app/decorator/
H A DTabDecorator.cpp455 float offsetX = previousTab->tabRect.right - tab->tabRect.left; local
456 tab->tabRect.OffsetBy(offsetX, 0);
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js2070 this.sendMessage.dataView.writeFloat32(event.offsetX);
2081 this.sendMessage.dataView.writeFloat32(event.offsetX);
2093 this.sendMessage.dataView.writeFloat32(event.offsetX);
/haiku/src/apps/mediaplayer/
H A DMainWin.cpp1911 int offsetX = 0; local
1914 offsetX = (int)(screenFrame.left - frame.left);
1916 offsetX = (int)(screenFrame.right - frame.right);
1921 MoveBy(offsetX, offsetY);
/haiku/src/kits/tracker/
H A DContainerWindow.cpp1183 float offsetX = extent.left - PoseView()->Bounds().left; local
1189 if (offsetX < 0 && PoseView()->Bounds().right > extent.right
1192 offsetX);

Completed in 204 milliseconds