文件名称:ImageZoomClass

  • 所属分类:
  • Windows编程
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2016-06-26
  • 文件大小:
  • 2.15mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 于**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

最近刚学GDI+,就想找个应用练练手,于是基于GDI+封装了此类,接口已经独立出来,使用十分方便,在MFC上直接使用(在VS2010 x64上编译,32位也可以),类的特定如下:

1.基于GDI+封装的类,文档和对话框可直接使用;

2.类初始化时可选择图片是否充满控件,充满的话,图片会适应控件的宽度进行缩放,但会保存原有的长宽比不变;

3.变换前后的坐标关系已经封装好,可直接调用;

4.缩放前后采样最临近点差值(windows图片查看器和PS都是采样这种差值方式,可能是因为效率比较高),具体差值方式可更改,参考一下GDI+就可以,如果想对图像像素进行操作,可使用GDI+的Bitmap类,可对图像像素点进行操作-Recently learning GDI+, want to find a application practice, so based on GDI+ package such interface has been independent, and the use is very convenient, in the MFC used directly (in VS2010 x64 compiler, 32 bits), specific classes are as follows:

1 class based on the GDI+ package, the document and dialog box can be used directly

2 class initialization can choose whether the picture is full of controls, full of words, the picture will adapt to the control of the width of the zoom, but will preserve the original length and width ratio unchanged

3 coordinates of the transformation before and after the relationship has been packaged, can be called directly

. scaling before and after sampling the approaching spreads values (Windows picture viewer and PS are the difference between sampling, probably because the efficiency is high. In detail, the difference can be changed, refer to the GDI+ can be, if you want to operate on the image pixels, using GDI bitmap class, can operate on the
(系统自动生成,下载前可以参看下载内容)

下载文件列表





ImageZoomClass\DEMO\Debug\TEST_GDI+_DLG.exe

..............\....\.....\TEST_GDI+_DLG.ilk

..............\....\.....\TEST_GDI+_DLG.pdb

..............\....\TEST_GDI+_DLG\ImageZoom\ImageZoom.cpp

..............\....\.............\.........\ImageZoom.h

..............\....\.............\ReadMe.txt

..............\....\.............\res\TEST_GDI+_DLG.ico

..............\....\.............\...\TEST_GDI_DLG.rc2

..............\....\.............\resource.h

..............\....\.............\stdafx.cpp

..............\....\.............\stdafx.h

..............\....\.............\targetver.h

..............\....\.............\TEST_GDI+_DLG.APS

..............\....\.............\TEST_GDI+_DLG.cpp

..............\....\.............\TEST_GDI+_DLG.h

..............\....\.............\TEST_GDI+_DLG.rc

..............\....\.............\TEST_GDI+_DLG.vcxproj

..............\....\.............\TEST_GDI+_DLG.vcxproj.filters

..............\....\.............\TEST_GDI+_DLG.vcxproj.user

..............\....\.............\TEST_GDI+_DLGDlg.cpp

..............\....\.............\TEST_GDI+_DLGDlg.h

..............\....\.............\test_image\girl.jpg

..............\....\.............\..........\girl_0.jpg

..............\....\.............\..........\天使.jpg

..............\....\.............\x64\Debug\TEST_GDI+_DLG.Build.CppClean.log

..............\....\.............\...\.....\TEST_GDI+_DLG.log

..............\....\TEST_GDI+_DLG.sln

..............\....\TEST_GDI+_DLG.suo

..............\ImageZoom\ImageZoom.cpp

..............\.........\ImageZoom.h

..............\DEMO\TEST_GDI+_DLG\x64\Debug

..............\....\ipch\test_gdi+_dlg-785673c2

..............\....\TEST_GDI+_DLG\ImageZoom

..............\....\.............\res

..............\....\.............\test_image

..............\....\.............\x64

..............\....\x64\Debug

..............\....\Debug

..............\....\ipch

..............\....\TEST_GDI+_DLG

..............\....\x64

..............\DEMO

..............\ImageZoom

ImageZoomClass

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org