Lines Matching refs:clip_rect

63     RECT       clip_rect;   /**< The subarea of the screen or window to clip */
125 RECT rect = gdigrab->clip_rect;
244 RECT clip_rect;
315 clip_rect.left = virtual_rect.left;
316 clip_rect.top = virtual_rect.top;
317 clip_rect.right = virtual_rect.right;
318 clip_rect.bottom = virtual_rect.bottom;
320 clip_rect.left = gdigrab->offset_x;
321 clip_rect.top = gdigrab->offset_y;
322 clip_rect.right = gdigrab->width + gdigrab->offset_x;
323 clip_rect.bottom = gdigrab->height + gdigrab->offset_y;
326 if (clip_rect.left < virtual_rect.left ||
327 clip_rect.top < virtual_rect.top ||
328 clip_rect.right > virtual_rect.right ||
329 clip_rect.bottom > virtual_rect.bottom) {
332 clip_rect.left, clip_rect.top,
333 clip_rect.right, clip_rect.bottom,
345 clip_rect.right - clip_rect.left,
346 clip_rect.bottom - clip_rect.top,
347 bpp, clip_rect.left, clip_rect.top);
351 clip_rect.right - clip_rect.left,
352 clip_rect.bottom - clip_rect.top,
353 bpp, clip_rect.left, clip_rect.top);
356 if (clip_rect.right - clip_rect.left <= 0 ||
357 clip_rect.bottom - clip_rect.top <= 0 || bpp%8) {
372 bmi.bmiHeader.biWidth = clip_rect.right - clip_rect.left;
373 bmi.bmiHeader.biHeight = -(clip_rect.bottom - clip_rect.top);
418 gdigrab->clip_rect = clip_rect;
471 RECT clip_rect = gdigrab->clip_rect;
499 pos.x = ci.ptScreenPos.x - clip_rect.left - info.xHotspot - rect.left;
500 pos.y = ci.ptScreenPos.y - clip_rect.top - info.yHotspot - rect.top;
511 pos.x = ci.ptScreenPos.x * desktophorzres / horzres - clip_rect.left - info.xHotspot;
512 pos.y = ci.ptScreenPos.y * desktopvertres / vertres - clip_rect.top - info.yHotspot;
518 if (pos.x >= 0 && pos.x <= clip_rect.right - clip_rect.left &&
519 pos.y >= 0 && pos.y <= clip_rect.bottom - clip_rect.top) {
549 RECT clip_rect = gdigrab->clip_rect;
588 clip_rect.right - clip_rect.left,
589 clip_rect.bottom - clip_rect.top,
591 clip_rect.left, clip_rect.top, SRCCOPY | CAPTUREBLT)) {