Home
last modified time | relevance | path

Searched refs:fCanvasOrigin (Results 1 – 4 of 4) sorted by relevance

/haiku/src/apps/icon-o-matic/
H A DCanvasView.cpp37 fCanvasOrigin(0.0, 0.0), in CanvasView()
92 BPoint oldCanvasOrigin = fCanvasOrigin; in FrameResized()
94 if (oldCanvasOrigin != fCanvasOrigin) in FrameResized()
333 point->x = point->x * fZoomLevel + fCanvasOrigin.x; in ConvertFromCanvas()
334 point->y = point->y * fZoomLevel + fCanvasOrigin.y; in ConvertFromCanvas()
341 point->x = (point->x - fCanvasOrigin.x) / fZoomLevel; in ConvertToCanvas()
342 point->y = (point->y - fCanvasOrigin.y) / fZoomLevel; in ConvertToCanvas()
349 r->left = r->left * fZoomLevel + fCanvasOrigin.x; in ConvertFromCanvas()
350 r->top = r->top * fZoomLevel + fCanvasOrigin.y; in ConvertFromCanvas()
353 r->right = r->right * fZoomLevel + fCanvasOrigin.x; in ConvertFromCanvas()
[all …]
H A DCanvasView.h111 BPoint fCanvasOrigin; variable
/haiku/src/servers/app/drawing/
H A DAlphaMask.cpp36 fCanvasOrigin(), in AlphaMask()
62 fCanvasOrigin(other->fCanvasOrigin), in AlphaMask()
90 fCanvasOrigin(), in AlphaMask()
122 if (origin == fCanvasOrigin && bounds.Width() == fCanvasBounds.Width() in SetCanvasGeometry()
124 return fCanvasOrigin; in SetCanvasGeometry()
126 IntPoint oldOrigin = fCanvasOrigin; in SetCanvasGeometry()
127 fCanvasOrigin = origin; in SetCanvasGeometry()
294 const int32 offsetX = fBounds.left + maskOffset.x + fCanvasOrigin.x; in _AttachMaskToBuffer()
295 const int32 offsetY = fBounds.top + maskOffset.y + fCanvasOrigin.y; in _AttachMaskToBuffer()
H A DAlphaMask.h82 IntPoint fCanvasOrigin; variable