3. 設(shè)計一個接口Shape,接口中包含方法:DRAW和Resize。定義一些具體類,如:Point、Line、Circle、Rectangle等,每個類都實現(xiàn)接口Shape。DRAW方法繪制圖形,Resize方法改變圖形大小。用Java實現(xiàn)這些接口和類,并用測試類測試它們。 注意:不需要真正繪制圖形,如Line的DRAW方法只需輸出下面文本即可: “直線的起點是(x1,y1,),終點是(x2,y2)”
上傳時間: 2015-02-09
上傳用戶:frank1234
一個完整的2D滾屏游戲示例,編譯后可以運行玩耍。使用DIRECT DRAW,DIRECT INPUT,DIRECT SOUND;游戲邏輯完整,有記分系統(tǒng),供喜歡游戲編程的初學(xué)者參考切磋。
標(biāo)簽:
上傳時間: 2013-12-23
上傳用戶:王慶才
我的數(shù)字信號處理 作業(yè)。FFT的C語言實現(xiàn)。運行時將2個c文件放在同一目錄,運行DRAW.c。最好Turbo.c 如用VC運行,把頭文件改下,很容易的
標(biāo)簽: FFT 數(shù)字信號處理 C語言 運行
上傳時間: 2014-11-29
上傳用戶:qweqweqwe
書名:基本商業(yè)程序的建模 Essential Business Process Modeling (Paperback) 作者: Mike Havey 出版商:O Reilly 1 edition (August 18, 2005) 內(nèi)容介紹: 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.
標(biāo)簽: 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.
標(biāo)簽: 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
標(biāo)簽: 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
標(biāo)簽: editor application Something wanted
上傳時間: 2014-01-21
上傳用戶:BIBI
minigui實例源代碼,目標(biāo)板處理器是s3c2410,包括相應(yīng)的配置文件。代碼包括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
標(biāo)簽: 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:
標(biāo)簽: USER_MSG_INTERCEPT TeamInfo client search
上傳時間: 2016-01-22
上傳用戶:ynzfm
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1