南昌大学实验报告
these blocks of generated code!
//}}AFX_MSG_MAP
// Standard printing commands ON_COMMAND(ID_FILE_PRINT, ON_COMMAND(ID_FILE_PRINT_DIRECT, ON_COMMAND(ID_FILE_PRINT_PREVIEW,
学生姓名:涂汉江学号:6100410181专业班级:数字媒体101班
实验类型:□验证□综合■设计□创新 实验日期:2012-12-16
CView::OnFilePrint) CView::OnFilePrint) CView::OnFilePrintPreview) END_MESSAGE_MAP()
///////////////////////////////////////////////////////////////////////////// // CQuxianView construction/destruction
CQuxianView::CQuxianView() { }
CQuxianView::~CQuxianView() { } BOOL
CQuxianView::PreCreateWindow(CREATESTRUCT& cs) { }
///////////////////////////////////////////////////////////////////////////// // CQuxianView drawing
void CQuxianView::OnDraw(CDC* pDC) {
实验4 B样条曲线绘制 1.实验目的
掌握用B样条法进行曲线的绘制
2.实验内容
掌握用B样条法进行曲线的绘制
3.实验环境
1.个人计算机
2.Windows7操作系统 3.VS2010
4.实验步骤
// QuxianView.cpp : implementation of the CQuxianView class //
#include "stdafx.h" #include "Quxian.h"
#include "QuxianDoc.h" #include "QuxianView.h"
#ifdef _DEBUG
#define new DEBUG_NEW #undef THIS_FILE
static char THIS_FILE[] = __FILE__; #endif
///////////////////////////////////////////////////////////////////////////// // CQuxianView
IMPLEMENT_DYNCREATE(CQuxianView, CView)
BEGIN_MESSAGE_MAP(CQuxianView, CView)
//{{AFX_MSG_MAP(CQuxianView)
// NOTE - the ClassWizard will add // DO NOT EDIT what you see in
// TODO: add construction code here
// TODO: Modify the Window class or // the CREATESTRUCT cs
return CView::PreCreateWindow(cs);
styles here by modifying
and remove mapping macros here. CQuxianDoc* pDoc = GetDocument(); ASSERT_VALID(pDoc);