Lines Matching refs:offset
81 BPoint offset = ScrollOffset();
82 offset.x = roundf(offset.x + dataRectCenter.x - boundsCenter.x);
83 offset.y = roundf(offset.y + dataRectCenter.y - boundsCenter.y);
84 SetScrollOffset(offset);
167 BPoint offset = where - fScrollTrackingStart;
168 SetScrollOffset(fScrollOffsetStart - offset);
262 BPoint offset = newOffset - oldOffset;
264 if (offset == B_ORIGIN) {
269 ScrollBy(offset.x, offset.y);
629 BPoint offset = ScrollOffset();
630 offset.x = roundf(offset.x + canvasAnchor.x - anchor.x);
631 offset.y = roundf(offset.y + canvasAnchor.y - anchor.y);
635 SetDataRectAndScrollOffset(dataRect, offset);