Lines Matching defs:pos
470 POINT pos;
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;
503 pos.x = pos.x * desktophorzres / horzres;
504 pos.y = pos.y * desktopvertres / vertres;
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;
515 av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n",
516 ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y);
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) {
520 if (!DrawIcon(gdigrab->dest_hdc, pos.x, pos.y, icon))