搜索资源列表
Ellipse
- 剪裁本建模工具可以实现对于直线、连续直线、多边形区域、圆
ColorDisc
- 使用绘制圆弧的方法,输出一个统计图表“圆饼图”和一个“折扇”。 原始数据在数组Data中,这5个数据在圆饼图中为角度不同的扇形,各自角度的计算值分别为38、91、54、125、53,放在数组drgree中。第一个数据的扇形起始角start=0,用绿色画。第二个的起始角start=38,用蓝色画。最后一个的起始角start=308,用橙色画。 折扇的画法是:在左上角坐标(130,40),长150,宽80的椭圆区域内,从22度开始逆时针地画一个15度的扇性,再画一段15度的椭圆弧;然后交替地画扇形和
CGApplication
- 这是一份采用VC++和OPENGL开发的关于粒子系统的源代码,其功能包括:Bresenham Ellipse, Windmill, 3D clip, Rotate coordinate, Leaves field and stream effect
Win32
- Draw ellipse in rect,once click in ellipse which will changed color.then second click will reback
ellipse
- 模拟椭圆插补,正则椭圆均可画。可用于数控编程开发。
huatu
- 打印出杨辉三角形 学习putpixel画点 画椭圆ellipse 利用ellipse and rectangle 画图 一个最优美的图案
Graphic
- 绘图程序,实现画线,矩形,椭圆,并能实现保存功The cartography procedure, the realization linedraw, the rectangle, the ellipse, and can realize the preserved merit
ellipse
- 画出椭圆。其中用到opengl的画点函数,其余是普通的C++代码
Ellipse
- 1.(椭圆)画一个与客户区等大,并随客户区改变大小的填充椭圆。(最好可以每次随机确定椭圆边框和填充的颜色,其中随机颜色分量的值,可调用[返回int型随机数的C语言]函数rand,再余上256[可得0~255之间的随机数]:rand() % 256) 2.(直线)用鼠标交互绘制动态直线。(参见3.5的2和3)
Least-Squares-Ellipse-Fit
- MATLAB实现的一种基于最小二乘的椭圆拟合直接算法源代码.附件中的源代码是matlab编写的,实现一种对于椭圆的稳定的数据拟合算法。当然必须要提供至少5个点的数据,椭圆x,y轴的中心点,最大轴最小轴
直线、圆弧、椭圆弧生成
- 图形学的一个作业,通过对话框画直线、圆弧、椭圆弧-graphics of an operation, through dialog painting line, arc, ellipse
GeometryDraw
- 画图 2.计算计算一组几何图形的面积之和重新写一个函数,类似于sum函数 3.在Shape中添加一个纯虚函数void Draw(CDC *pDC, Coordinate *m_pCoordinate) 它将作为所有几何类绘图的共同方法。 4.添加一个坐标系类:Coordinate。 5.在Polygon中重载void Draw(CDC *pDC) 6.在Ellipse中重载void draw(CDC *pDC) 7.在View类中的OnDraw(CDC *pDC)中将
painter
- 一个用VC开发的简单画图程序-a VC development of a simple drawing program you can draw line ,Rectangle ,ellipse and so on .meanwhile you can change linestyle linewidth and color,and other functions
ellipseMatrix
- ellipseMatrix === = Function: ellipseMatrix Version: 1.1 Author: Nicolae Cindea Syntaxe _______ ellipseMatrix(y0, x0, a, b, teta, Image, color) Descr iption ___________ Set the elements of the matrix Image which are in the i
Ellipse
- 实现画任意方向的椭圆,可以根据自己的需求设置椭圆的参数,画笔的属性等
ellipse
- 在指定区域内用指定颜色绘制椭圆.其中区域定义为:x,y,w,h
ZhuYouyong
- 直线的DDA,bresenham算法画图 圆的bresenham算法画图 椭圆的bresenham算法画图 均匀B样条曲线算法画图 多边形的Y-X填充算法画图 动态三维立体图形的正透视投影图-linear DDA, bresenham algorithm for drawing a round of bresenham algorithm to draw the ellipse drawing algorithm bresenham uniform B-spline curves polygon
基本画线实现算法
- 新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形;添加一个Tbutton组件colorBtn和一个TcolorDialog组件ColorDialog1;添加一个TImage组件Image1。 3、 将当前项目保存在自己实验文件夹的exp1子文件夹中(以防错误操作而前功尽弃)。 编写colorBtn的OnClick事件,激活ColorDialog1,并获取所选择的颜色: if (Col
Bresenham_Middle_line
- 图形直线中点生成算法,Bresenham画直线,Bresenham画椭圆-This is a arithmetic of Bresenham_Middle_line.It draw line and ellipse acrossed Bresenham.
middle_bresenham_Line0
- 图形画椭圆与圆弧中点算法类似:确定一个象素后,接着在两个候选象素的中点计算一个判别式的值,由判别式的符号确定更近的点-To draw a ellipse,similar to the middle point of arc:after determine a pixel,calculate the value of a judge expression,according to its sign,determine the nearer point.