CN100451956C - 基于绘图引擎的屏幕显示方法 - Google Patents
基于绘图引擎的屏幕显示方法 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
代码说明1:设置***消息挂钩的方法 |
/***定义变量用于保存原图形绘制接口地址*/PIC_DRAW_INTERFACE oldDrawInterface;/***定义变量用于保存原属性设置接口地址*/PIC_SETUP_INTERFACE oldSetupInterface;/***定义***消息挂钩处理过程,在此过程中保存原图形绘制接口地址和属性设置接口地址*/void MSGHandler0(Handle proc,int msg){//判断进程名称if(proc==p2){//用重新实现的图形绘制接口和属性设置接口来替换原有接口实现,并且保存原来的接口地址oldDrawInterface=SetDrawInterfaceHook(newDrawInterface);oldSetupInterface=SetSetupInterfaceHook(newSetupInterface);//newDrawInterface和newSetupInterface的定义见代码说明2}}/***调用***应用程序接口,传入上述定义的MSGHandler0,设置***挂钩*/SetWindowHook(MSGHandler0,GET_MESSAGE); |
代码说明2:Implement中重新实现的图形绘制接口和属性设置接口 |
/***定义新的图形绘制接口*/void newDrawInterface(){//获取p1的区域信息Area area=p1.getArea();//遍历区域上的每一个点for(Point point:area){//获取p1上该点位置的像素Pix pix_p1=p1.getPix(point);//获取p2上该点位置的像素Pix pix_p2=p2.getPix(point);//根据α通道值(alpha)和通明度值(diapha)合成这两个像素Pix pix_mix=blend(pix_p1,pix_p2,alpha,diapha);//将p2原位置的点覆盖掉p2.setPix(point,pix_mix);}//调用原引擎图形绘制接口输出图像oldDrawInterface();}/***定义新的属性设置接口*/void newSetupInterface(DEVPARAM Parem){//修改绘制参数if(Parem.DrawMode!=COPY_MODE){//发现绘制模式为“非拷贝模式”时,将参数修改为“拷贝模式”Parem.DrawMode=COPY_MODE;}//调用原接口完成属性设置oldSetInterface(Parem);} |
代码说明3:屏蔽P2的失去焦点消息 |
/***在p2中实现一个窗口消息处理过程*/void MSGHandler2(int msg){switch(msg){case LOST_FOCUS:return;//截获p2的失去焦点消息,令处理过程中止default:break;}//将其它信息原封还给原处理过程oldMSGHandler2(msg);}/***将p2的窗口消息处理过程替换为上述定义的MSGHandler2,同时保存原有消息处理过程*/HANDLER oldMSGHandler2=SetWindowLong(p2.getWindow(),TYPE_MSG,MSGHandler2); |
代码说明4:定义P1的相关消息处理过程 |
/***在p1中实现一个窗口消息处理过程*/void MSGHandler1(int msg){switch(msg){case WIN_MOVE:case WIN_RESIZE:p1.setArea();//用户移动窗口位置或更改窗口大小时重新设置p1的窗口区域数据case WIN_PAINT:case WIN_PRINT:p1.updateFace();//用户操作导致窗口内容改变时更新p1的窗口显示内容break;default:break;}//调用原处理过程oldMSGHandler1(msg);}/***将p1的窗口消息处理过程替换为上述定义的MSGHandler1,同时保存原有消息处理过程*/HANDLER oldMSGHandler1=SetWindowLong(p1.getWindow(),TYPE_MSG,MSGHandler1); |
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100844570A CN100451956C (zh) | 2006-05-24 | 2006-05-24 | 基于绘图引擎的屏幕显示方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100844570A CN100451956C (zh) | 2006-05-24 | 2006-05-24 | 基于绘图引擎的屏幕显示方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101078982A CN101078982A (zh) | 2007-11-28 |
CN100451956C true CN100451956C (zh) | 2009-01-14 |
Family
ID=38906471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100844570A Expired - Fee Related CN100451956C (zh) | 2006-05-24 | 2006-05-24 | 基于绘图引擎的屏幕显示方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100451956C (zh) |
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 (ko) * | 2011-03-02 | 2013-11-28 | 박재현 | 투명 윈도를 이용한 그리기 동작 제어 방법 |
CN102231858A (zh) * | 2011-06-03 | 2011-11-02 | 深圳创维数字技术股份有限公司 | 一种数字电视的窗口处理方法和装置 |
CN102662999B (zh) * | 2012-03-15 | 2014-06-11 | 北京视博云科技有限公司 | 一种多媒体应用数据提供方法、装置及*** |
CN103647879B (zh) * | 2013-12-11 | 2017-09-22 | 魅族科技(中国)有限公司 | 一种展示应用内容的方法和终端 |
CN105597321B (zh) * | 2015-12-18 | 2020-07-10 | 武汉斗鱼网络科技有限公司 | 一种全屏游戏状态下的弹幕显示方法与*** |
CN106658056B (zh) * | 2016-12-01 | 2020-03-17 | 中央电视台 | 一种非线性编辑***、装置及方法 |
CN106713968B (zh) * | 2016-12-27 | 2020-04-24 | 北京奇虎科技有限公司 | 一种直播数据显示方法和装置 |
CN106658145B (zh) * | 2016-12-27 | 2020-07-03 | 北京奇虎科技有限公司 | 一种直播数据处理方法和装置 |
CN109375980B (zh) * | 2018-10-29 | 2021-10-15 | 四川长虹教育科技有限公司 | 基于Andriod***的触控绘图方法 |
CN110290269A (zh) * | 2019-06-26 | 2019-09-27 | 努比亚技术有限公司 | 显示控制方法、移动终端及计算机可读存储介质 |
CN110471700B (zh) * | 2019-08-06 | 2021-06-29 | Oppo广东移动通信有限公司 | 图形处理方法、装置、存储介质及电子设备 |
CN111489429B (zh) * | 2020-04-16 | 2024-06-07 | 诚迈科技(南京)股份有限公司 | 一种图像渲染控制方法、终端设备和存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1152745A (zh) * | 1995-12-21 | 1997-06-25 | 三菱电机株式会社 | 移动显示框的窗口显示方式及采用该方式的数据处理*** |
CN1306374A (zh) * | 2000-01-20 | 2001-08-01 | 数码广播有限公司 | 股票报价画中画的实现方法及其装置 |
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/zh not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1152745A (zh) * | 1995-12-21 | 1997-06-25 | 三菱电机株式会社 | 移动显示框的窗口显示方式及采用该方式的数据处理*** |
CN1306374A (zh) * | 2000-01-20 | 2001-08-01 | 数码广播有限公司 | 股票报价画中画的实现方法及其装置 |
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 (zh) * | 2003-03-21 | 2004-12-01 | 用于在屏幕区域内嵌图中呈现数据表示的接口 |
Also Published As
Publication number | Publication date |
---|---|
CN101078982A (zh) | 2007-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100451956C (zh) | 基于绘图引擎的屏幕显示方法 | |
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 | |
EP0636971B1 (en) | Method and apparatus for producing a composite second image in the spatial context of a first image | |
US6700580B2 (en) | System and method utilizing multiple pipelines to render graphical data | |
US7383514B2 (en) | System and method for configuring graphics pipelines in a computer graphical display system | |
US5615326A (en) | Object-oriented viewing framework having view grouping | |
EP0947960A2 (en) | A system for editing complex visual data | |
US5737559A (en) | Object-oriented view hierarchy framework | |
US20030128216A1 (en) | System and method for automatically configuring graphics pipelines by tracking a region of interest in a computer graphical display system | |
US5499325A (en) | Brightness controls for visual separation of vector and raster information | |
JPH11328447A (ja) | 複雑なシ―ンの選択的部分レンダリング自動発生システム | |
US5524199A (en) | Object-oriented view system with background processing of update request | |
US5524200A (en) | Object-oriented non-rectilinear viewing framework | |
US6522335B2 (en) | Supplying data to a double buffering process | |
JP2003535385A (ja) | マシンビジョンセンサー | |
US7212210B2 (en) | Method and apparatus for enlarging an output display on a display | |
WO2012118256A1 (ko) | 투명 윈도를 이용한 그리기 동작 제어 방법 | |
US5796969A (en) | Object-oriented view coordinate space system | |
CN106339215A (zh) | 一种录制Windows屏幕时实时绘制图形的方法 | |
US11537353B2 (en) | Combined display for sharing a multi-screen emergency application | |
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 |