Home
last modified time | relevance | path

Searched refs:offsetY (Results 1 – 17 of 17) sorted by relevance

/haiku/src/tests/servers/app/shape_test/
H A Dmain.cpp49 TranslateIterator(float offsetX, float offsetY) in Draw() argument
52 fOffsetY(offsetY) in Draw()
56 void SetOffset(float offsetX, float offsetY) in Draw() argument
59 fOffsetY = offsetY; in Draw()
/haiku/src/preferences/time/
H A DAnalogClock.cpp435 float offsetY; in _DrawHands() local
442 offsetY = (radius * 0.7) * cosf((hours * M_PI) / 6.0); in _DrawHands()
443 StrokeLine(BPoint(x, y), BPoint(x + offsetX, y - offsetY)); in _DrawHands()
450 offsetY = (radius * 0.9) * cosf((minutes * M_PI) / 30.0); in _DrawHands()
451 StrokeLine(BPoint(x, y), BPoint(x + offsetX, y - offsetY)); in _DrawHands()
458 offsetY = (radius * 0.95) * cosf((fSeconds * M_PI) / 30.0); in _DrawHands()
459 StrokeLine(BPoint(x, y), BPoint(x + offsetX, y - offsetY)); in _DrawHands()
/haiku/src/apps/sudoku/
H A DSudokuField.cpp386 uint32 offsetY = y / fBlockSize * fBlockSize; in _ComputeValidMask() local
390 uint32 value = ValueAt(partX + offsetX, partY + offsetY); in _ComputeValidMask()
391 if (value && _ValidValueAt(partX + offsetX, partY + offsetY)) in _ComputeValidMask()
438 uint32 offsetY = y / fBlockSize * fBlockSize; in _UpdateValidMaskChanged() local
442 if (partX + offsetX == x || partY + offsetY == y) in _UpdateValidMaskChanged()
445 _ComputeValidMask(partX + offsetX, partY + offsetY, setSolved); in _UpdateValidMaskChanged()
H A DSudokuView.cpp1121 uint32 offsetY = (uint32)floor((where.y - y * block) / fHeight); in _GetFieldFor() local
1122 y = y * fBlockSize + offsetY; in _GetFieldFor()
1124 if (offsetX >= fBlockSize || offsetY >= fBlockSize in _GetFieldFor()
/haiku/src/libs/print/libprint/
H A DPreview.cpp612 float offsetY = kPreviewTopMargin; in _ContentRect() local
626 if ((paperRect.bottom + 2 * offsetY) < rect.bottom) in _ContentRect()
627 offsetY = (rect.bottom - (paperRect.bottom + 2 * offsetY)) / 2; in _ContentRect()
630 paperRect.OffsetTo(offsetX, offsetY); in _ContentRect()
/haiku/src/kits/shared/
H A DCalendarView.cpp1092 float offsetY = 4.0; in _DrawWeekHeader() local
1094 offsetY += frame.Height(); in _DrawWeekHeader()
1096 frame.OffsetBy(4.0, offsetY); in _DrawWeekHeader()
1295 float offsetY = 4.0; in _FirstCalendarItemFrame() local
1297 offsetY += frame.Height(); in _FirstCalendarItemFrame()
1303 return frame.OffsetBySelf(offsetX, offsetY); in _FirstCalendarItemFrame()
/haiku/src/servers/app/
H A DView.cpp573 int32 offsetY = 0; in _LocalToScreenTransform() local
576 offsetY += view->fFrame.top - view->fScrollingOffset.y; in _LocalToScreenTransform()
580 transform.AddOffset(offsetX, offsetY); in _LocalToScreenTransform()
589 int32 offsetY = 0; in _ScreenToLocalTransform() local
592 offsetY += view->fScrollingOffset.y - view->fFrame.top; in _ScreenToLocalTransform()
596 transform.AddOffset(offsetX, offsetY); in _ScreenToLocalTransform()
H A DServerWindow.cpp1379 float offsetY = y - fCurrentView->Frame().top; in _DispatchViewMessage() local
1382 fCurrentView->MoveBy(offsetX, offsetY, &dirty); in _DispatchViewMessage()
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPJob.cpp264 int32 offsetY; in PrintPage() local
266 imageableArea.top, offsetX, offsetY); in PrintPage()
268 BPoint offset(offsetX, offsetY); in PrintPage()
/haiku/src/servers/app/drawing/
H A DAlphaMask.cpp295 const int32 offsetY = fBounds.top + maskOffset.y + fCanvasOrigin.y; in _AttachMaskToBuffer() local
297 fMask.attach(fBuffer, offsetX, offsetY, fOutsideOpacity); in _AttachMaskToBuffer()
H A DDrawingEngine.h201 void SetRendererOffset(int32 offsetX, int32 offsetY);
H A DDrawingEngine.cpp1578 DrawingEngine::SetRendererOffset(int32 offsetX, int32 offsetY) in SetRendererOffset() argument
1580 fPainter->SetRendererOffset(offsetX, offsetY); in SetRendererOffset()
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h253 int32 offsetY);
H A DPainter.cpp1510 Painter::SetRendererOffset(int32 offsetX, int32 offsetY) in SetRendererOffset() argument
1512 fBaseRenderer.set_offset(offsetX, offsetY); in SetRendererOffset()
/haiku/src/apps/mediaplayer/
H A DMainWin.cpp2140 int offsetY = 0; in _ResizeWindow() local
2146 offsetY = (int)(screenFrame.top - frame.top); in _ResizeWindow()
2148 offsetY = (int)(screenFrame.bottom - frame.bottom); in _ResizeWindow()
2149 MoveBy(offsetX, offsetY); in _ResizeWindow()
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js2071 this.sendMessage.dataView.writeFloat32(event.offsetY);
2082 this.sendMessage.dataView.writeFloat32(event.offsetY);
2094 this.sendMessage.dataView.writeFloat32(event.offsetY);
/haiku/src/kits/tracker/
H A DContainerWindow.cpp986 float offsetY = extent.top - PoseView()->Bounds().top; in FrameResized() local
997 if (offsetY < 0 && PoseView()->Bounds().bottom > extent.bottom in FrameResized()
1000 offsetY); in FrameResized()