-
触摸屏
void gui_fill_circle(u16 x0,u16 y0,u16 r,u16 color)
{
u32 i;
u32 imax = ((u32)r*707)/1000+1;
u32 sqmax = (u32)r*(u32)r+(u32)r/2;
u32 x=r;
gui_draw_hline(x0-r,y0,2*r,color);
for (i=1;isqmax)// draw lines from outside
{
if (x>imax)
{
gui_draw_hline (x0-i+1,y0+x,2*(i-1),color);
gui_draw_hline (x0-i+1,y0-x,2*(i-1),color);
}
x--;
}
// draw lines from inside (center)
gui_draw_hline(x0-x,y0+i,2*x,color);
gui_draw_hline(x0-x,y0-i,2*x,color);
}
}
//两个数之差的绝对值
//x1,x2:需取差值的两个数
//返回值:|x1-x2|
u16 my_abs(u16 x1,u16 x2)
{
if(x1>x2)return x1-x2;
else return x2-x1;
}
//画一条粗线
//(x1,y1),(x2,y2):线条的起始坐标
//size:线条的粗细程度
//color:线条的颜色
void lcd_draw
- 2022-08-08 02:20:29下载
- 积分:1
-
CIPP_JSsetup
可以实现自动分词功能,支持自动标引,是处理中文自然语言的良好工具(Can achieve automatic word segmentation function, support for automatic indexing is a good tool to deal with Chinese natural language)
- 2020-09-24 19:27:48下载
- 积分:1
-
ddeclientvc
说明: DDE CLIENT,用于dde方式读区服务器内容(DDE Client for dde reading of server content)
- 2006-03-10 15:42:05下载
- 积分:1
-
GraphExample
简单实现画矩形和缺角的矩形,并且实现矩形的缩放和移动(Simple to draw a rectangle and the missing corner of the rectangle, and the rectangle zoom and move)
- 2013-01-17 13:04:19下载
- 积分:1
-
RemoteSrceenControl
一个远程监视控制屏幕的程序,包括服务器和客户端 .vs2008下编译通过。
(A remote monitoring control screen procedures, including server and client. Vs2008 compile.)
- 2011-10-19 17:27:48下载
- 积分:1
-
C#程序设计基础,(控制台设计源代码,CS 文件)
C#程序设计基础,(控制台设计源代码,CS 文件)-Based on C# programming, (console design source code, CS files)
- 2022-05-08 02:04:20下载
- 积分:1
-
给单片机初学者的43个实验
入门教程,给单片机初学者43个实验教程,(Introductory tutorials, 43 experimental tutorials for beginners of microcontroller.)
- 2020-06-24 12:20:02下载
- 积分:1
-
traffic
车辆检测:
1 识别车辆轮廓,并标识车辆轮廓
2 给出车辆的相对速度(Vehicle Detection: one to identify the vehicle contours, and marking the outline of 2 vehicles given the relative speed of vehicles)
- 2007-09-30 11:33:37下载
- 积分:1
-
samp03z_svr_R1_win32
GTA的脚本大全,能让你的服务器变得更加好玩,使你的服务器的玩家数量更多(More GTA script Guinness, make your server more fun to make your server' s number of players)
- 2020-07-02 23:00:01下载
- 积分:1
-
docs-flexbison
说明: OPEN h323,用于网络电话开发的标准,包括API的详细说明。还有相关教程,非常详细(OPEN for the development of the telephone network standards, including a detailed description API. Also related guides, very detailed)
- 2005-12-04 16:19:48下载
- 积分:1