CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - draw
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
ASP
ASPX.NET
PHP
JSP/Java
FlashMX
Perl
Other Web Code
SilverLight
Search - draw - List
[
WEB Code
]
yanjiushbidu
DL : 0
这是几篇关于一个研究生如何在其2年半的时间里,如何成为一个优秀的人的文章。可以借鉴一下-This is one of several graduate students in its two years of time, how to be an outstanding person in the article. Can draw on! !
Date
: 2008-10-13
Size
: 1.69mb
User
:
shj
[
WEB Code
]
choujiangQuan
DL : 0
这是个随机抽奖程序,我自己写的感觉还不错!公司春节联欢活动的时候用的着:)-This is a random draw process, I wrote it myself feeling pretty good! Company Spring Festival gathering of the significant :)
Date
: 2008-10-13
Size
: 410.83kb
User
:
quanz
[
WEB Code
]
javascriptlinedrawing_src
DL : 0
In this article, I want to explain and deduce the line drawing algorithm by Bresenham. Afterwards, I will show an optimized version which can be used to draw lines in Gecko based browsers like Mozilla or Firefox and Microsoft s Internet Explorer. As you know, HTML itself is not able to describe lines. Therefore, there is no built-in features in the above-mentioned browsers for drawing lines. By implementing the Bresenham algorithm with JavaScript while applying some tricks, we will be able to draw lines in a good manner in respect to the browser s runtime and memory footprints.
Date
: 2008-10-13
Size
: 5.35kb
User
:
曲亚武
[
WEB Code
]
B-spline
DL : 0
It is about spline word,please refer to this chapter and analysis ,then you will find how to draw spline ,if you have any problem,please contact me,my telephone is \"none\",haha!
Date
: 2008-10-13
Size
: 64.22kb
User
:
yang
[
WEB Code
]
ASP取服务器网卡的MAC地址、DNS地址等信息
DL : 1
ASP取服务器网卡的MAC地址,DNS地址等信息,代码中GETMACINFO函数仅仅可以获取首个网卡的MAC地址,至于DNS、网关等信息大家可以举一反三-from ASP server NIC's MAC address, DNS addresses and other information, code GETMACINFO function can only access the first NIC's MAC address as the DNS, gateways and other information we can draw inferences from
Date
: 2008-10-13
Size
: 1.31kb
User
:
美美
[
WEB Code
]
细分时钟刻度算法.txt
DL : 0
import java.awt.*; import javax.swing.*; public class Exercise8_12 extends JFrame { // Main method with three auguments: // args[0]: hour // args[1]: minute // args[2]: second public static void main(String[] args) { // Declare hour, minute, and second values int hour = 0; int minute = 0; int second = 0; // Check usage and get hour, minute, second if (args.length > 3) { System.out.println( "Usage: java DisplayClock hour minute second"); System.exit(0); } else if (args.length == 3) { hour = new Integer(args[0]).intValue(); minute = new Integer(args[1]).intValue(); second = new Integer(args[2]).intValue(); } else if (args.length == 2) { hour = new Integer(args[0]).intValue(); minute = new Integer(args[1]).intValue(); } else if (args.length == 1) { hour = new Integer(args[0]).intValue(); } // Create a frame to hold the clock Exercise8_12 frame = new Exercise8_12(); frame.setTitle("Exercise 8.12: Display Clock"); frame.getContentPane().add(new DrawClock(hour, minute, second)); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setSize(300, 350); frame.setVisible(true); } } class DrawClock extends JPanel { private int hour; private int minute; private int second; protected int xCenter, yCenter; protected int clockRadius; // Construct a clock panel public DrawClock(int hour, int minute, int second) { this.hour = hour; this.minute = minute; this.second = second; } // Draw the clock public void paintComponent(Graphics g) { super.paintComponent(g); // Initialize clock parameters clockRadius = (int)(Math.min(getSize().width, getSize().height)*0.7*0.5); xCenter = (getSize().width)/2; yCenter = (getSize().height)/2; // Draw circle g.setColor(Color.black); g.drawOval(xCenter - clockRadius,yCenter - clockRadius, 2*clockRadius, 2*clockRadius); g.drawString("12",xCenter-5, yCenter-clockRadius); g.drawString("9",xCenter-clockRadius-10,yCenter+3); g.drawString("3",xCenter+clockRadius,yCenter+3); g.drawString("6",xCenter-3,yCenter+clockRadius+10); // Draw second hand int sLength = (int)(clockRadius*0.85); int xSecond = (int)(xCenter + sLength*Math.sin(second*(2*Math.PI/60))); int ySecond = (int)(yCenter - sLength*Math.cos(second*(2*Math.PI/60))); g.setColor(Color.red); g.drawLine(xCenter, yCenter, xSecond, ySecond); // Draw minute hand int mLength = (int)(clockRadius*0.75); int xMinute = (int)(xCenter + mLength*Math.sin(minute*(2*Math.PI/60))); int yMinute = (int)(yCenter - mLength*Math.cos(minute*(2*Math.PI/60))); g.setColor(Color.blue); g.drawLine(xCenter, yCenter, xMinute, yMinute); // Draw hour hand int hLength = (int)(clockRadius*0.6); int xHour = (int)(xCenter + hLength*Math.sin((hour+minute/60.0)*(2*Math.PI/12))); int yHour = (int)(yCenter - hLength*Math.cos((hour+minute/60.0)*(2*Math.PI/12))); g.setColor(Color.green); g.drawLine(xCenter, yCenter, xHour, yHour); // Display current time in string g.setColor(Color.red); String time = "Hour: " + hour + " Minute: " + minute + " Second: " + second; FontMetrics fm = g.getFontMetrics(); g.drawString(time, (getSize().width - fm.stringWidth(time))/2, yCenter+clockRadius+30); // Display more details on the clock for (int i=0; i<60; i++) { double percent; if (i%5 == 0) { percent = 0.9; } else { percent = 0.95; } //细分时钟刻度 int xOuter = (int)(xCenter + clockRadius*Math.sin(i*(2*Math.PI/60))); int yOuter = (int)(yCenter - clockRadius*Math.cos(i*(2*Math.PI/60))); int xInner = (int)(xCenter + percent*clockRadius*Math.sin(i*(2*Math.PI/60))); int yInner = (int)(yCenter - percent*clockRadius*Math.cos(i*(2*Math.PI/60))); g.drawLine(xOuter, yOuter, xInner, yInner); } } }
Date
: 2011-08-20
Size
: 4.17kb
User
:
hellosoft010@sina.com
[
WEB Code
]
ASP取服务器网卡的MAC地址、DNS地址等信息
DL : 0
ASP取服务器网卡的MAC地址,DNS地址等信息,代码中GETMACINFO函数仅仅可以获取首个网卡的MAC地址,至于DNS、网关等信息大家可以举一反三-from ASP server NIC's MAC address, DNS addresses and other information, code GETMACINFO function can only access the first NIC's MAC address as the DNS, gateways and other information we can draw inferences from
Date
: 2025-12-16
Size
: 1kb
User
:
美美
[
WEB Code
]
FastShop
DL : 0
一个网络商店,功能较全 有很多的东西可以借鉴,但不建议直接使用,那样学不到东西-a network of shops, all functional than a lot of things we can draw on, but not recommending the use of direct, did not learn things
Date
: 2025-12-16
Size
: 4.41mb
User
:
cool_roc
[
WEB Code
]
choujiangQuan
DL : 0
这是个随机抽奖程序,我自己写的感觉还不错!公司春节联欢活动的时候用的着:)-This is a random draw process, I wrote it myself feeling pretty good! Company Spring Festival gathering of the significant :)
Date
: 2025-12-16
Size
: 411kb
User
:
quanz
[
WEB Code
]
PetShop
DL : 0
这是微软开发的宠物商店的源码,具有非常大的借鉴价值-This is the Microsoft-developed source code pet shop with a very big draw on the value of
Date
: 2025-12-16
Size
: 2.82mb
User
:
刘少庆
[
WEB Code
]
javascriptlinedrawing_src
DL : 0
In this article, I want to explain and deduce the line drawing algorithm by Bresenham. Afterwards, I will show an optimized version which can be used to draw lines in Gecko based browsers like Mozilla or Firefox and Microsoft s Internet Explorer. As you know, HTML itself is not able to describe lines. Therefore, there is no built-in features in the above-mentioned browsers for drawing lines. By implementing the Bresenham algorithm with JavaScript while applying some tricks, we will be able to draw lines in a good manner in respect to the browser s runtime and memory footprints. -In this article, I want to explain and deduce the line drawing algorithm by Bresenham. Afterwards, I will show an optimized version which can be used to draw lines in Gecko based browsers like Mozilla or Firefox and Microsoft s Internet Explorer. As you know, HTML itself is not able to describe lines. Therefore, there is no built-in features in the above-mentioned browsers for drawing lines. By implementing the Bresenham algorithm with JavaScript while applying some tricks, we will be able to draw lines in a good manner in respect to the browser s runtime and memory footprints.
Date
: 2025-12-16
Size
: 5kb
User
:
曲亚武
[
WEB Code
]
xtree2b-20050606
DL : 0
Date
: 2025-12-16
Size
: 45kb
User
:
liying
[
WEB Code
]
lookmoonblog
DL : 0
lookmoon望月树型论坛系统 V5.20admin,是用于ASP编的一套博克系统。用于广大网页设计者借鉴。-Mochizuki lookmoon Tree Forum system V5.20admin, is used to compile a set of ASP boqueron system. Draw on the vast numbers of web pages for designers.
Date
: 2025-12-16
Size
: 3.19mb
User
:
jhon
[
WEB Code
]
webgraph
DL : 0
web上绘制图形,C#源码,ASP结构,可以在web上绘制各种图形-Draw web graphics, C# source code, ASP structure, and can draw all kinds of graphics on the web
Date
: 2025-12-16
Size
: 27kb
User
:
刘朔
[
WEB Code
]
Codejia.com_142408f95790e96b48f0812bc829ebee
DL : 0
某网站源码的相关资料 大家可以借鉴一下 不足之处 请见谅-Source of a site we can draw on relevant information about the inadequacies of sorry
Date
: 2025-12-16
Size
: 2.15mb
User
:
于洋
[
WEB Code
]
java2
DL : 0
java实现的摇号抽奖源码,方便实用。 这个已经解决了重复抽取同一号码的问题。 可以自己美化一下。-java source code to achieve摇号draw, convenient and practical. This has been resolved to repeat the question of taking the same number. Can beautify you.
Date
: 2025-12-16
Size
: 1kb
User
:
eric
[
WEB Code
]
v0298
DL : 0
简介:下载的压缩包为asp+vb程序。 霸猪初步于2002年4月份完成。 该抽奖小程序原来用的是sql数据库,但为了方便演示,后来又改用access2000来做后台数据库。 程序目的:如企业想搞抽奖活动,可让读者在网上自行登记,然后到抽奖日,可由工作人员在后台通过软件进行摇奖。 网上自行登记,使用asp+access2000;win2000 iss下测试通过; 后台摇奖:使用VB开发的摇奖软件结合其在网上的access数据库进行摇奖。-Description: Download the compressed package for asp+ Vb procedures. Pa pigs in the initial completion in April 2002. The draw applet is used in the original sql database, but for the convenience of presentation, and then switch to ACCESS2000 to do the background database. Procedures for the purpose of: If companies want to draw activities, will allow readers to register online, and then to draw on, by staff in the background through摇奖software. Online self-registration, use asp+ Access2000 win2000 iss under test 摇奖background: the use of VB development摇奖software access its online database摇奖.
Date
: 2025-12-16
Size
: 62kb
User
:
hhq7
[
WEB Code
]
coujiang
DL : 0
滚动抽奖的代码,很有参考价值。php+ajax-Rolling code of the draw, a good reference. php+ ajax
Date
: 2025-12-16
Size
: 41kb
User
:
comm
[
WEB Code
]
whiteboard
DL : 0
涂鸦版程序,可画线,园,方等规则图形。还可以输入文字。php+mysql-whiteboard. You can draw line, circle, rect, and input text. php+mysql
Date
: 2025-12-16
Size
: 196kb
User
:
alan
[
WEB Code
]
Draw
DL : 0
Windows画图板C# 直线,椭圆,矩形-Windows Draw C#
Date
: 2025-12-16
Size
: 36kb
User
:
weiwei
«
1
2
3
4
5
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.