3. 设计一个接口Shape,接口中包含方法:draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的draw方法只需输出下面文本即可: “直线的起点是(x1,y1,),终点是(x2,y2)”
上传时间: 2015-02-09
上传用户:frank1234
一个完整的2D滚屏游戏示例,编译后可以运行玩耍。使用DIRECT draw,DIRECT INPUT,DIRECT SOUND;游戏逻辑完整,有记分系统,供喜欢游戏编程的初学者参考切磋。
标签:
上传时间: 2013-12-23
上传用户:王庆才
我的数字信号处理 作业。FFT的C语言实现。运行时将2个c文件放在同一目录,运行draw.c。最好Turbo.c 如用VC运行,把头文件改下,很容易的
上传时间: 2014-11-29
上传用户:qweqweqwe
书名:基本商业程序的建模 Essential Business Process Modeling (Paperback) 作者: Mike Havey 出版商:O Reilly 1 edition (August 18, 2005) 内容介绍: Ten years ago, groupware bundled with email and calendar applications helped track the flow of work from person to person within an organization. Workflow in today s enterprise means more monitoring and orchestrating massive systems. A new technology called Business Process Management, or BPM, helps software architects and developers design, code, run, administer, and monitor complex network-based business processes. BPM replaces those sketchy flowchart diagrams that business analysts draw on whiteboards with a precise model that uses standard graphical and XML representations, and an architecture that allows it converse with other services, systems, and users.
标签: Essential Paperback Business Modeling
上传时间: 2015-10-21
上传用户:zhangyigenius
CFlowchartEditor is an extension of CDiagramEditor. CDiagramEditor is a vector editor, with a CWnd-derived window (CDiagramEditor), a data container (CDiagramEntityContainer) holding the draw-objects, undo stack and managing copy and paste, and objects derived from CDiagramEntity representing objects drawn on screen. CDiagramEditor lacks one feature (that is difficult to implement in both simple and general fashion) - links. Manually maintaining links in a - for example - flowchart or network topography map is unwieldy. Therefore, I ve created a reference implementation for one way of adding this functionality.
标签: CDiagramEditor CFlowchartEditor extension CWnd-d
上传时间: 2015-11-21
上传用户:气温达上千万的
So you wanted to add a forms editor to your application? A dialog editor? Something that allows drawing of HTML <div>s? Here is a feature rich skeleton (!) to get you started. CDiagramEditor is a package that gives you a basic visual editor intended for vector objects. Although perhaps not sufficient to create a CAD-application, you ll indeed be able to create a dialog editor. The editor itself is derived
标签: editor application Something wanted
上传时间: 2013-12-13
上传用户:恋天使569
So you wanted to add a forms editor to your application? A dialog editor? Something that allows drawing of HTML <div>s? Here is a feature rich skeleton (!) to get you started. CDiagramEditor is a package that gives you a basic visual editor intended for vector objects. Although perhaps not sufficient to create a CAD-application, you ll indeed be able to create a dialog editor. The editor itself is derived
标签: editor application Something wanted
上传时间: 2014-01-21
上传用户:BIBI
minigui实例源代码,目标板处理器是s3c2410,包括相应的配置文件。代码包括Dialog box、Simple editor、Bitbmp disp、GDI draw等
上传时间: 2013-12-27
上传用户:silenthink
图形显示技巧,这是其中一段代码 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
* first open client.cpp and search for that USER_MSG_INTERCEPT(TeamInfo) over it u add this Code: USER_MSG_INTERCEPT(Health) { BEGIN_READ(pbuf,iSize) me.iHealth = READ_BYTE() return USER_MSG_CALL(Health) } * then we search for int HookUserMsg (char *szMsgName, pfnUserMsgHook pfn) and add this Code: REDIRECT_MESSAGE( Health ) *k now we have the health registered and can read it out i stop this hear know cuz i must thanks panzer and w00t.nl that they helped me with it first time! *ok now we go to int HUD_Redraw (float x, int y) and packing this draw code in it Code:
标签: USER_MSG_INTERCEPT TeamInfo client search
上传时间: 2016-01-22
上传用户:ynzfm