📄 translate.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: Translating Screen Coordinates</TITLE></HEAD><BODY><H1 ALIGN=center>4.2 Translating Screen Coordinates</H1>Applications sometimesneed to perform a coordinate transformation from the coordinatespace of one window to another window or need to determine whichwindow the pointing device is in.<B><A HREF="XTranslateCoordinates.html">XTranslateCoordinates()</A></B>and<B><A HREF="XQueryPointer.html">XQueryPointer()</A></B>fulfill these needs (and avoid any race conditions) byasking the X server to perform these operations.<P>To obtain the screen coordinates of the pointeror to determine the pointer coordinates relative to a specified window, use <B><A HREF="XQueryPointer.html">XQueryPointer()</A></B>.<H5 ALIGN=right><I>Next: <A HREF="properties-and-atoms.html">Properties and Atoms</A></I></H5><HR><ADDRESS><A HREF="http://tronche.com/">Christophe Tronche</A>, <A HREF="mailto:ch.tronche@computer.org">ch.tronche@computer.org</A></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -