Lines Matching refs:foregroundRect
115 void UISlider::DrawKnob(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, const Rect& foregroundRect)
123 knobBar.SetRect(foregroundRect.GetRight() - halfKnobWidth, foregroundRect.GetTop() - offset,
124 foregroundRect.GetRight() + halfKnobWidth, foregroundRect.GetBottom() + offset);
129 knobBar.SetRect(foregroundRect.GetLeft() - halfKnobWidth, foregroundRect.GetTop() - offset,
130 foregroundRect.GetLeft() + halfKnobWidth, foregroundRect.GetBottom() + offset);
135 knobBar.SetRect(foregroundRect.GetLeft() - offset, foregroundRect.GetTop() - halfKnobWidth,
136 foregroundRect.GetRight() + offset, foregroundRect.GetTop() + halfKnobWidth);
141 knobBar.SetRect(foregroundRect.GetLeft() - offset, foregroundRect.GetBottom() - halfKnobWidth,
142 foregroundRect.GetRight() + offset, foregroundRect.GetBottom() + halfKnobWidth);
198 Rect foregroundRect;
203 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1,
213 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1,
223 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth_ - 1,
233 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth_ - 1,
247 DrawValidRect(gfxDstBuffer, foregroundImage_, foregroundRect, coords, *foregroundStyle_, radius);
258 Rect foregroundRect;
259 DrawForeground(gfxDstBuffer, trunc, foregroundRect);
260 DrawKnob(gfxDstBuffer, trunc, foregroundRect);