Writing operation processing method and device

A processing method and processor technology, applied in the field of data processing, can solve problems such as complex processing process and low processing efficiency, and achieve the effect of improving processing efficiency and reducing processing complexity

Active Publication Date: 2019-07-02
GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Embodiments of the present invention provide a writing operation processing method and device to at least solve the technical problem that the writing operation processing method in the related art is complicated for different types of brushes, resulting in low processing efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Writing operation processing method and device
  • Writing operation processing method and device
  • Writing operation processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] According to an embodiment of the present invention, an embodiment of a method for processing a writing operation is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0034] image 3 is a flowchart of a writing operation processing method according to an embodiment of the present invention, such as image 3 As shown, the method includes the following steps:

[0035] In step S302, a writing operation is acquired through a drawing thread, and writing data corresponding to the writing operation is acquired, wherein an off-screen drawing function is created in the drawing thread.

[0036] Specifically, the above-mentioned drawing thread may be a thread specially ...

Embodiment 2

[0060] According to an embodiment of the present invention, an embodiment of an apparatus for processing a writing operation is provided.

[0061] Figure 6 is a schematic diagram of a writing operation processing device according to an embodiment of the present invention, such as Figure 6 As shown, the device includes:

[0062] The obtaining module 62 is configured to obtain the writing operation through the drawing thread, and obtain writing data corresponding to the writing operation, wherein an off-screen drawing function is created in the drawing thread.

[0063] Specifically, the above-mentioned drawing thread may be a thread specially used for drawing, which is a thread obtained by merging sub-threads of different types of brushes. In this embodiment, a Canvas brush and an OpenGL brush are taken as examples for illustration. Table 2 shows the EGLSurface types, uses and availability of OpenGL brushes.

[0064] Create the off-screen drawing function PbufferSurface in ...

Embodiment 3

[0081] According to an embodiment of the present invention, an embodiment of a storage medium is provided, and the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to perform the processing method for the writing operation in Embodiment 1 above.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a writing operation processing method and device. The method comprises the steps that writing operation is obtained through a drawing thread, writing data corresponding to thewriting operation is obtained, and an off-screen drawing function is created in the drawing thread; determining a brush type corresponding to the writing operation; and based on the brush type, updating the writing data to the current bitmap through the drawing thread. The technical problem that the processing efficiency is low due to the fact that the processing method of the writing operation iscomplex for different types of paintbrushes in the prior art is solved.

Description

technical field [0001] The present invention relates to the field of data processing, in particular to a method and device for processing writing operations. Background technique [0002] At present, on various intelligent interactive devices, users can use the touch screen to perform drawing operations on the drawing board. Users can use different types of brushes for different operations. The commonly used types of brushes are shown in Table 1. [0003] Table 1 [0004] brush type drawing vector Use across threads concrete application canva pen Bitmap Yes pen, eraser OpenGL pen EGLSurface no Colored pencils, airbrush, crayons [0005] For a drawing operation that includes the above two types of brushes, the entire drawing process is as follows figure 1 As shown, you can use double-layer controls to stack up and down to complete the drawing of the Canvas pen and the OpenGL pen respectively. When the user switches the brush type, t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/448G06F8/65
CPCG06F9/4482G06F8/65
Inventor 张俊宇
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products