Location:
Search - draw shape
Search list
Description: 练习绘制各种图形的源码-practice to draw various graphics FOSS
Platform: |
Size: 5925 |
Author: lizhihao |
Hits:
Description: 练习绘制各种图形的源码-practice to draw various graphics FOSS
Platform: |
Size: 6144 |
Author: lizhihao |
Hits:
Description: 3. 设计一个接口Shape,接口中包含方法:Draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。Draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的Draw方法只需输出下面文本即可: “直线的起点是(x1,y1,),终点是(x2,y2)”-3. A Shape interface design, interfaces include : Draw and Resize. Some specific type definition, such as : Point, Line, Circle, Rectangle, each category are achieving Shape interface. Draw method of drawing, graphics Resize changed size. Using Java to achieve these interfaces and class, and use tests such testing. Note : no real drawing, such as the Draw Line method, only the following text can be output : "line is the starting point (x1, y1), and the ultimate goal is to (x2, y2)"
Platform: |
Size: 1024 |
Author: |
Hits:
Description: 本程序实现了利用OpenGL来绘制三维场景,场景可以进行远、近距离的查看,可以切换目标形状等。-realized by the use of OpenGL to draw 3D scene, the scene can be far, close to the Show, can switch targets shape.
Platform: |
Size: 233472 |
Author: hxr |
Hits:
Description: 创建一些形状类,用来保存每个形状的信息,如果有一个Graphics对象,就允许这些类对象“聪明地”自己画自己。-Create some type of shape to preserve the shape of each of the information, if there is a Graphics object, we allow these types of objects,
Platform: |
Size: 2048 |
Author: 79799779 |
Hits:
Description: 在vc对话框中任意画线,略微进行修改以后还可以画任何形状-Dialog box in vc arbitrarily drawing a line, after a slight modification can also be painted any shape
Platform: |
Size: 44032 |
Author: 张萌 |
Hits:
Description: VBA + ArcObjects 读取EXCEL文件数据(矩形一顶点坐标+长宽),在Polygon图层上画矩形-VBA+ ArcObjects read EXCEL file data (rectangular coordinates of one vertex+ Length and width), in the Polygon draw rectangular layers
Platform: |
Size: 57344 |
Author: shaoxiaodong |
Hits:
Description: 画图
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)中将图形画出来
8.调用void draw(CDC *pDC, Shape *a[], int n)实现多个几何图形的绘制-Paint 2. Calculation of calculating a set of geometric shapes of the area and re-write a function, similar to sum function 3. In Shape Add a pure virtual function void Draw (CDC* pDC, Coordinate* m_pCoordinate) it will serve as all the geometric types of graphics common methodology. 4. Add a coordinate system type: Coordinate. 5. Polygon in overloaded void Draw (CDC* pDC) 6. In the Ellipse in overloaded void draw (CDC* pDC) 7. In the View class OnDraw (CDC* pDC) will be drawn graphics 8. Call void draw (CDC* pDC, Shape* a [], int n) the mapping of multiple geometric shapes
Platform: |
Size: 104448 |
Author: 张平 |
Hits:
Description: 图形基本形状单元绘制程序,
值得参考,运行通过,做了一些优化.-Basic shape of unit graphics drawing program, it is also useful, run through, to do some optimization.
Platform: |
Size: 413696 |
Author: dwang |
Hits:
Description: 用matlab绘制bezier曲线,逼近一个n形状。-Matlab draw with Bezier curve, approaching a n shape.
Platform: |
Size: 2048 |
Author: happynoom |
Hits:
Description: 用matlab编程绘制矩形窗函数的幅频特性,窗函数形状的长度为10,20,50,100.-Programming using matlab draw rectangle window function of the amplitude-frequency characteristics, the shape of window function of length of 10,20,50,100.
Platform: |
Size: 2048 |
Author: hithit |
Hits:
Description:
简单画图板程序
实现windows画图板的部分简单功能
基本功能:
(1)绘制直线、曲线;
(2)绘制各种形状,比如矩形、椭圆形
(3)绘制各种实心形状,比如实心矩形、实心椭圆等
(4)添加文字
(5)设置不同的绘制颜色
(6)显示磁盘上已有的图片文件
(7)具备“橡皮擦”的功能,进行擦除
(8)填充功能
(9)画刷功能
(10)设置图形边框线宽
(11)不同功能实现鼠标的形状的变化
(12)工具栏图标选中与否的变化
(13)添加打开程序的欢迎界面-Simple procedures for drawing board drawing board windows realize some simple function of the basic functions: (1) Draw a straight line, curve (2) Draw the various shapes, such as rectangular, oval-shaped (3) rendering a variety of solid shapes, such as a solid rectangle, solid elliptical, etc. (4) add language (5) set up different color rendering (6) shows that there is a disk image file (7) have the " eraser" function, to erase (8) filled function (9) paint brush function (10) set the graphics frame linewidth (11) different functions realize the changes in the shape of mouse (12) toolbar icon to select whether or not changes in (13) to open the procedure to add interface welcome
Platform: |
Size: 4439040 |
Author: 李刚 |
Hits:
Description: A simple program that shows how to draw a spinning cube using an optimized OpenGL stack.code. Everything is customizable, including color, shape, camera, etc...
A good start point for complex OpenGL coding.
Platform: |
Size: 11264 |
Author: Epsylon |
Hits:
Description: 三点画圆的程序,展示VB中Line和Shape控件的使用例子,随意点击窗体三下可以画出一个圆,右键菜单可以显示/隐藏线条等-Draw Circle By Three Point Program, the example shows the useage of Line and Shape controls in VB , click the Form 3 times may be arbitrarily draw a circle, right-click menu can show/hide the lines, etc.
Platform: |
Size: 2048 |
Author: 阿龙 |
Hits:
Description: This book covers a lot of ground. It presents the essentials of several complex fields — computer graphics, signal processing, typesetting, and color handling — in a compact form. I concentrate on what you need to know to use the features in the 2D API. Although you ll get a good conceptual background in computer graphics, this is a very practical book: it includes a working example for almost every concept.
Java 2D was designed so that simple operations are simple and complex operations are feasible. This book is designed the same way. I explain the simple way to do things first, then follow up with the full details. For example, two chapters are devoted to drawing text with the 2D API. The first chapter explains how to draw strings and perform other mainstream operations. If you really need fine control over each letter shape, however, you can go ahead and read the second chapter.
Platform: |
Size: 2471936 |
Author: Salah |
Hits:
Description: 单文档应用程序,可以拖动鼠标画多个圆和矩形,并能把坐标存储起来。-Single-document application, you can drag the mouse to draw multiple circles and rectangles, and can coordinate stored.
Platform: |
Size: 3858432 |
Author: 丁丁 |
Hits:
Description: 拖动鼠标绘制任意图形图,并且图形颜色为为红色-Draw shape by mouse
Platform: |
Size: 4096 |
Author: 石川 |
Hits:
Description: 写一个画图小程序MiniDraw,要求画直线(Line),椭圆(Ellipse),矩形(Rectangle),多边形(Polygon)等图形元素(图元)。
每种图元需用一个类(对象)来封装,如CLine, CEllipse, CRect, CPolygon;
各种图元可从一个父类CShape来继承;
每种图元的绘制不一样,但是绘制接口在父类中是一样,因此可学习和使用类的多态性。
-Write a drawing applet MiniDraw, required drawing a straight line (Line), Oval (Ellipse), rectangular (Rectangle), polygons (Polygon) and other graphic elements (primitives).
Xu Yong of each pixel of a class (object) to encapsulate, as CLine, CEllipse, CRect, CPolygon
A variety of primitives from a parent class CShape to succeed
Each pixel of the drawing is not the same, but draw the interface in the parent class is the same, so you can learn and use class polymorphism.
Platform: |
Size: 2050048 |
Author: 陈婉 |
Hits:
Description: VC做的利用多个线程绘制图形,可以选择线程数目,和所绘制图形的形状-VC do draw graphics using multiple threads, you can choose the number of threads, and the shape of the graphic rendering
Platform: |
Size: 2558976 |
Author: 徐帅 |
Hits:
Description: 本文利用MFC类库,利用设计模式的思想实现了画图工具。可以画直线、圆、椭圆、矩形、填充等-this system can draw shape by Design Patterns methods.
Platform: |
Size: 77824 |
Author: yechao |
Hits:
« 12
3
4
5
6
7
8
9
10
...
14
»