参考运行速度注意事项一节,了解将鼠标坐标转换为网格其背后的思想。
Consult the "Speed considerations" section for the ideas behind transforming mouse coordinates into a grid.
本文介绍二键鼠标通信规程,鼠标坐标到显示坐标的映射关系,及鼠标设备的控制方法。
This paper introduces two key mouse communication protocol, mapping relation between mouse coordinate and display coordinate and the method of controlling mouse drive.
在函数checkEvents中,鼠标坐标强制保存在chunkSize的正方形网格中。
In the checkEvents function, the stored mouse coordinates are forced into a grid of chunkSize by chunkSize squares.
即使存在着不少于六对的鼠标坐标属性,目前还没有一个可靠的跨浏览器方案以得到我们需要的相对于文件的鼠标坐标。
Although there are no less than six mouse coordinates property pairs, there is no reliable cross-browser way to find the mouse coordinates relative to the document we need.
在用这些工具进行绘图时,通过鼠标操作自动设置坐标点和工具类型(比如方框),并通过GUI环境选择画笔和笔画宽度。
In drawing with those tools, the mouse automatically sets the coordinate points and the type of tool, such as a box, and selects the pen and stroke for you via a GUI environment.
当在工作区中移动鼠标指针时,这些线会跟随着它,使您随时可以知道当前位置的精确坐标。
These follow your mouse pointer as you move it around the workplace, letting you know the exact coordinate of your current position at all times.
区别在于使用鼠标来选择并放置控件要比输入它们的名字和坐标更加容易。
The difference is that it is much easier to select widgets and position them with a mouse than it is to type out their names and then type in their coordinates.
接口策略是当鼠标键按下时,在鼠标当前坐标打开“失真门户”。
The interface strategy is to have a "distortion portal" opened at the current mouse coordinates when the mouse button is down.
HTMLdiv元素将用绝对坐标定位在页面上,接近最近保存的鼠标位置,在任何重叠的其他元素上面。
The HTML division element will be positioned on the page with absolute coordinates, starting near the last saved cursor position, above any other layered elements.
放到我们第二个示例程序中的MainLoop调用之前,那么当我们在画布窗口中单击鼠标左键时,画布坐标将显示在屏幕上。
To our second example program just before the call to MainLoop, the program will print out the canvas coordinates to the console whenever we click the left mouse button over the canvas window.
当用户在移动鼠标时则GDI发送更新的视频卡的坐标,并视频卡执行移动在屏幕像素的硬盘工作。
When the user moves the mouse, the GDI sends the video card updated coordinates, and the video card does the hard work of moving the pixels around the screen.
相对于屏幕,鼠标的坐标是多少?
What are the coordinates of the cursor, relative to the screen?
大体意思就是返回坐标系中鼠标的坐标值。
The GetCursorPos function returns a TPoint record containing current mouse cursor position coordinates in pixels.
大体意思就是返回坐标系中鼠标的坐标值。
The GetCursorPos function returns a TPoint record containing current mouse cursor position coordinates in pixels.
应用推荐