Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

View drawing method and device, electronic equipment and storage medium

A view and memory technology, applied in the field of view rendering and view rendering devices, can solve the problems of poor compatibility of view rendering and high learning costs

Active Publication Date: 2020-03-27
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF16 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present disclosure provides a view rendering method, a view rendering device, an electronic device and a storage medium, so as to at least solve the technical problems of poor view rendering compatibility and high learning costs in related technologies

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
  • View drawing method and device, electronic equipment and storage medium
  • View drawing method and device, electronic equipment and storage medium
  • View drawing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0061] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 relates to a view drawing method and device, electronic equipment and a storage medium. The method comprises the following steps: building a preset base class inheriting a view control base class, and enabling the preset base class to be provided with an interface for achieving a view drawing function; when a target view needs to be drawn, detecting that the preset base class has aninterface for realizing a view drawing function, starting an asynchronous thread, and creating a context of the bitmap by the asynchronous thread based on the preset base class, so that the drawing operation of the target view is asynchronously carried out in the context of the bitmap; after the drawing operation of the target view is completed, generating a picture according to the context of thebitmap; presenting pictures through a main thread. According to the embodiment of the invention, when the preset base class is created, the preset base class is set to have the interface for realizing the view drawing function, the asynchronous thread can be started, and the drawing operation on the target view is asynchronously executed in the context of the asynchronous thread bitmap. And the created preset base class inherits from the view control base class, so that programming personnel do not need to re-encode to construct the logic of drawing the view.

Description

technical field [0001] The present disclosure relates to the technical field of image processing, and in particular to a view rendering method, a view rendering device, electronic equipment and a storage medium. Background technique [0002] The view drawing function is the basic function of the application in the iOS system. In the iOS system, the view drawing operation is mainly performed on the main thread. When the view is complex, the main thread will be blocked, which will cause the application to freeze and affect the user experience. [0003] In order to overcome the above problems in the related art, a scheme of transferring the view drawing operation to an asynchronous thread for execution is proposed, but the process and logic of the view drawing operation in the related art are very different from the process and logic of the iOS system’s own view drawing operation, requiring programming Personnel rewrite a large amount of code to achieve, the learning cost is hi...

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
IPC IPC(8): G06T15/20
CPCG06T15/20
Inventor 李杨威任童童
Owner BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products