Lines Matching refs:margins
199 IntRect ThemeMac::inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins, float zoomFactor)
203 int widthDelta = zoomedRect.width() - (zoomedSize.width() + margins[LeftMargin] * zoomFactor + margins[RightMargin] * zoomFactor);
204 int heightDelta = zoomedRect.height() - (zoomedSize.height() + margins[TopMargin] * zoomFactor + margins[BottomMargin] * zoomFactor);
207 result.setX(result.x() - margins[LeftMargin] * zoomFactor);
211 result.setY(result.y() - margins[TopMargin] * zoomFactor);
251 static const int margins[3][4] =
257 return margins[controlSize];
335 static const int margins[3][4] =
341 return margins[controlSize];
418 static const int margins[3][4] =
424 return margins[controlSize];