Unlock instant, AI-driven research and patent intelligence for your innovation.

Element rendering method and device, storage medium and computer equipment

An element, local storage technology, applied in the field of image processing, can solve the problem of inflexible text drawing, and achieve the effect of reducing drawing time and high practicability

Active Publication Date: 2020-11-06
广州腾讯科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide an element rendering method, device, computer-readable storage medium and computer equipment for the technical problem that the text drawing in the traditional solution is not flexible enough

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
  • Element rendering method and device, storage medium and computer equipment
  • Element rendering method and device, storage medium and computer equipment
  • Element rendering method and device, storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0041] figure 1 An application environment diagram of an element rendering method in an embodiment. refer to figure 1 , the element rendering method applied to the element rendering system. The element rendering system includes a terminal 110 and a server 120 . Terminal 110 and server 120 are connected via a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 can be implemented by an indepen...

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 an element rendering method and apparatus, a computer readable storage medium and a computer device. The method comprises the steps of obtaining at least one to-be-rendered element and target display positions corresponding to the to-be-rendered elements; sequentially searching each element to be rendered from a locally stored element bitmap; when the to-be-rendered elements are found in the element bitmap, determining the arrangement positions of the to-be-rendered elements in the element bitmap; when the to-be-rendered elements are not found in the element bitmap, the to-be-rendered elements which are not found are drawn in the idle area of the element bitmap, and the arrangement positions of the drawn to-be-rendered elements in the element bitmap are determined;and after determining the arrangement position of each to-be-rendered element in the element bitmap, triggering to render and display each to-be-rendered element at a corresponding target display position according to the element bitmap of each to-be-rendered element and the arrangement position of each to-be-rendered element in the element bitmap. According to the scheme provided by the invention, the rendering elements can be efficiently drawn.

Description

technical field [0001] The present application relates to the technical field of image processing, in particular to an element rendering method, device, computer-readable storage medium and computer equipment. Background technique [0002] With the development of computer technology, there are more and more application programs that can run on computer equipment, such as browser applications or game applications. Applications such as browser applications or game applications often need to perform font drawing through OpenGL (Open Graphics Library, open graphics library) when providing corresponding functions. [0003] In the traditional solution, in order to realize the drawing of arbitrary characters, font parsers such as freetype (a portable font parser) are usually integrated in the application program to realize the drawing and rendering of arbitrary characters. But integrating a font parser in an application will increase the size of the application. In order to avoid...

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): G06T11/00G06T11/60
CPCG06T11/001G06T11/60G06F16/9577G06F40/109G06F16/2237G06F16/248G06T11/203
Inventor 雷丹雄
Owner 广州腾讯科技有限公司