Lines Matching refs:screen
51 // These functions scale between screen and page coordinates because JavaScript/DOM operations
52 // assume that the screen and the page share the same coordinate system.
68 NSScreen *screen = [window screen]; // nil if the window is off-screen
69 if (screen)
70 return screen;
74 return [screens objectAtIndex:0]; // screen containing the menubar
97 NSPoint flipScreenPoint(const NSPoint& screenPoint, NSScreen *screen)
100 flippedPoint.y = NSMaxY([screen frame]) - flippedPoint.y;