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

Graphic and text drawing method, device, computer-readable storage medium and computer equipment

A technology for graphics, text and drawing areas, applied in the computer field, can solve problems such as low drawing efficiency, and achieve the effect of improving drawing efficiency, saving time and resources

Active Publication Date: 2021-07-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Based on this, it is necessary to provide a method, device, computer-readable storage medium and computer equipment for the technical problem of low drawing efficiency of traditional text typesetting technology

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
  • Graphic and text drawing method, device, computer-readable storage medium and computer equipment
  • Graphic and text drawing method, device, computer-readable storage medium and computer equipment
  • Graphic and text drawing method, device, computer-readable storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] 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.

[0034] figure 1 It is an application environment diagram of the graphic and text rendering method in one embodiment. refer to figure 1 , the graph-text rendering method is applied to a graph-text rendering system. The graphics and text drawing 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 ...

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 present application relates to a graphic-text drawing method, device, computer-readable storage medium, and computer equipment. The method includes: first adding a style tag to a character string to be processed to obtain a character string containing the style tag, and then unifying the character string containing the style tag Perform string analysis to obtain the analysis results, and then directly calculate the drawing area of ​​the string to be processed based on the analysis results and draw graphics and texts in the drawing area based on the analysis results. Because the string analysis step is added after the style tag is added, the analysis results required for the subsequent calculation of the drawing area and graphics and text drawing are obtained, so the calculation of the drawing area and graphics and text drawing can be realized by directly using the analysis results. This avoids the traditional method of traversing the code points of character strings containing style tags every time when calculating the drawing area and drawing graphics and texts, saving time and resources, and greatly improving drawing efficiency.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for drawing graphics and text, a computer-readable storage medium and computer equipment. Background technique [0002] With the popularization of computers and the rapid development of Internet technology, text in common format can no longer meet the diverse needs of users, so text in rich text format appears. The so-called rich text format is RTF (Rich TextFormat), also translated into multi-text format. The text with rich text format is called rich text. Compared with ordinary text, rich text has rich formatting, so it makes rich text more readable. However, the emergence of rich text also puts forward higher requirements for text typesetting technology. Traditional text typesetting technology has low drawing efficiency and cannot meet the drawing needs of rich text. Contents of the invention [0003] Based on this, it is necessary to provid...

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 Patents(China)
IPC IPC(8): G06F40/103G06F40/126
Inventor 李娜芬梁百怡
Owner TENCENT TECH (SHENZHEN) 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