文件名称:ptclr
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
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 mouse button click on the picture of a place, the picture will be on the right side to the point of a solid color fill rectangle. Implementation through the function COLORREF CDC :: GetPixel (int x, int y) can be color specified point, the parameters x, y coordinates of the specified point.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
vc++ 获得指定点颜色\PtClr\PtClr.aps
...................\.....\PtClr.clw
...................\.....\PtClr.cpp
...................\.....\PtClr.dsp
...................\.....\PtClr.dsw
...................\.....\PtClr.h
...................\.....\PtClr.rc
...................\.....\PtClrDlg.cpp
...................\.....\PtClrDlg.h
...................\.....\ReadMe.txt
...................\.....\res\fem12L.bmp
...................\.....\...\PtClr.ico
...................\.....\...\PtClr.rc2
...................\.....\resource.h
...................\.....\StdAfx.cpp
...................\.....\StdAfx.h
...................\.....\res
...................\PtClr
vc++ 获得指定点颜色