搜索资源列表
jpeg
- vc++ 获得指定像素点的颜色,如演示截图所示,用户可以用鼠标左键单击图片的某一处时,就会在图片的右侧以该点颜色填充一个实心的矩形。实现方法通过函数COLORREF CDC::GetPixel( int x, int y)可以得到指定点的颜色,其参数x、y 是指定点的坐标。-When vc + + to get the color of the specified pixel, as shown in the demo screenshot, users can use the left mou
cscwinspy
- windows下根据鼠标位置获取桌面对话框的矩形区域,有点类似QQ的截图工具,自动识别鼠标位置的对话框大小-Obtaining a rectangular area according to the desktop box under Windows mouse position, somewhat similar QQ screenshot tool, automatic recognition of the size of the dialog mouse position
ScreenSnaper
- 基于Qt4下的截屏软件 使用了QPixmap::grabWindow(QApplication::desktop()->winId())来获得屏幕的图像 并保存在QPixmap的一个对象fullScreenMap里 再将该图像画到一个QWidget上并showFullScreen()以覆盖屏幕 之后的操作都是在这个QWidget上进行 跟QQ截图有点象 完成后点鼠标右键就有ContextMenu弹出 Esc为退出,空格键保存图像(当然也可以右键菜单保存)(Scr