Lines Matching refs:topLeft
261 POINT topLeft; in WndProc() local
262 topLeft.x = winRect.left; in WndProc()
263 topLeft.y = winRect.top; in WndProc()
264 ClientToScreen(hWnd, &topLeft); in WndProc()
268 event.move.x = topLeft.x; in WndProc()
269 event.move.y = topLeft.y; in WndProc()
280 POINT topLeft; in WndProc() local
281 topLeft.x = winRect.left; in WndProc()
282 topLeft.y = winRect.top; in WndProc()
283 ClientToScreen(hWnd, &topLeft); in WndProc()
292 event.size.width = botRight.x - topLeft.x; in WndProc()
293 event.size.height = botRight.y - topLeft.y; in WndProc()
650 POINT topLeft = {0, 0}; in takeScreenshot() local
653 error = (MapWindowPoints(mNativeWindow, HWND_DESKTOP, &topLeft, 1) == 0); in takeScreenshot()
663 error = BitBlt(tmpDC, 0, 0, mWidth, mHeight, screenDC, topLeft.x, topLeft.y, SRCCOPY) == 0; in takeScreenshot()
735 POINT topLeft; in setMousePosition() local
736 topLeft.x = winRect.left; in setMousePosition()
737 topLeft.y = winRect.top; in setMousePosition()
738 ClientToScreen(mNativeWindow, &topLeft); in setMousePosition()
740 SetCursorPos(topLeft.x + x, topLeft.y + y); in setMousePosition()