Location:
Search - canvas 6.
Search list
Description: Borland C++ Builder 6.0开发的画图板程序,又一个寓教于乐的东东~
Platform: |
Size: 797202 |
Author: daniel |
Hits:
Description: 如何使用图形对象(如Form,Image等)的画布(Canvas)在C++Builder应用程序中绘制图形-how to use the graphics objects (such as Form, Image, etc.) canvas (Canvas) in the C Builder applications drawing graphics
Platform: |
Size: 17408 |
Author: 齐晶 |
Hits:
Description: 在窗体上用画布绘图 这是一个学习界面编程的小程序,简单易用。-forms on the canvas with graphics This is a study of small programming interface procedures, simple to use.
Platform: |
Size: 3072 |
Author: 赵工 |
Hits:
Description: 新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形;添加一个Tbutton组件colorBtn和一个TcolorDialog组件ColorDialog1;添加一个TImage组件Image1。 3、 将当前项目保存在自己实验文件夹的exp1子文件夹中(以防错误操作而前功尽弃)。 编写colorBtn的OnClick事件,激活ColorDialog1,并获取所选择的颜色: if (ColorDialog1->Execute()) Image1->Canvas->Pen->Color = ColorDialog1->Color 5、 编写Image1的OnImage1MouseUp事件,要求实现: 1) 若是第奇数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第一个端点或圆心坐标; 2) 若是第偶数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第二个端点并利用TCanvas的MoveTo()和LineTo()方法画出直线段,或计算出圆的外接矩形后调用TCanvas的Ellipse()方法画圆。-C Builder a new project set the font to Form1 "wherein V" in Form1 add a TRadioGroup components rgDrawWhat options for what painting graphics; Add a Tbutton colorBtn components and a TcolorDialog ColorDialog1 components; Add a TImage component Image1. 3, the current project will be kept in their laboratories folders exp1 Documents folder (to prevent erroneous operation and wasted). Preparation colorBtn the OnClick, ColorDialog1 activated, and access to the choice of colors : if (ColorDialog1- gt; Execute ()) Image1- gt; Canvas- gt; Pen-gt; Color = ColorDialog1- gt; Color 5, the preparation of OnImage1MouseUp Image1, call for : a) If the first odd number of pop-up mouse button, then choose rgDrawWhat the record straight section or an endpoint Center coordinates; 2) If the firs
Platform: |
Size: 583680 |
Author: 朱磊 |
Hits:
Description: 以一个简单的小游戏为例子,比较全面的介绍了MIDP图形编程方法。
包括以Screen为基础的高层界面和以Canvas为基础的底层界面开发都有涉及。-a simple little game, for example, a more comprehensive introduction to the MIDP graphics programming method. Screen including senior-based interface and Canvas based on the bottom interface development are involved.
Platform: |
Size: 350208 |
Author: 王敏 |
Hits:
Description: 对Image画布上的图片进行边缘搜索,例如画布上有“123”的文字,可对文字进行挖空形成轮廓字,当然,最后数据编码可由你自己定了;-right on the edge Photo Search, such as canvas "123" language, be right words for the hollowing out the word outline form, of course, the final data coding can be determined by your own;
Platform: |
Size: 228352 |
Author: ligao111 |
Hits:
Description: 本程序示范在C++ Builder下如何在画布上以指定的大小绘制字符串。程序里调用函数GetGlyphOutline可以得到一个字的轮廓矢量或者位图并在画布上绘制。 -This procedure model in C Builder under the canvas on how to specify the size of drawing the string. Program GetGlyphOutline call function can be one word or the contours of the vector and bitmap drawing canvas.
Platform: |
Size: 205824 |
Author: 高文 |
Hits:
Description: 图形图像处理接口代码,显示画布功能,对设计图形图像处理具有参考意义-Graphic image processing interface code indicating canvas features, design graphics image processing with a reference value
Platform: |
Size: 10240 |
Author: jiang heng |
Hits:
Description:
Platform: |
Size: 82944 |
Author: jinyao |
Hits:
Description: QT下一个使用Qcanvas绘制点,线,多边形的绘图程序-QT next Qcanvas rendering the use of point, line, polygon drawing program
Platform: |
Size: 109568 |
Author: graysun |
Hits:
Description: Borland C++ Builder 6.0开发的画图板程序,又一个寓教于乐的东东~-Borland C++ Builder 6.0 to develop the drawing board procedures, but also a recreation of the NEE ~
Platform: |
Size: 796672 |
Author: daniel |
Hits:
Description: 某智能手机开发公司imageeditor的开发源码,是利用qt进行图像编辑值得借鉴的好代码!-Development of a smart cell phone imageeditor source development is the use of qt for image editing is worth learning from the good code!
Platform: |
Size: 776192 |
Author: rambo |
Hits:
Description: J2ME的MIDP低级界面编程,入门级参考,word版,canvas开发参考-J2ME programming interface of the MIDP low-level, entry-level reference, word version, canvas to develop a reference
Platform: |
Size: 17408 |
Author: lb |
Hits:
Description: BCB下用Canvas画直线、圆,椭圆,不规则多边形-Canvas painting BCB using a straight line, round, oval, irregular polygon, etc.
Platform: |
Size: 405504 |
Author: nike |
Hits:
Description: 用c#开发的绘图程序,功能比较强大。可以直接在画布上绘制图形。-Developed using c# drawing program, the more powerful features. You can draw directly on the canvas graphics.
Platform: |
Size: 3072 |
Author: 刘成军 |
Hits:
Description: Immunity canvas 6.23-Immunity canvas 6.23
Platform: |
Size: 4421632 |
Author: villy |
Hits:
Description: Applet容器、Canvas画布和BorderLayout布局-Applet container, Canvas canvas, and BorderLayout Layout
Platform: |
Size: 240640 |
Author: 无涯 |
Hits:
Description: android 位图的显示 及调用 主要讲View、Canvas、bitmap几个类-android bitmap display and call the main say View, Canvas, bitmap several classes
Platform: |
Size: 53248 |
Author: Tony |
Hits:
Description: BitMap、View以及Canvas是我们Ophone程序中常用到的类。本日以feisky的学习笔记呈现,通过实例讲解View&Canvas等等。
1. 从资源中获取位图
可以使用BitmapDrawable或者BitmapFactory来获取资源中的位图。
当然,首先需要获取资源:
Resources res=getResources()
使用BitmapDrawable获取位图
使用BitmapDrawable (InputStream is)构造一个BitmapDrawable;
使用BitmapDrawable类的getBitmap()获取得到位图;
// 读取InputStream并得到位图
InputStream is=res.openRawResource(R.drawable.pic180)
BitmapDrawable bmpDraw=new BitmapDrawable(is)
Bitmap bmp=bmpDraw.getBitmap()
或者采用下面的方式:
-BitMap, View and Canvas is we use class often Ophone program. This day to feisky study notes appear, through the examples explain View&Canvas and so on.
1. Get a bitmap from resources
Can use BitmapDrawable or BitmapFactory to obtain resources of the bitmap.
Of course, we first need to obtain resources:
Resources res = getResources ()
Use BitmapDrawable get a bitmap
Use BitmapDrawable (InputStream is constructing a BitmapDrawable
Use BitmapDrawable kind getBitmap () get get a bitmap
//read InputStream and get a bitmap
InputStream is = res. OpenRawResource (R.d rawable. Pic180)
BitmapDrawable bmpDraw = new BitmapDrawable (is)
Bitmap BMP = bmpDraw. GetBitmap ()
Or use the following ways:
Platform: |
Size: 54272 |
Author: netwalk |
Hits:
Description: HTMl5结婚微信电子请柬模板源码基于最新版Animate CC设计,采用HTML5 Canvas+ASP制作。
请柬能够有效识别pc和移动设备,在页面中添加自动适应代码,请柬中采用幻灯片轮播方式,包含片头和结尾,带有音乐控制开关。用户可以通过分享等方式将请柬发送到朋友圈或者好友。(HTMl5 wedding WeChat electronic invitation template source code is based on the latest version of Animate CC design, produced by HTML5 Canvas+ASP.
The invitations can effectively identify PC and mobile devices, add automatic adaptation code to the page, use slide mode in the invitation, include a header and end, with a music control switch. Users can send invitations to friends circle or friends through sharing.)
Platform: |
Size: 15206400 |
Author: 4wyherd |
Hits: