CN100451956C - Screen display method based on drawing engine - Google Patents
Screen display method based on drawing engine Download PDFInfo
- Publication number
- CN100451956C CN100451956C CNB2006100844570A CN200610084457A CN100451956C CN 100451956 C CN100451956 C CN 100451956C CN B2006100844570 A CNB2006100844570 A CN B2006100844570A CN 200610084457 A CN200610084457 A CN 200610084457A CN 100451956 C CN100451956 C CN 100451956C
- Authority
- CN
- China
- Prior art keywords
- application program
- window
- message
- interface
- processing procedure
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 238000012545 processing Methods 0.000 claims description 33
- 230000008859 change Effects 0.000 claims description 6
- 230000002452 interceptive effect Effects 0.000 claims description 5
- 238000012216 screening Methods 0.000 claims description 5
- 239000003973 paint Substances 0.000 claims description 4
- 230000000873 masking effect Effects 0.000 abstract 1
- 230000008569 process Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 230000000694 effects Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 239000011800 void material Substances 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000011065 in-situ storage Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
Code description 1: the method that the system message hook is set |
/ * * * defining variable is used to preserve former graphic plotting interface IP address */PIC_DRAW_INTERFACE oldDrawInterface; / * * * defining variable is used to preserve former attribute interface IP address */PIC_SETUP_INTERFACE oldSetupInterface is set; / * * * define system message hook processing procedure, former graphic plotting interface IP address of preservation and attribute are provided with interface IP address */void MSGHandler0 (Handle proc in this process, int msg) // judgement process title if (proc==p2) // with graphic plotting interface of realizing again and attribute interface is set to replace original interface realization, and preserve original interface IP address oldDrawInterface=SetDrawInterfaceHook (newDrawInterface); OldSetupInterface=SetSetupInterfaceHook (newSetupInterface); Code description 2 is seen in the definition of //newDrawInterface and newSetupInterface } }/* * * calling system application programming interfaces, import the MSGHandler0 of above-mentioned definition into, be provided with system hook */SetWindowHook (MSGHandler0, GET_MESSAGE); |
Again graphic plotting interface and the attribute realized among the code description 2:Implement are provided with interface |
The new graphic plotting interface */void newDrawInterface () of/* * * definition // obtain the area information Area area=p1.getArea () of p1; Each some for (Point point:area) on the zone of // traversal // obtain the pixel Pix pix_p1=p1.getPix (point) that p1 goes up this position; // obtain the pixel Pix pix_p2=p2.getPix (point) that p2 goes up this position; // according to synthetic these two the pixel Pix pix_mix=blend of α channel value (alpha) and logical brightness value (diapha) (pix_p1, pix_p2, alpha, diapha); // with the point of p2 original position override p2.setPix (point, pix_mix); } // call former engine graphic plotting interface output image oldDrawInterface ();=COPY_MODE) // when finding that drawing mode is " non-copy mode ", be " copy mode " Parem.DrawMode=COPY_MODE with parameter modification; The former interface of } // call is finished attribute oldSetInterface (Parem) is set; } |
Code description 3: shielding P2 loses focus message |
/ * * * realizes a window message processing procedure */void MSGHandler2 (int msg) { switch (msg) { case LOST_FOCUS:return in p2; // intercept and capture p2 lose focus message, make processing procedure end default:break; } // with the untouched former processing process oldMSGHandler2 (msg) that returns of out of Memory; }/* * * replaces with the window message processing procedure of p2 the MSGHandler2 of above-mentioned definition, preserve original message processing procedure */HANDLER oldMSGHandler2=SetWindowLong (p2.getWindow () simultaneously, TYPE_MSG, MSGHandler2); |
Code description 4: the related news processing procedure of definition P1 |
/ * * * realizes a window message processing procedure */void MSGHandler1 (int msg) { switch (msg) { case WIN_MOVE:case WIN_RESIZE:p1.setArea () in p1; Reset the window area data case WIN_PAINT:case WIN_PRINT:p1.updateFace () of p1 when // user moving window position or change window size; When causing windows content to change, // user operation upgrades the window displaying contents break of p1; Default:break; The former processing process of } // call oldMSGHandler1 (msg); }/* * * replaces with the window message processing procedure of p1 the MSGHandler1 of above-mentioned definition, preserve original message processing procedure */HANDLER oldMSGHandler1=SetWindowLong (p1.getWindow () simultaneously, TYPE_MSG, MSGHandler1); |
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100844570A CN100451956C (en) | 2006-05-24 | 2006-05-24 | Screen display method based on drawing engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100844570A CN100451956C (en) | 2006-05-24 | 2006-05-24 | Screen display method based on drawing engine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101078982A CN101078982A (en) | 2007-11-28 |
CN100451956C true CN100451956C (en) | 2009-01-14 |
Family
ID=38906471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100844570A Expired - Fee Related CN100451956C (en) | 2006-05-24 | 2006-05-24 | Screen display method based on drawing engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100451956C (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8698958B2 (en) * | 2010-06-16 | 2014-04-15 | Silicon Image, Inc. | Mechanism for memory reduction in picture-in-picture video generation |
KR101334526B1 (en) * | 2011-03-02 | 2013-11-28 | 박재현 | Method for drawing using a transparent window |
CN102231858A (en) * | 2011-06-03 | 2011-11-02 | 深圳创维数字技术股份有限公司 | Window processing method and apparatus of digital television |
CN102662999B (en) * | 2012-03-15 | 2014-06-11 | 北京视博云科技有限公司 | Method, device and system for providing multimedia application data |
CN103647879B (en) * | 2013-12-11 | 2017-09-22 | 魅族科技(中国)有限公司 | A kind of method and terminal for showing application content |
CN105597321B (en) * | 2015-12-18 | 2020-07-10 | 武汉斗鱼网络科技有限公司 | Bullet screen display method and system in full-screen game state |
CN106658056B (en) * | 2016-12-01 | 2020-03-17 | 中央电视台 | Nonlinear editing system, device and method |
CN106658145B (en) * | 2016-12-27 | 2020-07-03 | 北京奇虎科技有限公司 | Live broadcast data processing method and device |
CN106713968B (en) * | 2016-12-27 | 2020-04-24 | 北京奇虎科技有限公司 | Live data display method and device |
CN109375980B (en) * | 2018-10-29 | 2021-10-15 | 四川长虹教育科技有限公司 | Touch drawing method based on Andriod system |
CN110290269A (en) * | 2019-06-26 | 2019-09-27 | 努比亚技术有限公司 | Display control method, mobile terminal and computer readable storage medium |
CN110471700B (en) * | 2019-08-06 | 2021-06-29 | Oppo广东移动通信有限公司 | Graphic processing method, apparatus, storage medium and electronic device |
CN111489429B (en) * | 2020-04-16 | 2024-06-07 | 诚迈科技(南京)股份有限公司 | Image rendering control method, terminal equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1152745A (en) * | 1995-12-21 | 1997-06-25 | 三菱电机株式会社 | Viewing-frame moveable window display type and data processing system using it |
CN1306374A (en) * | 2000-01-20 | 2001-08-01 | 数码广播有限公司 | Method and device for implementing picture-in-picture of stock quotation |
US20040075770A1 (en) * | 2001-02-20 | 2004-04-22 | Seung-Jin Lee | Device and method for displaying pip on tv |
EP1460525A2 (en) * | 2003-03-21 | 2004-09-22 | Microsoft Corporation | Graphical user interface |
-
2006
- 2006-05-24 CN CNB2006100844570A patent/CN100451956C/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1152745A (en) * | 1995-12-21 | 1997-06-25 | 三菱电机株式会社 | Viewing-frame moveable window display type and data processing system using it |
CN1306374A (en) * | 2000-01-20 | 2001-08-01 | 数码广播有限公司 | Method and device for implementing picture-in-picture of stock quotation |
US20040075770A1 (en) * | 2001-02-20 | 2004-04-22 | Seung-Jin Lee | Device and method for displaying pip on tv |
EP1460525A2 (en) * | 2003-03-21 | 2004-09-22 | Microsoft Corporation | Graphical user interface |
CN1550979A (en) * | 2003-03-21 | 2004-12-01 | Interface for presenting data representations in a screen-area inset |
Also Published As
Publication number | Publication date |
---|---|
CN101078982A (en) | 2007-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100451956C (en) | Screen display method based on drawing engine | |
US5555368A (en) | Object-oriented multi-tasking view framework | |
US5544301A (en) | Object-oriented view layout system | |
US5465362A (en) | Object-oriented view-system for displaying information in a windowing environment | |
US6088018A (en) | Method of using video reflection in providing input data to a computer system | |
US5745759A (en) | Window kernel | |
CN101548277B (en) | The computer graphics system of multiple parallel processor | |
DE69410483T2 (en) | OBJECT-ORIENTED TASK-SAFE FRAMEWORK | |
US6091422A (en) | System for editing complex visual data providing a continuously updated rendering | |
US6700580B2 (en) | System and method utilizing multiple pipelines to render graphical data | |
US5687376A (en) | System for monitoring performance of advanced graphics driver including filter modules for passing supported commands associated with function calls and recording task execution time for graphic operation | |
US7383514B2 (en) | System and method for configuring graphics pipelines in a computer graphical display system | |
US5615326A (en) | Object-oriented viewing framework having view grouping | |
US5737559A (en) | Object-oriented view hierarchy framework | |
US5499325A (en) | Brightness controls for visual separation of vector and raster information | |
JPH0778244A (en) | Operating method of machine | |
US5524199A (en) | Object-oriented view system with background processing of update request | |
US5524200A (en) | Object-oriented non-rectilinear viewing framework | |
JP2003535385A (en) | Machine vision sensor | |
US7212210B2 (en) | Method and apparatus for enlarging an output display on a display | |
WO2012118256A1 (en) | Method for controlling drawing action using transparent window | |
US5796969A (en) | Object-oriented view coordinate space system | |
CN113379586B (en) | Method and system for disposing digital watermark of compatible application under screen digital watermark | |
Boochs et al. | An object-oriented stereo system for 3D-measurements | |
CA2388871C (en) | Photon windowing kernel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: GUANGZHOU AIPAI NETWORK TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: BEIJING GECKO SCIENCE + TECHNOLOGY CO., LTD. Effective date: 20101227 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 100007 8-005, 1/F, HAIYUNCANG BUILDING, NO.1, HAIYUNCANG, DONGZHIMEN INSIDE, DONGCHENG DISTRICT, BEIJING TO: 510665 ROOM 212, 2/F, KEXUN BUILDING, NO.60, JIANZHONG ROAD, TIANHE DISTRICT, GUANGZHOU CITY |
|
TR01 | Transfer of patent right |
Effective date of registration: 20101227 Address after: 510665 Guangzhou city Tianhe District Road No. 60 building two building 212 room Kosun Patentee after: GUANGZHOU AIPAI NETWORK TECHNOLOGY Co.,Ltd. Address before: 100007, Beijing, Dongcheng District, Dongzhimen ocean shipping warehouse No. 1, building 1, 8-005 Patentee before: BIHU. COM TECHNOLOGY (BEIJING) Co.,Ltd. |
|
C56 | Change in the name or address of the patentee | ||
CP02 | Change in the address of a patent holder |
Address after: 510665, Guangzhou, Tianhe District Construction Road No. 9, 6 floor, west half of the floor, 603 rooms Patentee after: GUANGZHOU AIPAI NETWORK TECHNOLOGY Co.,Ltd. Address before: 510665 Guangzhou city Tianhe District Road No. 60 building two building 212 room Kosun Patentee before: GUANGZHOU AIPAI NETWORK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20180523 Address after: 510630 Room 201, Jianzhong Road, Tianhe District, Guangzhou, Guangdong, 201 Patentee after: GUANGZHOU FENGSHENG COMPUTER CO.,LTD. Address before: Self made 603 room, 6 / F, 6 / F, 9 building engineering road, Guangzhou Patentee before: GUANGZHOU AIPAI NETWORK TECHNOLOGY Co.,Ltd. |
|
DD01 | Delivery of document by public notice | ||
DD01 | Delivery of document by public notice |
Addressee: GUANGZHOU AIPAI NETWORK TECHNOLOGY Co.,Ltd. Document name: Notification of Passing Examination on Formalities |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090114 |