WO2018072386A1 - 一种渲染方法及装置 - Google Patents
一种渲染方法及装置 Download PDFInfo
- Publication number
- WO2018072386A1 WO2018072386A1 PCT/CN2017/077141 CN2017077141W WO2018072386A1 WO 2018072386 A1 WO2018072386 A1 WO 2018072386A1 CN 2017077141 W CN2017077141 W CN 2017077141W WO 2018072386 A1 WO2018072386 A1 WO 2018072386A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- rendering
- view
- mode
- drawn
- touch operation
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—Three-dimensional [3D] image rendering
- G06T15/005—General purpose rendering architectures
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a rendering method and apparatus.
- OpenGL renders very fast, and is widely used in games and some gorgeous animation applications.
- the rendering speed of moving, zooming, or drawing is at least 10 times faster (increasing the number of handwriting and images, the effect is more obvious, even reaching the rendering speed, OpenGL is a millisecond level, and SurfaceView rendering is a second level) .
- the texture data of the image is stored in the video memory, and it takes almost no time to perform OpenGL rendering. So OpenGL rendering doesn't feel like a stuck.
- OpenGL also has its limitations. OpenGL has no smooth effect on lines. When the line is very thick, the drawing shape is unacceptable.
- an aspect of the present invention provides a rendering method, including:
- the specified object is drawn on the second view using the second rendering mode.
- the invention configures the first view and the second view on the canvas of the writing software. Since the view background is transparent, the two views are superimposed, and the user can simultaneously see the content rendered by the two views. According to the requirements, part of the object to be drawn is drawn in the first rendering mode, and the other part is drawn in the second rendering mode, so that the object to be drawn with high smoothing effect and the object to be drawn with high rendering speed can achieve ideal rendering. The effect of overcoming the limitations of the single rendering approach.
- the selecting a rendering manner according to an object to be drawn includes:
- the object to be drawn is an object generated according to a user's touch operation; the writing software is in a moving mode or zooming In the mode, the object to be drawn is an object that is moved or scaled according to a touch operation of the user;
- the object to be drawn is an object generated according to a user's touch operation, then the first rendering mode is selected;
- the object to be drawn is an object that is moved or scaled according to a user's touch operation, then the second rendering mode is selected.
- the specified rendering object is drawn by using the first rendering manner on the first view, specifically:
- the second object data is recorded, and the second view is cleared; wherein the second object data is data corresponding to all objects on the current second view;
- the specified object is drawn by using the second rendering manner on the second view, which includes:
- the first object data is recorded, and the first view is cleared; wherein the first object data is data corresponding to all objects on the current first view;
- a user's touch operation is listened to, and on the second view, an object moved or scaled according to the touch operation is drawn using a second rendering manner.
- the first rendering mode is a SurfaceView rendering
- the second rendering mode is an OpenGL rendering.
- the object includes a picture and a handwriting; when the specified object is drawn by using the second rendering manner on the second view, if the object is a handwriting, the second rendering mode is used to draw the preset line width. Handwriting.
- the writing software when the writing software is in the writing mode, the writing of the writing hand or the insertion of the picture following the user's touch operation is not high in rendering speed, and the SurfaceView rendering with good smoothing effect and normal rendering speed can achieve the desired performance.
- Rendering effect when moving, zooming, or other objects, use OpenGL rendering with fast rendering speed, avoiding the rendering speed and the speed of the operation, causing the card to achieve the desired rendering effect.
- the same object needs to be drawn in different rendering modes on two views in different working modes. When switching the working mode, switching all objects to another view can avoid the problem of image overlap error.
- the selecting a rendering manner according to the object to be drawn includes:
- the zoom handle is defined as a handle for controlling the size of the image generated on the edge of the image according to a click operation of the user;
- the second rendering mode is selected.
- the rendering mode is determined directly based on the type of drawing object.
- a rendering method with a fast rendering speed can be used, and the zoom control point generated on the edge of the image is relatively low due to the requirement of the hand, so the speed is adopted.
- other rendering methods with good rendering can meet the requirements. Different rendering methods are used according to actual needs, which is beneficial to balance the running speed and effect of writing software.
- Another aspect of the present invention provides a rendering apparatus, including:
- a view configuration module configured to configure a first view and a second view on a canvas of the writing software; wherein the first view and the second view both cover the canvas, and the first view and the second view
- the background is set to be transparent;
- a rendering selection module for selecting a rendering mode according to the object to be drawn
- a first rendering module configured to draw a specified object using the first rendering manner on the first view if the first rendering mode is selected to be used;
- a second rendering module configured to draw the specified object by using the second rendering manner on the second view if the second rendering mode is selected to be used.
- the rendering selection module includes:
- a mode confirmation unit configured to determine, by the current working mode of the writing software, an attribute of the object to be drawn; wherein, when the writing software is in the writing mode, the object to be drawn is an object generated according to a user's touch operation; The software is in a moving mode or a zoom mode, and the object to be drawn is an object that is moved or scaled according to a touch operation of the user;
- a first selecting unit configured to use the first rendering mode if the object to be drawn is an object generated according to a user's touch operation
- a second selecting unit configured to use the second rendering mode if the object to be drawn is an object that is moved or scaled according to a touch operation of the user.
- the first rendering module includes:
- a first clearing view unit configured to: when the first rendering mode is selected to be used, record the second object data, and clear the second view; wherein the second object data is corresponding to all objects on the current second view The data;
- a first copy view unit configured to draw an object corresponding to the second object data by using a first rendering manner on the first view
- a writing generating unit configured to monitor a touch operation of the user, and, on the first view, draw an object generated according to the touch operation by using a first rendering manner
- the second rendering module includes:
- a second clearing view unit configured to: when the second rendering mode is selected, record the first object data, and clear the first view; wherein the first object data is corresponding to all objects on the current first view The data;
- a second copy view unit configured to draw an object corresponding to the first object data by using a second rendering manner on the second view
- a mobile scaling unit configured to monitor a user's touch operation, and on the second view, draw an object moved or scaled according to the touch operation using a second rendering manner.
- the rendering selection module includes:
- a zoom control point rendering unit configured to use a first rendering mode if the object to be drawn is a zoom handle; wherein the zoom handle is defined as a size of the image generated on the edge of the image according to a click operation of the user Control point
- the picture rendering unit is configured to select the second rendering mode if the object to be drawn is a picture.
- Embodiment 1 is a flowchart of Embodiment 1 of a rendering method provided by the present invention
- step S2 of Embodiment 1 of the rendering method provided by the present invention is a specific flowchart of step S2 of Embodiment 1 of the rendering method provided by the present invention
- step S2 of Embodiment 2 of the rendering method provided by the present invention is a specific flowchart of step S2 of Embodiment 2 of the rendering method provided by the present invention
- FIG. 5 is a structural block diagram of a rendering apparatus provided by the present invention.
- the rendering method includes:
- the specified object is drawn by using the second rendering manner on the second view.
- the first view and the second view are configured on the canvas of the writing software. Since the view background is transparent, the two views are superimposed, and the user can simultaneously view the content rendered by the two views. . According to the requirements, part of the object to be drawn is drawn in the first rendering mode, and the other part is drawn in the second rendering mode, so that the object to be drawn with high smoothing effect and the object to be drawn with high rendering speed can achieve ideal rendering. The effect of overcoming the limitations of the single rendering approach.
- Step S2 in the first embodiment specifically includes:
- S211 Determine, by the current working mode of the writing software, an attribute of the object to be drawn; wherein, when the writing software is in the writing mode, the object to be drawn is an object generated according to a user's touch operation; and the writing software is in a moving mode. Or in the zoom mode, the object to be drawn is based on the user Touch operation to move or scale the object;
- the object to be drawn is an object generated according to a user's touch operation, select to use the first rendering mode
- the object to be drawn is an object that is moved or scaled according to a touch operation of the user, then the second rendering mode is selected to be used.
- the working mode of the writing software of the touch screen terminal includes a writing mode, a moving mode, and a zooming mode. It can be known by those skilled in the art that in the writing mode, the user performs a touch operation on the touch screen terminal according to the trajectory of the touch operation.
- the handwriting object can be generated, and the user can also insert a picture on the touch screen terminal; in the mobile mode, the user performs a touch operation on the touch screen terminal, and according to the track of the touch operation, the object corresponding to the touch point can be moved; In the mode, the user performs a touch operation on the edge of the object on the touch screen terminal, and the object can be scaled according to the trajectory of the touch operation; in addition, the movement mode and the zoom mode can be set to the same mode.
- Writing software can be triggered into different working modes in a variety of ways.
- the writing software enters the writing mode by default when starting, and can enter the moving and zooming mode with a specific gesture.
- the specific gesture can be three-point triggering, that is, when the user presses three fingers simultaneously, Entering the moving and zooming mode, the object to be drawn is switched to the object moved or zoomed according to the user's touch operation, that is, the object is updated according to the moving and zooming operation; when the user finishes moving and zooming, when the user raises the hand, the writing mode is entered.
- a mode selection bar may also be set on the toolbar of the writing software, and the user switches the working mode by operating the mode selection bar.
- Step S3 specifically includes:
- the object corresponding to the second object data is drawn by using a first rendering manner
- Step S4 specifically includes:
- the rendering method with good smoothing effect is preferably SurfaceView rendering.
- the rendering method with fast rendering speed is preferably OpenGL rendering, that is, the first rendering mode is preferably SurfaceView rendering, and the second rendering mode is preferably OpenGL rendering.
- other rendering modes can be selected as the first rendering mode and the second rendering mode.
- the object includes a picture and a handwriting; when the specified object is drawn by using the second rendering manner on the second view, if the object is a handwriting, the second rendering mode is used to draw the preset line width. Handwriting.
- the same object needs to be drawn in different rendering modes on two views in different working modes.
- switching all objects to another view can avoid the problem of image overlap error.
- Embodiment 2 of the rendering method provided by the present invention the rendering method includes:
- the specified object is drawn by using the second rendering manner on the second view.
- FIG. 3 is a specific flowchart of step S2 of Embodiment 2 of the rendering method provided by the present invention.
- Step S2 specifically includes:
- the object to be drawn is a zoom handle, select to use a first rendering manner; wherein the zoom handle is defined as a handle for controlling a size of the image generated on an edge of the image according to a click operation of the user;
- the first rendering mode is preferably a SurfaceView rendering
- the second rendering mode is preferably an OpenGL rendering.
- other rendering modes can be selected as the first rendering mode and the second rendering mode.
- Embodiment 2 selects a rendering mode according to the type of the drawing object. For example, when the picture object in the writing software is selected, eight control points for controlling the image size are generated on the edge of the picture, and the picture can be scaled by the control point. At this time, the eight handles can be rendered by using SurfaceView. Because the control points are relatively low, the SurfaceView rendering is easier to draw; the scaling of the image is drawn using OpenGL rendering to avoid stuttering.
- step S2 also includes:
- Embodiment 3 of the rendering method provided by the present invention the rendering method includes:
- the first rendering mode is used on the first view.
- Designated object
- the specified object is drawn by using the second rendering manner on the second view.
- FIG. 4 it is a specific flowchart of the third step S2 of the third embodiment of the present invention.
- Step S2 includes:
- Step S3 is specifically: if the first rendering is selected to be used, the object generated, moved, or scaled by the touch operation of the user is drawn on the first view by using the first rendering manner;
- Step S4 is specifically: if the second rendering mode is selected to be used, the first view is cleared, and the target page is drawn on the second view by using a second rendering manner.
- the first rendering mode is preferably a SurfaceView rendering
- the second rendering mode is preferably an OpenGL rendering.
- other rendering modes can be selected as the first rendering mode and the second rendering mode.
- the third embodiment of the page turning effect uses OpenGL rendering to improve the speed of page turning.
- FIG. 5 it is a structural block diagram of a rendering apparatus provided by the present invention.
- Another aspect of the present invention provides a rendering apparatus, including:
- a view configuration module 1 configured to configure a first view and a second view on a canvas of the writing software; wherein the first view and the second view both cover the canvas, and the first view and the second view The background of the view is set to be transparent;
- a rendering selection module 2 configured to select a rendering mode according to the object to be drawn
- a first rendering module 3 configured to draw a specified object using the first rendering manner on the first view if the first rendering mode is selected to be used;
- the second rendering module 4 is configured to draw the specified object by using the second rendering manner on the second view if the second rendering mode is selected to be used.
- the rendering selection module includes:
- a mode confirmation unit configured to determine, by the current working mode of the writing software, an attribute of the object to be drawn; wherein, when the writing software is in the writing mode, the object to be drawn is an object generated according to a user's touch operation; The software is in a moving mode or a zoom mode, and the object to be drawn is an object that is moved or scaled according to a touch operation of the user;
- a first selecting unit configured to use the first rendering mode if the object to be drawn is an object generated according to a user's touch operation
- a second selecting unit configured to use the second rendering mode if the object to be drawn is an object that is moved or scaled according to a touch operation of the user.
- the first rendering module includes:
- a first clearing view unit configured to: when the first rendering mode is selected to be used, record the second object data, and clear the second view; wherein the second object data is corresponding to all objects on the current second view The data;
- a first copy view unit configured to draw an object corresponding to the second object data by using a first rendering manner on the first view
- a writing generating unit configured to monitor a touch operation of the user, and, on the first view, draw an object generated according to the touch operation by using a first rendering manner
- the second rendering module includes:
- a second clearing view unit configured to: when the second rendering mode is selected, record the first object data, and clear the first view; wherein the first object data is corresponding to all objects on the current first view The data;
- a second copy view unit configured to draw an object corresponding to the first object data by using a second rendering manner on the second view
- a mobile scaling unit configured to monitor a user's touch operation, and on the second view, draw an object moved or scaled according to the touch operation using a second rendering manner.
- the rendering selection module includes:
- a zoom control point rendering unit configured to use a first rendering mode if the object to be drawn is a zoom handle; wherein the zoom handle is defined as a size of the image generated on the edge of the image according to a click operation of the user Control point
- the picture rendering unit is configured to select the second rendering mode if the object to be drawn is a picture.
- the invention configures the first view and the second view on the canvas of the writing software. Since the view background is transparent, the two views are superimposed, and the user can simultaneously see the content rendered by the two views. According to the requirements, part of the object to be drawn is drawn in the first rendering mode, and the other part is drawn in the second rendering mode, so that the object to be drawn with high smoothing effect and the object to be drawn with high rendering speed can achieve ideal rendering. The effect of overcoming the limitations of the single rendering approach.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
一种渲染方法及装置,所述方法包括:在书写软件的画布上配置第一视图和第二视图(S11);其中,所述第一视图和第二视图均覆盖所述画布,且所述第一视图和所述第二视图的背景均设为透明;根据待绘制的对象选择渲染方式(S12);若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象(S13);若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象(S14)。根据需求将待绘制的对象一部分使用第一渲染方式绘制,另一部分使用第二渲染方式绘制,使得对平滑效果要求高的待绘制对象和对渲染速度要求高的待绘制对象都能达到理想的渲染效果,克服单一渲染方式的缺陷限制。
Description
本发明涉及计算机技术领域,尤其涉及一种渲染方法及装置。
在安卓系统的书写软件中,常用的渲染方式有两种:SurfaceView渲染和OpenGL渲染。其中,SurfaceView渲染由于API(Application Programming Interface,应用程序编程接口)支持比较完善,笔迹可以达到很好的平滑效果,因此,常用于跟随和描绘书写笔迹,以及在画布中插入图片,但是当在书写软件的画布中进行连续的笔迹或图片的移动、缩放时,由于SurfaceView渲染速度跟不上操作的速度,会导致卡顿的现象,影响用户体验。特别是在进行全局的移动、缩放时,需要遍历每一个笔迹或图片,逐个进行绘制更新在SurfaceView的视图上,整个渲染速度随着笔迹或图片个数的增多而变慢,画面越来越卡顿。
而OpenGL渲染速度非常快,广泛应用于游戏和一些动画效果华丽的应用中。在使用OpenGL渲染时,移动、缩放笔迹或图片的渲染速度至少加快了10倍(随笔迹和图片的数量增加,效果越明显,甚至可以达到渲染速度OpenGL是毫秒级别,而SurfaceView渲染是秒级别)。特别是对于图片的OpenGL渲染,图片的纹理数据被存储在显存中,进行OpenGL渲染时几乎不需要耗时。所以OpenGL渲染完全不会有卡顿的感觉。但是OpenGL也有它的局限性,OpenGL对于线条没有圆滑的效果,在线条很粗的时候,绘制形状不可接受。
因此,现有技术中,采用单一的渲染方式,无法同时具备不同渲染方式的有益效果,也无法克服单一渲染方式的缺陷限制。受限于操作系统的API支持,也无法在一个视图上使用两种渲染方式。
发明内容
本发明的目的在于提供一种渲染方法和装置,其能使用两种渲染方式,同时具备不同渲染方式的有益效果,克服单一渲染方式的缺陷限制。
为了实现上述目的,本发明一方面提供一种渲染方法,包括:
在书写软件的画布上配置第一视图和第二视图;其中,所述第一视图和第二视图均覆盖所述画布,且所述第一视图和所述第二视图的背景均设为透明;
根据待绘制的对象选择渲染方式;
若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象;
若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象。
实施本发明,具有如下有益效果:
本发明在书写软件的画布上配置了第一视图和第二视图,由于视图背景透明,因此两个视图叠加,用户可以同时看到两个视图所渲染的内容。根据需求将待绘制的对象一部分使用第一渲染方式绘制,另一部分使用第二渲染方式绘制,使得对平滑效果要求高的待绘制对象和对渲染速度要求高的待绘制对象都能达到理想的渲染效果,克服单一渲染方式的缺陷限制。
在其中一个实施例中,所述根据待绘制的对象选择渲染方式,包括:
由书写软件当前的工作模式确定待绘制的对象的属性;其中,在书写软件处于书写模式时,所述待绘制的对象为根据用户的触摸操作书写生成的对象;在书写软件处于移动模式或缩放模式下,所述待绘制的对象为根据用户的触摸操作移动或缩放的对象;
若待绘制的对象为根据用户的触摸操作书写生成的对象,则选择使用第一渲染方式;
若待绘制的对象为根据用户的触摸操作移动或缩放的对象,则选择使用第二渲染方式。
进一步地,所述若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象,具体包括:
若选择使用第一渲染方式,则记录第二对象数据,清空所述第二视图;其中,所述第二对象数据为当前所述第二视图上的所有对象对应的数据;
在所述第一视图上,使用第一渲染方式绘制所述第二对象数据对应的对象;
监听用户的触摸操作,在所述第一视图上,使用第一渲染方式绘制根据所述触摸操作书写生成的对象;
所述若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象,具体包括:
若选择使用第二渲染方式,则记录第一对象数据,清空所述第一视图;其中,所述第一对象数据为当前所述第一视图上的所有对象对应的数据;
在所述第二视图上,使用第二渲染方式绘制所述第一对象数据对应的对象;
监听用户的触摸操作,在所述第二视图上,使用第二渲染方式绘制根据所述触摸操作移动或缩放的对象。
进一步地,所述第一渲染方式为SurfaceView渲染,所述第二渲染方式为OpenGL渲染。
进一步地,所述对象包括图片和笔迹;则在所述第二视图上使用第二渲染方式绘制指定对象时,若所述对象为笔迹,则使用第二渲染方式按照预设的线宽绘制所述笔迹。
在其中一个实施例中,当书写软件处于书写模式时,由于跟随用户的触摸操作生成书写笔迹或者插入图片对于渲染速度要求并不高,采用平滑效果好但渲染速度一般的SurfaceView渲染能达到理想的渲染效果;而在移动、缩放笔迹或图片等对象时,采用渲染速度快的OpenGL渲染,避免渲染速度跟不上操作的速度导致卡顿,也能达到理想的渲染效果。同一个对象在不同工作模式下需分别在两个视图上用不同的渲染方式绘制,在切换工作模式时,将所有对象切换至另一视图上可避免图像重叠出错的问题。
进一步方案中,在使用OpenGL渲染绘制笔迹时,由于OpenGL渲染对粗线条渲染效果不好,采用固定的线宽绘制笔迹能达到较为平滑的效果。
在另一个实施例中,所述根据待绘制对象,选择渲染方式,包括:
若待绘制对象为缩放控点,则选择使用第一渲染方式;其中,所述缩放控点定义为根据用户的点击操作在图片边沿上生成的用于控制图片大小的控点;
若待绘制对象为图片,则选择使用第二渲染方式。
在另一个实施例中,直接根据绘制对象的类型,确定渲染方式。当绘制对象为图片时,由于图片插入、缩放或移动对速度要求都较快,可以使用渲染速度快的渲染方式,而图片边沿上生成的缩放控点由于跟手要求相对较低,因此采用速度一般但其他效果好的渲染方式渲染满足要求即可。根据实际需求使用不同的渲染方式,有利于书写软件运行速度和效果的平衡。
本发明另一方面提供一种渲染装置,包括:
视图配置模块,用于在书写软件的画布上配置第一视图和第二视图;其中,所述第一视图和第二视图均覆盖所述画布,且所述第一视图和所述第二视图的背景均设为透明;
渲染选择模块,用于根据待绘制的对象选择渲染方式;
第一渲染模块,用于若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象;
第二渲染模块,用于若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象。
在其中一个实施例中,所述渲染选择模块包括:
模式确认单元,用于由书写软件当前的工作模式确定待绘制的对象的属性;其中,在书写软件处于书写模式时,所述待绘制的对象为根据用户的触摸操作书写生成的对象;在书写软件处于移动模式或缩放模式下,所述待绘制的对象为根据用户的触摸操作移动或缩放的对象;
第一选择单元,用于若待绘制的对象为根据用户的触摸操作书写生成的对象,则选择使用第一渲染方式;
第二选择单元,用于若待绘制的对象为根据用户的触摸操作移动或缩放的对象,则选择使用第二渲染方式。
进一步地,所述第一渲染模块包括:
第一清空视图单元,用于若选择使用第一渲染方式,则记录第二对象数据,清空所述第二视图;其中,所述第二对象数据为当前所述第二视图上的所有对象对应的数据;
第一复制视图单元,用于在所述第一视图上,使用第一渲染方式绘制所述第二对象数据对应的对象;
书写生成单元,用于监听用户的触摸操作,在所述第一视图上,使用第一渲染方式绘制根据所述触摸操作书写生成的对象;
所述第二渲染模块包括:
第二清空视图单元,用于若选择使用第二渲染方式,则记录第一对象数据,清空所述第一视图;其中,所述第一对象数据为当前所述第一视图上的所有对象对应的数据;
第二复制视图单元,用于在所述第二视图上,使用第二渲染方式绘制所述第一对象数据对应的对象;
移动缩放单元,用于监听用户的触摸操作,在所述第二视图上,使用第二渲染方式绘制根据所述触摸操作移动或缩放的对象。
在另一个实施例中,所述渲染选择模块包括:
缩放控点渲染单元,用于若待绘制对象为缩放控点,则选择使用第一渲染方式;其中,所述缩放控点定义为根据用户的点击操作在图片边沿上生成的用于控制图片大小的控点;
图片渲染单元,用于若待绘制对象为图片,则选择使用第二渲染方式。
图1是本发明提供的渲染方法的实施例一的流程图;
图2是本发明提供的渲染方法的实施例一步骤S2的具体流程图;
图3是本发明提供的渲染方法的实施例二步骤S2的具体流程图;
图4是本发明提供的渲染方法的实施例三步骤S2的具体流程图;
图5是本发明提供的渲染装置的结构框图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参见图1,是本发明提供的渲染方法的实施例一的流程图。实施例一中,渲染方法包括:
S1、在书写软件的画布上配置第一视图和第二视图;其中,所述第一视图和第二视图均覆盖所述画布,且所述第一视图和所述第二视图的背景均设为透明;
S2、根据待绘制的对象选择渲染方式;
S3、若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象;
S4、若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象。
本发明提供的渲染方法的实施例一,在书写软件的画布上配置了第一视图和第二视图,由于视图背景透明,因此两个视图叠加,用户可以同时看到两个视图所渲染的内容。根据需求将待绘制的对象一部分使用第一渲染方式绘制,另一部分使用第二渲染方式绘制,使得对平滑效果要求高的待绘制对象和对渲染速度要求高的待绘制对象都能达到理想的渲染效果,克服单一渲染方式的缺陷限制。
参见图2,是本发明提供的渲染方法的实施例一步骤S2的具体流程图。实施例一中的步骤S2具体包括:
S211、由书写软件当前的工作模式确定待绘制的对象的属性;其中,在书写软件处于书写模式时,所述待绘制的对象为根据用户的触摸操作书写生成的对象;在书写软件处于移动模式或缩放模式下,所述待绘制的对象为根据用户
的触摸操作移动或缩放的对象;
S212、若待绘制的对象为根据用户的触摸操作书写生成的对象,则选择使用第一渲染方式;
S213、若待绘制的对象为根据用户的触摸操作移动或缩放的对象,则选择使用第二渲染方式。
需要说明的是,触屏终端的书写软件的工作模式包括书写模式、移动模式和缩放模式,本领域技术人员可知,在书写模式下,用户在触屏终端上执行触摸操作,根据触摸操作的轨迹,可以生成笔迹对象,用户还可在触屏终端上,插入图片;在移动模式下,用户在触屏终端上执行触摸操作,根据触摸操作的轨迹,可以移动触摸点所对应的对象;在缩放模式下,用户在触屏终端上对对象的边沿执行触摸操作,根据触摸操作的轨迹,可以缩放该对象;此外,移动模式和缩放模式可以设置为同一种模式。
书写软件可由多种方式触发进入不同的工作模式。例如,在触屏终端上的书写软件,书写软件启动时默认进入书写模式,可以采用特定的手势进入移动和缩放模式,特定的手势可以是三点触发,即用户三个手指同时按下,则进入移动和缩放模式,此时待绘制的对象切换为根据用户的触摸操作移动或缩放的对象,即根据移动和缩放操作,更新对象;当用户完成移动和缩放后,抬手时则进入书写模式。此外,也可以在书写软件的工具栏上设置模式选择栏,用户通过操作所述模式选择栏切换工作模式。
步骤S3具体包括:
S311、若选择使用第一渲染方式,则记录第二对象数据,清空所述第二视图;其中,所述第二对象数据为当前所述第二视图上的所有对象对应的数据;
S312、在所述第一视图上,使用第一渲染方式绘制所述第二对象数据对应的对象;
S313、监听用户的触摸操作,在所述第一视图上,使用第一渲染方式绘制根据所述触摸操作书写生成的对象;
步骤S4具体包括:
S411、若选择使用第二渲染方式,则记录第一对象数据,清空所述第一视图;其中,所述第一对象数据为当前所述第一视图上的所有对象对应的数据;
S412、在所述第二视图上,使用第二渲染方式绘制所述第一对象数据对应的对象;
S413、监听用户的触摸操作,在所述第二视图上,使用第二渲染方式绘制根据所述触摸操作移动或缩放的对象。
当书写软件处于书写模式时,由于跟随用户的触摸操作生成书写笔迹或者插入图片对于渲染速度要求并不高,可采用一种平滑效果好但渲染速度一般的渲染方式,能达到理想的渲染效果;而在移动、缩放笔迹或图片等对象时,采用另一种渲染速度快的渲染方式,能避免渲染速度跟不上操作的速度导致卡顿,也能达到理想的渲染效果。在安卓系统上,平滑效果好的渲染方式优选为SurfaceView渲染,渲染速度快的渲染方式优选为OpenGL渲染,即第一渲染方式优选为SurfaceView渲染,第二渲染方式优选为OpenGL渲染。在其他操作系统上,可以选择其他的渲染方式作为第一渲染方式和第二渲染方式。
在使用OpenGL渲染绘制笔迹时,由于OpenGL渲染对粗线条渲染效果不好,采用固定的线宽绘制笔迹能达到较为平滑的效果。即:
进一步地,所述对象包括图片和笔迹;则在所述第二视图上使用第二渲染方式绘制指定对象时,若所述对象为笔迹,则使用第二渲染方式按照预设的线宽绘制所述笔迹。
同一个对象在不同工作模式下需分别在两个视图上用不同的渲染方式绘制,在切换工作模式时,将所有对象切换至另一视图上可避免图像重叠出错的问题。
本发明提供的渲染方法的实施例二,渲染方法包括:
S1、在书写软件的画布上配置第一视图和第二视图;其中,所述第一视图和第二视图均覆盖所述画布,且所述第一视图和所述第二视图的背景均设为透明;
S2、根据待绘制的对象选择渲染方式;
S3、若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象;
S4、若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象。
图3是本发明提供的渲染方法的实施例二步骤S2的具体流程图。步骤S2具体包括:
S221、若待绘制对象为缩放控点,则选择使用第一渲染方式;其中,所述缩放控点定义为根据用户的点击操作在图片边沿上生成的用于控制图片大小的控点;
S222、若待绘制对象为图片,则选择使用第二渲染方式。
实施例二中,在安卓系统,第一渲染方式优选为SurfaceView渲染,第二渲染方式优选为OpenGL渲染。在其他操作系统上,可以选择其他的渲染方式作为第一渲染方式和第二渲染方式。实施例二根据绘制对象的类型选择使用渲染方式。如,书写软件里的图片对象被选中时,会出现在图片边沿上生成8个控制图片大小的控点,通过控点可以对图片进行缩放,这时候这8个控点可以使用SurfaceView渲染绘制,因为控制点跟手要求相对低,SurfaceView渲染也比较容易进行绘制;而图片的缩放就使用OpenGL渲染进行绘制,来避免卡顿的情况。在视图透明的前提下,用户看到的内容是两个视图叠加的内容。此外,笔迹对象也可以使用SurfaceView渲染绘制,避免OpenGL渲染对笔迹的渲染效果不好,即步骤S2还包括:
S223、若待绘制对象为笔迹,则选择使用第一渲染方式。
本发明提供的渲染方法的实施例三,渲染方法包括:
S1、在书写软件的画布上配置第一视图和第二视图;其中,所述第一视图和第二视图均覆盖所述画布,且所述第一视图和所述第二视图的背景均设为透明;
S2、根据待绘制的对象选择渲染方式;
S3、若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘
制指定对象;
S4、若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象。
参见图4,是本发明提供的渲染方式的实施例三步骤S2的具体流程图。
步骤S2包括:
S231、根据是否接收到从当前打开页面跳转到目标页面的翻页指令,判断待绘制对象是否翻页效果的目标页面;
S232、若所述待绘制对象不是翻页效果的目标页面,则选择使用第一渲染方式;
S233、若所述待绘制对象是翻页效果的目标页面,则选择使用第二渲染方式;
步骤S3具体为:若选择使用第一渲染,则在所述第一视图上使用第一渲染方式绘制由用户的触摸操作生成、移动或缩放的对象;
步骤S4具体为:若选择使用第二渲染方式,则清空所述第一视图,在所述第二视图上使用第二渲染方式绘制所述目标页面。
实施例三中,在安卓系统,第一渲染方式优选为SurfaceView渲染,第二渲染方式优选为OpenGL渲染。在其他操作系统上,可以选择其他的渲染方式作为第一渲染方式和第二渲染方式。实施例三对翻页效果使用OpenGL渲染,提高翻页的速度。
参见图5,是本发明提供的渲染装置的结构框图。本发明另一方面提供一种渲染装置,包括:
视图配置模块1,用于在书写软件的画布上配置第一视图和第二视图;其中,所述第一视图和第二视图均覆盖所述画布,且所述第一视图和所述第二视图的背景均设为透明;
渲染选择模块2,用于根据待绘制的对象选择渲染方式;
第一渲染模块3,用于若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象;
第二渲染模块4,用于若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象。
在其中一个实施例中,所述渲染选择模块包括:
模式确认单元,用于由书写软件当前的工作模式确定待绘制的对象的属性;其中,在书写软件处于书写模式时,所述待绘制的对象为根据用户的触摸操作书写生成的对象;在书写软件处于移动模式或缩放模式下,所述待绘制的对象为根据用户的触摸操作移动或缩放的对象;
第一选择单元,用于若待绘制的对象为根据用户的触摸操作书写生成的对象,则选择使用第一渲染方式;
第二选择单元,用于若待绘制的对象为根据用户的触摸操作移动或缩放的对象,则选择使用第二渲染方式。
进一步地,所述第一渲染模块包括:
第一清空视图单元,用于若选择使用第一渲染方式,则记录第二对象数据,清空所述第二视图;其中,所述第二对象数据为当前所述第二视图上的所有对象对应的数据;
第一复制视图单元,用于在所述第一视图上,使用第一渲染方式绘制所述第二对象数据对应的对象;
书写生成单元,用于监听用户的触摸操作,在所述第一视图上,使用第一渲染方式绘制根据所述触摸操作书写生成的对象;
所述第二渲染模块包括:
第二清空视图单元,用于若选择使用第二渲染方式,则记录第一对象数据,清空所述第一视图;其中,所述第一对象数据为当前所述第一视图上的所有对象对应的数据;
第二复制视图单元,用于在所述第二视图上,使用第二渲染方式绘制所述第一对象数据对应的对象;
移动缩放单元,用于监听用户的触摸操作,在所述第二视图上,使用第二渲染方式绘制根据所述触摸操作移动或缩放的对象。
在另一个实施例中,所述渲染选择模块包括:
缩放控点渲染单元,用于若待绘制对象为缩放控点,则选择使用第一渲染方式;其中,所述缩放控点定义为根据用户的点击操作在图片边沿上生成的用于控制图片大小的控点;
图片渲染单元,用于若待绘制对象为图片,则选择使用第二渲染方式。
本发明在书写软件的画布上配置了第一视图和第二视图,由于视图背景透明,因此两个视图叠加,用户可以同时看到两个视图所渲染的内容。根据需求将待绘制的对象一部分使用第一渲染方式绘制,另一部分使用第二渲染方式绘制,使得对平滑效果要求高的待绘制对象和对渲染速度要求高的待绘制对象都能达到理想的渲染效果,克服单一渲染方式的缺陷限制。
以上是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和变形,这些改进和变形也视为本发明的保护范围。
Claims (10)
- 一种渲染方法,其特征在于,包括:在书写软件的画布上配置第一视图和第二视图;其中,所述第一视图和第二视图均覆盖所述画布,且所述第一视图和所述第二视图的背景均设为透明;根据待绘制的对象选择渲染方式;若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象;若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象。
- 如权利要求1所述的渲染方法,其特征在于,所述根据待绘制的对象选择渲染方式,包括:由书写软件当前的工作模式确定待绘制的对象的属性;其中,在书写软件处于书写模式时,所述待绘制的对象为根据用户的触摸操作书写生成的对象;在书写软件处于移动模式或缩放模式下,所述待绘制的对象为根据用户的触摸操作移动或缩放的对象;若待绘制的对象为根据用户的触摸操作书写生成的对象,则选择使用第一渲染方式;若待绘制的对象为根据用户的触摸操作移动或缩放的对象,则选择使用第二渲染方式。
- 如权利要求2所述的渲染方法,其特征在于,所述若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象,具体包括:若选择使用第一渲染方式,则记录第二对象数据,清空所述第二视图;其中,所述第二对象数据为当前所述第二视图上的所有对象对应的数据;在所述第一视图上,使用第一渲染方式绘制所述第二对象数据对应的对象;监听用户的触摸操作,在所述第一视图上,使用第一渲染方式绘制根据所 述触摸操作书写生成的对象;所述若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象,具体包括:若选择使用第二渲染方式,则记录第一对象数据,清空所述第一视图;其中,所述第一对象数据为当前所述第一视图上的所有对象对应的数据;在所述第二视图上,使用第二渲染方式绘制所述第一对象数据对应的对象;监听用户的触摸操作,在所述第二视图上,使用第二渲染方式绘制根据所述触摸操作移动或缩放的对象。
- 如权利要求1至3任一项所述的渲染方法,其特征在于,所述第一渲染方式为SurfaceView渲染,所述第二渲染方式为OpenGL渲染。
- 如权利要求4所述的渲染方法,其特征在于,所述对象包括图片和笔迹;则在所述第二视图上使用第二渲染方式绘制指定对象时,若所述对象为笔迹,则使用第二渲染方式按照预设的线宽绘制所述笔迹。
- 如权利要求1所述的渲染方法,其特征在于,所述根据待绘制对象,选择渲染方式,包括:若待绘制对象为缩放控点,则选择使用第一渲染方式;其中,所述缩放控点定义为根据用户的点击操作在图片边沿上生成的用于控制图片大小的控点;若待绘制对象为图片,则选择使用第二渲染方式。
- 一种渲染装置,其特征在于,包括:视图配置模块,用于在书写软件的画布上配置第一视图和第二视图;其中,所述第一视图和第二视图均覆盖所述画布,且所述第一视图和所述第二视图的背景均设为透明;渲染选择模块,用于根据待绘制的对象选择渲染方式;第一渲染模块,用于若选择使用第一渲染方式,则在所述第一视图上使用第一渲染方式绘制指定对象;第二渲染模块,用于若选择使用第二渲染方式,则在所述第二视图上使用第二渲染方式绘制指定对象。
- 如权利要求7所述的渲染装置,其特征在于,所述渲染选择模块包括:模式确认单元,用于由书写软件当前的工作模式确定待绘制的对象的属性;其中,在书写软件处于书写模式时,所述待绘制的对象为根据用户的触摸操作书写生成的对象;在书写软件处于移动模式或缩放模式下,所述待绘制的对象为根据用户的触摸操作移动或缩放的对象;第一选择单元,用于若待绘制的对象为根据用户的触摸操作书写生成的对象,则选择使用第一渲染方式;第二选择单元,用于若待绘制的对象为根据用户的触摸操作移动或缩放的对象,则选择使用第二渲染方式。
- 如权利要求8所述的渲染装置,其特征在于,所述第一渲染模块包括:第一清空视图单元,用于若选择使用第一渲染方式,则记录第二对象数据,清空所述第二视图;其中,所述第二对象数据为当前所述第二视图上的所有对象对应的数据;第一复制视图单元,用于在所述第一视图上,使用第一渲染方式绘制所述第二对象数据对应的对象;书写生成单元,用于监听用户的触摸操作,在所述第一视图上,使用第一渲染方式绘制根据所述触摸操作书写生成的对象;所述第二渲染模块包括:第二清空视图单元,用于若选择使用第二渲染方式,则记录第一对象数据,清空所述第一视图;其中,所述第一对象数据为当前所述第一视图上的所有对象对应的数据;第二复制视图单元,用于在所述第二视图上,使用第二渲染方式绘制所述第一对象数据对应的对象;移动缩放单元,用于监听用户的触摸操作,在所述第二视图上,使用第二渲染方式绘制根据所述触摸操作移动或缩放的对象。
- 如权利要求7所述的渲染装置,其特征在于,所述渲染选择模块包括:缩放控点渲染单元,用于若待绘制对象为缩放控点,则选择使用第一渲染方式;其中,所述缩放控点定义为根据用户的点击操作在图片边沿上生成的用于控制图片大小的控点;图片渲染单元,用于若待绘制对象为图片,则选择使用第二渲染方式。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610911029.4 | 2016-10-18 | ||
| CN201610911029.4A CN106502667B (zh) | 2016-10-18 | 2016-10-18 | 一种渲染方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018072386A1 true WO2018072386A1 (zh) | 2018-04-26 |
Family
ID=58295349
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/077141 Ceased WO2018072386A1 (zh) | 2016-10-18 | 2017-03-17 | 一种渲染方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (2) | CN106502667B (zh) |
| WO (1) | WO2018072386A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112565839A (zh) * | 2020-11-23 | 2021-03-26 | 青岛海信传媒网络技术有限公司 | 投屏图像的显示方法及显示设备 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106502667B (zh) * | 2016-10-18 | 2019-09-03 | 广州视睿电子科技有限公司 | 一种渲染方法及装置 |
| CN109032710B (zh) * | 2017-06-09 | 2022-05-24 | 斑马智行网络(香港)有限公司 | 一种界面调整方法、装置、设备和存储介质 |
| CN109448088B (zh) * | 2018-10-22 | 2023-02-21 | 广州视源电子科技股份有限公司 | 渲染立体图形线框的方法、装置、计算机设备和存储介质 |
| CN110152291A (zh) * | 2018-12-13 | 2019-08-23 | 腾讯科技(深圳)有限公司 | 游戏画面的渲染方法、装置、终端及存储介质 |
| CN109960543B (zh) * | 2019-03-18 | 2022-07-19 | 广州视源电子科技股份有限公司 | 书写操作的处理方法和装置 |
| CN114170368B (zh) * | 2021-12-10 | 2024-08-23 | 京东方科技集团股份有限公司 | 模型的四边形线框的渲染方法、系统及模型渲染设备 |
| CN115550713B (zh) * | 2022-11-29 | 2023-04-28 | 杭州星犀科技有限公司 | 音视频直播渲染方法、装置、设备及介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103164839A (zh) * | 2013-03-07 | 2013-06-19 | 华为技术有限公司 | 一种绘图方法、装置及终端 |
| US20150178977A1 (en) * | 2013-05-14 | 2015-06-25 | Google Inc. | Rendering Vector Maps in a Geographic Information System |
| CN105096373A (zh) * | 2015-06-30 | 2015-11-25 | 华为技术有限公司 | 一种媒体内容渲染的方法、用户设备及系统 |
| CN106502667A (zh) * | 2016-10-18 | 2017-03-15 | 广州视睿电子科技有限公司 | 一种渲染方法及装置 |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7791620B2 (en) * | 2005-06-07 | 2010-09-07 | Ids Scheer Aktiengesellschaft | Systems and methods for rendering symbols using non-linear scaling |
| CN104081439A (zh) * | 2012-01-31 | 2014-10-01 | 三菱电机株式会社 | 地图绘制装置、导航装置以及地图绘制方法 |
| EP2880622B1 (en) * | 2012-07-31 | 2020-11-04 | Intel Corporation | Hybrid rendering systems and methods |
| CN104750473A (zh) * | 2013-12-31 | 2015-07-01 | 鸿合科技有限公司 | 基于安卓系统的叠加书写方法 |
| CN104407865B (zh) * | 2014-11-25 | 2017-10-10 | 广州酷狗计算机科技有限公司 | 窗口的显示方法及装置 |
| CN104331297A (zh) * | 2014-11-28 | 2015-02-04 | 广东威创视讯科技股份有限公司 | 一种渲染引擎的绘制方法及装置 |
| CN105046740A (zh) * | 2015-06-25 | 2015-11-11 | 上海卓悠网络科技有限公司 | 基于OpenGL ES的3D图形处理方法及装置 |
| CN105405159A (zh) * | 2015-10-27 | 2016-03-16 | 深圳市东向同人科技有限公司 | 一种书写笔迹的显示方法及装置 |
| CN105574925A (zh) * | 2015-12-11 | 2016-05-11 | 中国航空工业集团公司西安航空计算技术研究所 | 一种自适应的光照处理算法动态选择策略 |
| CN105760073B (zh) * | 2016-02-01 | 2018-11-06 | 锐达互动科技股份有限公司 | 一种在交互式电子白板软件中实现图形透视的方法 |
| CN105916023B (zh) * | 2016-05-16 | 2019-04-23 | 武汉斗鱼网络科技有限公司 | 一种基于gpu的视频渲染方法和系统 |
-
2016
- 2016-10-18 CN CN201610911029.4A patent/CN106502667B/zh active Active
- 2016-10-18 CN CN201910630465.8A patent/CN110427236B/zh active Active
-
2017
- 2017-03-17 WO PCT/CN2017/077141 patent/WO2018072386A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103164839A (zh) * | 2013-03-07 | 2013-06-19 | 华为技术有限公司 | 一种绘图方法、装置及终端 |
| US20150178977A1 (en) * | 2013-05-14 | 2015-06-25 | Google Inc. | Rendering Vector Maps in a Geographic Information System |
| CN105096373A (zh) * | 2015-06-30 | 2015-11-25 | 华为技术有限公司 | 一种媒体内容渲染的方法、用户设备及系统 |
| CN106502667A (zh) * | 2016-10-18 | 2017-03-15 | 广州视睿电子科技有限公司 | 一种渲染方法及装置 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112565839A (zh) * | 2020-11-23 | 2021-03-26 | 青岛海信传媒网络技术有限公司 | 投屏图像的显示方法及显示设备 |
| CN112565839B (zh) * | 2020-11-23 | 2022-11-29 | 青岛海信传媒网络技术有限公司 | 投屏图像的显示方法及显示设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106502667A (zh) | 2017-03-15 |
| CN110427236B (zh) | 2023-06-09 |
| CN110427236A (zh) | 2019-11-08 |
| CN106502667B (zh) | 2019-09-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018072386A1 (zh) | 一种渲染方法及装置 | |
| US12159027B2 (en) | Method and device for controlling interactive white board | |
| CN105278811B (zh) | 智能终端的屏幕显示装置和方法 | |
| JP7537691B2 (ja) | 操作コントロールの位置調整方法およびその装置、端末、並びにコンピュータプログラム | |
| US20110074716A1 (en) | Image displaying device, image displaying method, and program for displaying images | |
| US12293065B2 (en) | Method for adjusting interface display state, and electronic device | |
| JP2017050013A (ja) | 画像表示装置、画像表示方法およびプログラム | |
| CN102446066A (zh) | 信息处理设备、信息处理方法和程序 | |
| CN111866423A (zh) | 用于电子终端的录屏方法及相应设备 | |
| CN112637507B (zh) | 拍摄方法、装置、电子设备及可读存储介质 | |
| CN102364428A (zh) | 电子设备及其页面处理方法 | |
| CN112905093B (zh) | 内容显示方法、装置、存储介质及电子设备 | |
| US20230418446A1 (en) | Screenshot method, electronic device and computer-readable storage medium | |
| TW201413641A (zh) | 具有圖片切換功能的裝置及圖片切換方法 | |
| WO2021068405A1 (zh) | 元素传递方法、装置、设备及存储介质 | |
| CN105824553A (zh) | 一种触控方法及移动终端 | |
| CN109976614A (zh) | 一种立体图形的标注方法、装置、设备及介质 | |
| WO2019000669A1 (zh) | 工作模式的切换方法及装置、镜面显示设备及存储介质 | |
| CN108710460B (zh) | 元素控制方法、装置、设备及存储介质 | |
| CN117311584A (zh) | 头戴显示设备的控制系统、智能终端及头戴显示设备 | |
| CN103645843A (zh) | 一种信息处理方法及电子设备 | |
| CN112306342B (zh) | 大屏小屏显示互相切换方法、装置、存储介质及电子白板 | |
| JP2016538647A (ja) | 文書提示方法およびユーザ端末 | |
| CN110703973A (zh) | 图像裁剪方法和装置 | |
| WO2024088187A1 (zh) | 信息显示方法、装置、电子设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17861905 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17861905 Country of ref document: EP Kind code of ref document: A1 |