• 大小: 2.56MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-09
  • 语言: C/C++
  • 标签: MFC  缩放图片  

资源简介

项目工程为vs2013 实现了图片双缓冲加载并进行滚轮缩放功能

资源截图

代码片段和文件信息

#include “stdafx.h“
#include “InitGdiPlus.h“


CInitGdiPlus::CInitGdiPlus()
{
GdiplusStartup(&m_GdiplusToken &gdiplusStartupInput NULL);
}


CInitGdiPlus::~CInitGdiPlus()
{
GdiplusShutdown(m_GdiplusToken);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-03-20 16:43  zoomPicture\
     目录           0  2019-03-22 14:32  zoomPicture\zoomPicture\
     文件         979  2019-03-20 16:43  zoomPicture\zoomPicture.sln
     文件       27136  2019-03-22 14:33  zoomPicture\zoomPicture.v12.suo
     文件     2542891  2019-03-20 17:39  zoomPicture\zoomPicture\bg.png
     文件         224  2019-03-20 17:00  zoomPicture\zoomPicture\InitGdiPlus.cpp
     文件         256  2019-03-20 16:54  zoomPicture\zoomPicture\InitGdiPlus.h
     文件        4112  2019-03-20 16:43  zoomPicture\zoomPicture\ReadMe.txt
     目录           0  2019-03-20 16:43  zoomPicture\zoomPicture\res\
     文件         521  2019-03-20 16:43  zoomPicture\zoomPicture\Resource.h
     文件       67777  2013-07-22 01:18  zoomPicture\zoomPicture\res\zoomPicture.ico
     文件         678  2019-03-20 16:43  zoomPicture\zoomPicture\res\zoomPicture.rc2
     文件         144  2019-03-20 16:43  zoomPicture\zoomPicture\stdafx.cpp
     文件        1578  2019-03-20 16:43  zoomPicture\zoomPicture\stdafx.h
     文件         234  2019-03-20 16:43  zoomPicture\zoomPicture\targetver.h
     文件      108844  2019-03-20 16:53  zoomPicture\zoomPicture\zoomPicture.aps
     文件        2439  2019-03-20 16:43  zoomPicture\zoomPicture\zoomPicture.cpp
     文件         525  2019-03-20 17:02  zoomPicture\zoomPicture\zoomPicture.h
     文件       10456  2019-03-20 16:53  zoomPicture\zoomPicture\zoomPicture.rc
     文件        6263  2019-03-20 17:07  zoomPicture\zoomPicture\zoomPicture.vcxproj
     文件        2271  2019-03-20 17:04  zoomPicture\zoomPicture\zoomPicture.vcxproj.filters
     文件        6550  2019-03-22 14:32  zoomPicture\zoomPicture\zoomPictureDlg.cpp
     文件        1280  2019-03-20 17:25  zoomPicture\zoomPicture\zoomPictureDlg.h

评论

共有 条评论