• qianbw
    了解作者
  • C++
    开发工具
  • 1.8MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 48
    下载次数
  • 2005-09-14 17:22
    上传日期
Bresenham直线生成算法,初始华起点和终点后就可以画出直线了
paint2.rar
  • paint2
  • Debug
  • res
  • paint2.rc2
    398B
  • paint2.ico
    1.1KB
  • paint2Doc.ico
    1.1KB
  • Toolbar.bmp
    1.1KB
  • paint2.opt
    52.5KB
  • paint2.plg
    1.1KB
  • paint2.ncb
    57KB
  • paint2.clw
    2.7KB
  • paint2.h
    1.3KB
  • ChildFrm.cpp
    1.5KB
  • StdAfx.cpp
    208B
  • StdAfx.h
    1KB
  • MainFrm.h
    1.5KB
  • paint2.dsw
    537B
  • paint2Doc.cpp
    1.7KB
  • Resource.h
    494B
  • ReadMe.txt
    4.7KB
  • paint2Doc.h
    1.4KB
  • paint2.cpp
    4.3KB
  • paint2.rc
    11.7KB
  • paint2.dsp
    4.6KB
  • paint2View.cpp
    2.7KB
  • ChildFrm.h
    1.4KB
  • MainFrm.cpp
    2.5KB
  • paint2View.h
    1.8KB
  • www.pudn.com.txt
    218B
内容介绍
======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : paint2 ======================================================================== AppWizard has created this paint2 application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your paint2 application. paint2.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. paint2.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CPaint2App application class. paint2.cpp This is the main application source file that contains the application class CPaint2App. paint2.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. paint2.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to store information needed to create and edit message maps and dialog data maps and to create prototype member functions. res\paint2.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file paint2.rc. res\paint2.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file. ///////////////////////////////////////////////////////////////////////////// For the main frame window: MainFrm.h, MainFrm.cpp These files contain the frame class CMainFrame, which is derived from CMDIFrameWnd and controls all MDI frame features. res\Toolbar.bmp This bitmap file is used to create tiled images for the toolbar. The initial toolbar and status bar are constructed in the CMainFrame class. Edit this toolbar bitmap using the resource editor, and update the IDR_MAINFRAME TOOLBAR array in paint2.rc to add toolbar buttons. ///////////////////////////////////////////////////////////////////////////// For the child frame window: ChildFrm.h, ChildFrm.cpp These files define and implement the CChildFrame class, which supports the child windows in an MDI application. ///////////////////////////////////////////////////////////////////////////// AppWizard creates one document type and one view: paint2Doc.h, paint2Doc.cpp - the document These files contain your CPaint2Doc class. Edit these files to add your special document data and to implement file saving and loading (via CPaint2Doc::Serialize). paint2View.h, paint2View.cpp - the view of the document These files contain your CPaint2View class. CPaint2View objects are used to view CPaint2Doc objects. res\paint2Doc.ico This is an icon file, which is used as the icon for MDI child windows for the CPaint2Doc class. This icon is included by the main resource file paint2.rc. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named paint2.pch and a precompiled types file named StdAfx.obj. Resource.h This is the standard header file, which defines new resource IDs. Microsoft Visual C++ reads and updates this file. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. If your application uses MFC in a shared DLL, and your application is in a language other than the operating system's current language, you will need to copy the corresponding localized resources MFC42XXX.DLL from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. For example, MFC42DEU.DLL contains resources translated to German.) If you don't do this, some of the UI elements of your application will remain in the language of the operating system. /////////////////////////////////////////////////////////////////////////////
评论
    相关推荐