Home | History | Annotate | Download | only in mac

Lines Matching refs:margins

187 static IntRect inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins, float zoomFactor)
191 int widthDelta = zoomedRect.width() - (zoomedSize.width() + margins[leftMargin] * zoomFactor + margins[rightMargin] * zoomFactor);
192 int heightDelta = zoomedRect.height() - (zoomedSize.height() + margins[topMargin] * zoomFactor + margins[bottomMargin] * zoomFactor);
195 result.setX(result.x() - margins[leftMargin] * zoomFactor);
199 result.setY(result.y() - margins[topMargin] * zoomFactor);
215 static const int margins[3][4] =
221 return margins[controlSize];
297 static const int margins[3][4] =
303 return margins[controlSize];
384 static const int margins[3][4] =
390 return margins[controlSize];