Lines Matching refs:offset
63 BPoint offset;
64 offset.x = (bounds.left + bounds.right) / 2;
65 offset.y = (bounds.top + bounds.bottom) / 2;
66 offset.x -= fSymbol->Bounds().Width() / 2;
67 offset.y -= fSymbol->Bounds().Height() / 2;
68 offset.x = floorf(offset.x - fSymbol->Bounds().left);
69 offset.y = ceilf(offset.y - fSymbol->Bounds().top);
71 MovePenTo(offset);
75 gradient.SetStart(offset);
76 offset.y += fSymbol->Bounds().Height();
77 gradient.SetEnd(offset);