资料简介:
运行环境turboc2.0 如果有疑问请发邮件到xuyuanfei@coolgoose.com
本程序完成了橡皮筋直线,橡皮筋圆,橡皮筋矩形框,多边形裁剪和3阶B曲线的作图,且有比较友好的界面
#ifndef __GRAPHICS_C__
#define __GRAPHICS_C__
#endif
#define _MOUSE
#define CIRCLE 1
#define LINE 2
#define RECTANGLE 3
#include "stdio.h"
#include "string.h"
#include"graphics.h"
#include"math.h"
int flag,num;
int x,y,oldx,oldy,px,py;
int a[4],b[4];
char string[120];
char zuobiao[20];
#include ﹤dos.h﹥
union REGS inreg,outreg;
struct SREGS sr;
void _mytreat(int,int,int,int);
void _write(char*);
void mycross(int x,int y)
资料文件预览:
共1文件夹,1个文件,文件总大小:31.00KB,压缩后大小:7.19KB
计算机图形学课程设计.doc [31.00KB]