
技术文章_VC
文章平均质量分 57
Tisan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
图像文件相关操作
1,显示一张位图:int CThreadPoolDlg::ShowFace(int xPos, int yPos, CString FilePath){ // TODO: Add your control notification handler code here CClientDC *pDC = new CClientDC(this); CBitmap Bitmap; HBITMAP hBit原创 2005-09-23 10:40:00 · 1640 阅读 · 0 评论 -
使用点,刷子,笔进行绘图
2.3 使用点,刷子,笔进行绘图在Windows中画点的方法很简单,只需要调用COLORREF CDC::SetPixel( int x, int y, COLORREF crColor )就可以在指定点画上指定颜色,同时返回原来的颜色。COLORREF CDC::GetPixel( int x, int y)可以得到指定点的颜色。在Windows中应该少使用画点的函数,因为这样做的执行效率比较低原创 2005-09-26 14:17:00 · 1776 阅读 · 0 评论