文件名称:ImageZoomClass
-
所属分类:
- 标签属性:
- 上传时间: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
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
ImageZoomClass/DEMO/Debug/TEST_GDI+_DLG.ilk
ImageZoomClass/DEMO/Debug/TEST_GDI+_DLG.pdb
ImageZoomClass/DEMO/TEST_GDI+_DLG/ImageZoom/ImageZoom.cpp
ImageZoomClass/DEMO/TEST_GDI+_DLG/ImageZoom/ImageZoom.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/ReadMe.txt
ImageZoomClass/DEMO/TEST_GDI+_DLG/res/TEST_GDI+_DLG.ico
ImageZoomClass/DEMO/TEST_GDI+_DLG/res/TEST_GDI_DLG.rc2
ImageZoomClass/DEMO/TEST_GDI+_DLG/resource.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/stdafx.cpp
ImageZoomClass/DEMO/TEST_GDI+_DLG/stdafx.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/targetver.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.APS
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.cpp
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.rc
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.vcxproj
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.vcxproj.filters
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.vcxproj.user
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLGDlg.cpp
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLGDlg.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/test_image/girl.jpg
ImageZoomClass/DEMO/TEST_GDI+_DLG/test_image/girl_0.jpg
ImageZoomClass/DEMO/TEST_GDI+_DLG/test_image/天使.jpg
ImageZoomClass/DEMO/TEST_GDI+_DLG/x64/Debug/TEST_GDI+_DLG.Build.CppClean.log
ImageZoomClass/DEMO/TEST_GDI+_DLG/x64/Debug/TEST_GDI+_DLG.log
ImageZoomClass/DEMO/TEST_GDI+_DLG.sln
ImageZoomClass/DEMO/TEST_GDI+_DLG.suo
ImageZoomClass/ImageZoom/ImageZoom.cpp
ImageZoomClass/ImageZoom/ImageZoom.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/x64/Debug
ImageZoomClass/DEMO/ipch/test_gdi+_dlg-785673c2
ImageZoomClass/DEMO/TEST_GDI+_DLG/ImageZoom
ImageZoomClass/DEMO/TEST_GDI+_DLG/res
ImageZoomClass/DEMO/TEST_GDI+_DLG/test_image
ImageZoomClass/DEMO/TEST_GDI+_DLG/x64
ImageZoomClass/DEMO/x64/Debug
ImageZoomClass/DEMO/Debug
ImageZoomClass/DEMO/ipch
ImageZoomClass/DEMO/TEST_GDI+_DLG
ImageZoomClass/DEMO/x64
ImageZoomClass/DEMO
ImageZoomClass/ImageZoom
ImageZoomClass
ImageZoomClass/DEMO/Debug/TEST_GDI+_DLG.ilk
ImageZoomClass/DEMO/Debug/TEST_GDI+_DLG.pdb
ImageZoomClass/DEMO/TEST_GDI+_DLG/ImageZoom/ImageZoom.cpp
ImageZoomClass/DEMO/TEST_GDI+_DLG/ImageZoom/ImageZoom.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/ReadMe.txt
ImageZoomClass/DEMO/TEST_GDI+_DLG/res/TEST_GDI+_DLG.ico
ImageZoomClass/DEMO/TEST_GDI+_DLG/res/TEST_GDI_DLG.rc2
ImageZoomClass/DEMO/TEST_GDI+_DLG/resource.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/stdafx.cpp
ImageZoomClass/DEMO/TEST_GDI+_DLG/stdafx.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/targetver.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.APS
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.cpp
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.rc
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.vcxproj
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.vcxproj.filters
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLG.vcxproj.user
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLGDlg.cpp
ImageZoomClass/DEMO/TEST_GDI+_DLG/TEST_GDI+_DLGDlg.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/test_image/girl.jpg
ImageZoomClass/DEMO/TEST_GDI+_DLG/test_image/girl_0.jpg
ImageZoomClass/DEMO/TEST_GDI+_DLG/test_image/天使.jpg
ImageZoomClass/DEMO/TEST_GDI+_DLG/x64/Debug/TEST_GDI+_DLG.Build.CppClean.log
ImageZoomClass/DEMO/TEST_GDI+_DLG/x64/Debug/TEST_GDI+_DLG.log
ImageZoomClass/DEMO/TEST_GDI+_DLG.sln
ImageZoomClass/DEMO/TEST_GDI+_DLG.suo
ImageZoomClass/ImageZoom/ImageZoom.cpp
ImageZoomClass/ImageZoom/ImageZoom.h
ImageZoomClass/DEMO/TEST_GDI+_DLG/x64/Debug
ImageZoomClass/DEMO/ipch/test_gdi+_dlg-785673c2
ImageZoomClass/DEMO/TEST_GDI+_DLG/ImageZoom
ImageZoomClass/DEMO/TEST_GDI+_DLG/res
ImageZoomClass/DEMO/TEST_GDI+_DLG/test_image
ImageZoomClass/DEMO/TEST_GDI+_DLG/x64
ImageZoomClass/DEMO/x64/Debug
ImageZoomClass/DEMO/Debug
ImageZoomClass/DEMO/ipch
ImageZoomClass/DEMO/TEST_GDI+_DLG
ImageZoomClass/DEMO/x64
ImageZoomClass/DEMO
ImageZoomClass/ImageZoom
ImageZoomClass
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.