Lines Matching refs:clip_rect
62 RECT clip_rect; /**< The subarea of the screen or window to clip */
124 RECT rect = gdigrab->clip_rect;
239 RECT clip_rect;
277 clip_rect.left = virtual_rect.left;
278 clip_rect.top = virtual_rect.top;
279 clip_rect.right = virtual_rect.right;
280 clip_rect.bottom = virtual_rect.bottom;
282 clip_rect.left = gdigrab->offset_x;
283 clip_rect.top = gdigrab->offset_y;
284 clip_rect.right = gdigrab->width + gdigrab->offset_x;
285 clip_rect.bottom = gdigrab->height + gdigrab->offset_y;
288 if (clip_rect.left < virtual_rect.left ||
289 clip_rect.top < virtual_rect.top ||
290 clip_rect.right > virtual_rect.right ||
291 clip_rect.bottom > virtual_rect.bottom) {
294 clip_rect.left, clip_rect.top,
295 clip_rect.right, clip_rect.bottom,
316 clip_rect.right - clip_rect.left,
317 clip_rect.bottom - clip_rect.top,
318 bpp, clip_rect.left, clip_rect.top);
322 clip_rect.right - clip_rect.left,
323 clip_rect.bottom - clip_rect.top,
324 bpp, clip_rect.left, clip_rect.top);
327 if (clip_rect.right - clip_rect.left <= 0 ||
328 clip_rect.bottom - clip_rect.top <= 0 || bpp%8) {
343 bmi.bmiHeader.biWidth = clip_rect.right - clip_rect.left;
344 bmi.bmiHeader.biHeight = -(clip_rect.bottom - clip_rect.top);
389 gdigrab->clip_rect = clip_rect;
441 RECT clip_rect = gdigrab->clip_rect;
459 pos.x = ci.ptScreenPos.x - clip_rect.left - info.xHotspot;
460 pos.y = ci.ptScreenPos.y - clip_rect.top - info.yHotspot;
477 if (pos.x >= 0 && pos.x <= clip_rect.right - clip_rect.left &&
478 pos.y >= 0 && pos.y <= clip_rect.bottom - clip_rect.top) {
504 RECT clip_rect = gdigrab->clip_rect;
543 clip_rect.right - clip_rect.left,
544 clip_rect.bottom - clip_rect.top,
546 clip_rect.left, clip_rect.top, SRCCOPY | CAPTUREBLT)) {