-
java confusion java confusion java confusion confusion java
java æ··æ·† java æ··æ·† java æ··æ·†-java confusion java confusion java confusion confusion java
- 2022-01-26 00:44:00下载
- 积分:1
-
VC++透明窗口效果的电子标尺源代码
VC++透明窗口效果的电子标尺源代码
屏幕测量类:
CMeasure : public CWnd测量基类
方法:
//创建透明窗口,做公共初始化
CreateMeasure(虚拟)
//以当前鼠标点为基准输出信息
virtual void CMeasure::ExportInfo(CString str, CDC *pDC, CPoint point)
//消息处理函数
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//按下左键时绘图,空
virtual void DrawLButtonDown(UINT nFlags, CPoint point);
//移动鼠标时绘图,绘制十字定位线
virtual void DrawMouseMove(UINT nFlags, CPoint point);
属性:
CDC m_dcMem;保存临时背景供恢复用
CWnd* m_pWndParent;父窗口指针
int m_nScreenWidth;屏幕参数
int m_nScreenHeight;
CPen m_Pen;用于绘图的笔
COLORREF m_colorFont; 用于记录绘图时的元素颜色
COLORREF m_colorTag;
COLORREF m_colorLine;
CMeasureLine : public CMeasure测量两点直线的类
方法:
CreateMeasure(虚拟)
virtual void DrawLButtonDown(UINT nFlags, CPoint point);
virtual void DrawMouseMove(UINT nFlags, CPoint point);
属性:
BOOL m_bSecond;是否是已点击一次
- 2022-03-01 01:45:04下载
- 积分:1
-
12分
十二音阶和八度分频的硬件描述语言VHDL程序,测试通过成功-12 sub-octave scale and frequency of the hardware description language VHDL procedures, test the success of
- 2022-11-21 05:15:03下载
- 积分:1
-
LED digital tube display arbitrary hexadecimal digits, and realize the use of in...
LED数码管上显示任意十六进制数字,并且利用中断直接实现扫描-LED digital tube display arbitrary hexadecimal digits, and realize the use of interrupted direct scanning
- 2023-02-22 10:30:03下载
- 积分:1
-
本文件为VB公共模块,最常用的字母API FAC…
此文档为VB公共模块,封了多数常用的API,方便VB开发人员调用。包括注册表操作、磁盘、网络、窗体、文件等操作的API。模块内有简单使用说明。-this document for public VB module, the most commonly used letters of API to facilitate VB developers call. Including the registry operation, disk, network, forms, documents, etc API. A simple module for use.
- 2022-07-24 09:16:59下载
- 积分:1
-
系统健步如飞
系统健步如飞 -System Jianbu Ru-fei
- 2022-03-09 21:50:44下载
- 积分:1
-
一个时间控制的数字动画,看看你是否感兴趣
一个时间控制的数字动画,看看你是否感兴趣-a time control of digital animation, try to see whether you interested
- 2022-09-20 03:45:03下载
- 积分:1
-
图像的二值化处理
实现二值化,当像素值(r+g+b)/3>128时设为255,当像素值小于128时设置为0.做归一化处理后,2值化的颜色 1为白,0为黑。边缘部分,计算有误差,255,254,253,252 就算白,0,1,2,3,4就算黑。屏幕显示时,肉眼是分辨不出这点误差的。你可以对2值化后的图像值作归一化处理,得到1和0,然后再放大(乘255),就可得到满意的数值。至于左边界上 1 254 253, 0 255 255,可能是2值化前,颜色原本就有差别。不是2值化的错误。
- 2022-09-03 03:00:05下载
- 积分:1
-
新编剑桥商务英语(BEC)(中级)学生用书之听力
新编剑桥商务英语(BEC)(中级)学生用书之听力-New Business English (BEC) (Intermediate) Student Book of Listening
- 2022-02-25 13:11:39下载
- 积分:1
-
很有用的一些技巧
很有用的一些技巧-some very useful skills
- 2022-02-06 04:09:42下载
- 积分:1