Lines Matching defs:thumbRect
75 IntRect thumbRect;
83 splitTrack(scrollbar, track, startTrackRect, thumbRect, endTrackRect);
84 if (damageRect.intersects(thumbRect))
120 paintThumb(graphicsContext, scrollbar, thumbRect);
142 IntRect thumbRect;
144 splitTrack(scrollbar, track, beforeThumbRect, thumbRect, afterThumbRect);
145 if (thumbRect.contains(testPosition))
191 IntRect beforeThumbRect, thumbRect, afterThumbRect;
192 splitTrack(scrollbar, trackRect(scrollbar), beforeThumbRect, thumbRect, afterThumbRect);
198 result = thumbRect;
296 IntRect ScrollbarTheme::thumbRect(ScrollbarThemeClient* scrollbar)
303 IntRect thumbRect;
305 splitTrack(scrollbar, track, startTrackRect, thumbRect, endTrackRect);
307 return thumbRect;
321 void ScrollbarTheme::splitTrack(ScrollbarThemeClient* scrollbar, const IntRect& unconstrainedTrackRect, IntRect& beforeThumbRect, IntRect& thumbRect, IntRect& afterThumbRect)
328 thumbRect = IntRect(trackRect.x() + thumbPos, trackRect.y(), thumbLength(scrollbar), scrollbar->height());
329 beforeThumbRect = IntRect(trackRect.x(), trackRect.y(), thumbPos + thumbRect.width() / 2, trackRect.height());
332 thumbRect = IntRect(trackRect.x(), trackRect.y() + thumbPos, scrollbar->width(), thumbLength(scrollbar));
333 beforeThumbRect = IntRect(trackRect.x(), trackRect.y(), trackRect.width(), thumbPos + thumbRect.height() / 2);