Searched refs:window_rect (Results 1 – 4 of 4) sorted by relevance
195 DesktopRect window_rect; in GetWindowRectInVirtualScreen() local197 if (!GetCroppedWindowRect(hwnd, &window_rect, &original_rect)) { in GetWindowRectInVirtualScreen()199 return window_rect; in GetWindowRectInVirtualScreen()201 window_rect.IntersectWith(window_region_rect_); in GetWindowRectInVirtualScreen()205 window_rect.IntersectWith(screen_rect); in GetWindowRectInVirtualScreen()206 window_rect.Translate(-screen_rect.left(), -screen_rect.top()); in GetWindowRectInVirtualScreen()207 return window_rect; in GetWindowRectInVirtualScreen()
91 DesktopRect window_rect = GetWindowRectInVirtualScreen(); in OnCaptureCompleted() local92 if (window_rect.is_empty()) { in OnCaptureCompleted()99 CreateCroppedDesktopFrame(screen_frame.release(), window_rect)); in OnCaptureCompleted()
166 DesktopRect window_rect =178 if (!window_rect.Contains(position))180 position = position.subtract(window_rect.top_left());184 } else if (window_rect.Contains(position)) {
119 RECT window_rect; in stw_framebuffer_get_size() local163 GetWindowRect(fb->hWnd, &window_rect)) { in stw_framebuffer_get_size()164 fb->client_rect.left = client_pos.x - window_rect.left; in stw_framebuffer_get_size()165 fb->client_rect.top = client_pos.y - window_rect.top; in stw_framebuffer_get_size()178 window_rect.left, window_rect.top, in stw_framebuffer_get_size()179 window_rect.right, window_rect.bottom); in stw_framebuffer_get_size()