Description: In the Microsoft base class library MFC, the CDC class is the base class that defines the device context object, and all the drawing functions are defined in the CDC base class. When you need to output text or graphics, you need to call the CDC class member functions, these member functions with output text, drawing graphics function.
The routines explained in this section are all in the TestView.cpp file
Implementation of void CTestView:: OnDraw (CDC* pDC) function.
To Search:
File list (Check if you may need any files):
CDC类\CClientDC\MainFrm.cpp
CDC类\CClientDC\MainFrm.h
CDC类\CClientDC\ReadMe.txt
CDC类\CClientDC\res\about.bmp
CDC类\CClientDC\res\app.ico
CDC类\CClientDC\res\draw.ico
CDC类\CClientDC\res\exit.ico
CDC类\CClientDC\res\Help.ico
CDC类\CClientDC\res\Test.ico
CDC类\CClientDC\res\Test.rc2
CDC类\CClientDC\res\TestDoc.ico
CDC类\CClientDC\res\Thumbs.db
CDC类\CClientDC\res\Toolbar.bmp
CDC类\CClientDC\resource.h
CDC类\CClientDC\StdAfx.cpp
CDC类\CClientDC\StdAfx.h
CDC类\CClientDC\Test.aps
CDC类\CClientDC\Test.clw
CDC类\CClientDC\Test.cpp
CDC类\CClientDC\Test.dsp
CDC类\CClientDC\Test.dsw
CDC类\CClientDC\Test.h
CDC类\CClientDC\Test.ncb
CDC类\CClientDC\Test.opt
CDC类\CClientDC\Test.rc
CDC类\CClientDC\TestDoc.cpp
CDC类\CClientDC\TestDoc.h
CDC类\CClientDC\TestView.cpp
CDC类\CClientDC\TestView.h
CDC类\CMetaFileDC\BD18231.wmf
CDC类\CMetaFileDC\MainFrm.cpp
CDC类\CMetaFileDC\MainFrm.h
CDC类\CMetaFileDC\ReadMe.txt
CDC类\CMetaFileDC\res\about.bmp
CDC类\CMetaFileDC\res\app.ico
CDC类\CMetaFileDC\res\Aquarium.ico
CDC类\CMetaFileDC\res\draw.ico
CDC类\CMetaFileDC\res\exit.ico
CDC类\CMetaFileDC\res\Help.ico
CDC类\CMetaFileDC\res\Test.ico
CDC类\CMetaFileDC\res\Test.rc2
CDC类\CMetaFileDC\res\TestDoc.ico
CDC类\CMetaFileDC\res\Thumbs.db
CDC类\CMetaFileDC\res\Toolbar.bmp
CDC类\CMetaFileDC\resource.h
CDC类\CMetaFileDC\StdAfx.cpp
CDC类\CMetaFileDC\StdAfx.h
CDC类\CMetaFileDC\Test.aps
CDC类\CMetaFileDC\Test.clw
CDC类\CMetaFileDC\Test.cpp
CDC类\CMetaFileDC\Test.dsp
CDC类\CMetaFileDC\Test.dsw
CDC类\CMetaFileDC\Test.h
CDC类\CMetaFileDC\Test.ncb
CDC类\CMetaFileDC\Test.opt
CDC类\CMetaFileDC\Test.plg
CDC类\CMetaFileDC\Test.rc
CDC类\CMetaFileDC\TestDoc.cpp
CDC类\CMetaFileDC\TestDoc.h
CDC类\CMetaFileDC\TestView.cpp
CDC类\CMetaFileDC\TestView.h
CDC类\CPaintDC\MainFrm.cpp
CDC类\CPaintDC\MainFrm.h
CDC类\CPaintDC\ReadMe.txt
CDC类\CPaintDC\res\about.bmp
CDC类\CPaintDC\res\app.ico
CDC类\CPaintDC\res\draw.ico
CDC类\CPaintDC\res\exit.ico
CDC类\CPaintDC\res\Help.ico
CDC类\CPaintDC\res\Test.ico
CDC类\CPaintDC\res\Test.rc2
CDC类\CPaintDC\res\TestDoc.ico
CDC类\CPaintDC\res\Thumbs.db
CDC类\CPaintDC\res\Toolbar.bmp
CDC类\CPaintDC\resource.h
CDC类\CPaintDC\StdAfx.cpp
CDC类\CPaintDC\StdAfx.h
CDC类\CPaintDC\Test.aps
CDC类\CPaintDC\Test.clw
CDC类\CPaintDC\Test.cpp
CDC类\CPaintDC\Test.dsp
CDC类\CPaintDC\Test.dsw
CDC类\CPaintDC\Test.h
CDC类\CPaintDC\Test.ncb
CDC类\CPaintDC\Test.opt
CDC类\CPaintDC\Test.rc
CDC类\CPaintDC\TestDoc.cpp
CDC类\CPaintDC\TestDoc.h
CDC类\CPaintDC\TestView.cpp
CDC类\CPaintDC\TestView.h
CDC类\CWindowDC\MainFrm.cpp
CDC类\CWindowDC\MainFrm.h
CDC类\CWindowDC\ReadMe.txt
CDC类\CWindowDC\res\about.bmp
CDC类\CWindowDC\res\app.ico
CDC类\CWindowDC\res\draw.ico
CDC类\CWindowDC\res\exit.ico
CDC类\CWindowDC\res\Help.ico
CDC类\CWindowDC\res\Test.ico
CDC类\CWindowDC\res\Test.rc2