Lines Matching refs:win
279 static Rect reduce(const Rect& win, const Region& exclude) {
281 return win;
284 return win.reduce(exclude.getBounds());
286 return Region(win).subtract(exclude).getBounds();
289 static FloatRect reduce(const FloatRect& win, const Region& exclude) {
291 return win;
294 return Region(Rect{win}).subtract(exclude).getBounds().toFloatRect();
299 Rect win(s.active.w, s.active.h);
302 win.intersect(s.crop, &win);
306 win = t.transform(win);
309 win.intersect(s.finalCrop, &win);
324 bounds.intersect(win, &win);
329 win = reduce(win, screenTransparentRegion);
332 return win;
342 Rect win(s.active.w, s.active.h);
345 win.intersect(s.crop, &win);
348 Rect bounds = win;
358 FloatRect floatWin = win.toFloatRect();
679 Rect win(s.active.w, s.active.h);
681 win.intersect(s.crop, &win);
684 Rect bounds = reduce(win, s.activeTransparentRegion);
826 FloatRect win = computeBounds();
828 vec2 lt = vec2(win.left, win.top);
829 vec2 lb = vec2(win.left, win.bottom);
830 vec2 rb = vec2(win.right, win.bottom);
831 vec2 rt = vec2(win.right, win.top);