图形显示技巧,这是其中一段代码 procedure TForm1.Button1Click(Sender: TObject) var newbmp:TBitmap i,bmpheight,bmpwidth:integer //推拉 begin newbmp:=TBitmap.Create newbmp.Width:=image1.Width newbmp.height:=image1.height bmpheight:=image1.height bmpwidth:=image1.Width for i:=0 to bmpheight do begin newbmp.Canvas.CopyRect(Rect(0,bmpheight-i,bmpwidth,bmpheight),image1.Canvas,Rect(0,0,bmpwidth,i)) form1.Canvas.Draw(120,100,newbmp) end newbmp.free end
标签: procedure TBitmap TObject Button
上传时间: 2016-01-18
上传用户:comua
Make a graph from database record and either send it to a printer directly selecting many print options or copy it in any file on disc. This project also gives you print preview option for A4 size paper and you can set your graph anywhere on the page.Also if you want to change graph s height or width you can change.Zooming effect is also given using hsrollbar.
标签: selecting database directly printer
上传时间: 2016-02-06
上传用户:s363994250
DBSCAN是一个基于密度的聚类算法。改算法将具有足够高度的区域划分为簇,并可以在带有“噪声”的空间数据库中发现任意形状的聚类。-DBSCAN is a density-based clustering algorithm. Algorithm change will have enough height to the regional cluster. and to be with the "noise" of the spatial database found clusters of arbitrary shape.
上传时间: 2013-12-28
上传用户:q123321
取得浏览绝对大小的JS类,兼容多种浏览器 width 宽度 height 高度 scrollWidth 带滚动条的宽度 scrollheight 带滚动条的高度 scrollTop 内容高度
标签:
上传时间: 2016-05-10
上传用户:star_in_rain
(1) 编写一个代表圆柱体的Cylinder类,该类是Circle类的子类。Cylinder类包括圆柱体的高度变量height以及计算圆柱体的体积方法volume()和计算表面积的方法surfaceArea()。 (2) 编写测试Cylinder类的CylinderTest类,并在该类得main方法中调用Cylinder类的相关方法。 (3) 重写Point和Circle类的equals()、toString()方法,并测试这些方法的正确性。
上传时间: 2016-08-19
上传用户:moerwang
These routines model tropospheric radiowave propagation over variable terrain and calculates propagation loss vs. height and range. Propagation loss is displayed in dB contours on a height vs. range plot. TPEM is based on the split-step Fourier PE method and was originally developed from an early PE model called PEPC, written by Fred Tappert. Propagation loss over variable terrain is modeled by shifting the field an appropriate number of bin widths correspondc ing to the height of the ground. The field is determined using the smooth earth PE method.
标签: tropospheric propagation calculates radiowave
上传时间: 2017-01-01
上传用户:225588
The combinatorial core of the OVSF code assignment problem that arises in UMTS is to assign some nodes of a complete binary tree of height h (the code tree) to n simultaneous connections, such that no two assigned nodes (codes) are on the same root-to-leaf path. Each connection requires a code on a specified level. The code can change over time as long as it is still on the same level. We consider the one-step code assignment problem: Given an assignment, move the minimum number of codes to serve a new request. Minn and Siu proposed the so-called DCAalgorithm to solve the problem optimally. We show that DCA does not always return an optimal solution, and that the problem is NP-hard. We give an exact nO(h)-time algorithm, and a polynomial time greedy algorithm that achieves approximation ratio Θ(h). Finally, we consider the online code assignment problem for which we derive several results
标签: combinatorial assignment problem arises
上传时间: 2014-01-19
上传用户:BIBI
创建一个包装学生信息的java类:包括name,number, age,height,创建该对象的数组用于表示n个学生的信息,并具备显示所有学生信息,查找某个学生的功能。(有输入流,输入数据,使用hash表存储数据) 包含相关代码和运行结果
上传时间: 2013-12-16
上传用户:ddddddos
A heap is a binary tree satisfying the following conditions: This tree is completely balanced. If the height of this binary tree is h, then leaves can be at level h or level h-1. All leaves at level h are as far to the left as possible. The data associated with all descendants of a node are smaller than the datum associated with this node.
标签: tree conditions completely satisfying
上传时间: 2014-01-01
上传用户:gundan
//获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] exit[1] } //取得信息 width = vga_getxdim[] height = vga_getydim[] colors = vga_getcolors[] //绘图 for[i=0 i<colors i++]{ vga_setcolor[i] vga_drawline[0, i, width-1, i] }
标签: vga_getcurrentmode vga_init oldmode vga_ha
上传时间: 2014-12-19
上传用户:maizezhen