Lines Matching defs:startPoint

187     Point startPoint;
191 GetBackgroundParam(startPoint, progressWidth, progressHeight, radius, *foregroundStyle_);
203 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1,
204 startPoint.y + progressHeight_ - 1);
206 left = startPoint.x - radius - 1;
208 coords.SetRect(left, startPoint.y, right, startPoint.y + progressHeight_ - 1);
213 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1,
214 startPoint.y + progressHeight_ - 1);
216 right = startPoint.x + progressWidth + radius + 1;
218 coords.SetRect(left, startPoint.y, right, startPoint.y + progressHeight_ - 1);
223 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth_ - 1,
224 startPoint.y + progressHeight - 1);
226 top = startPoint.y - radius - 1;
228 coords.SetRect(startPoint.x, top, startPoint.x + progressWidth_ - 1, bottom);
233 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth_ - 1,
234 startPoint.y + progressHeight - 1);
236 bottom = startPoint.y + progressHeight + radius + 1;
238 coords.SetRect(startPoint.x, top, startPoint.x + progressWidth_ - 1, bottom);
274 Point startPoint;
277 startPoint.x = rect.GetLeft() + style_->borderWidth_ + style_->paddingLeft_ + (GetWidth() - progressWidth_) / 2;
279 startPoint.y = rect.GetTop() + style_->borderWidth_ + style_->paddingTop_ + (GetHeight() - progressHeight_) / 2;
284 if (knobPosition.x <= startPoint.x) {
286 } else if (knobPosition.x >= startPoint.x + progressWidth_) {
289 value = CalculateCurrentValue(knobPosition.x - startPoint.x, progressWidth_);
293 if (knobPosition.x <= startPoint.x) {
295 } else if (knobPosition.x >= startPoint.x + progressWidth_) {
298 value = CalculateCurrentValue(startPoint.x + progressWidth_ - knobPosition.x, progressWidth_);
302 if (knobPosition.y <= startPoint.y) {
304 } else if (knobPosition.y >= startPoint.y + progressHeight_) {
307 value = CalculateCurrentValue(startPoint.y + progressHeight_ - knobPosition.y, progressHeight_);
311 if (knobPosition.y <= startPoint.y) {
313 } else if (knobPosition.y >= startPoint.y + progressHeight_) {
316 value = CalculateCurrentValue(knobPosition.y - startPoint.y, progressHeight_);