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

Image-text drawing method and device, computer readable storage medium and computer device

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

Active Publication Date: 2019-06-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF13 Cites 5 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
  • Image-text drawing method and device, computer readable storage medium and computer device
  • Image-text drawing method and device, computer readable storage medium and computer device
  • Image-text drawing method and device, computer readable storage medium and computer device

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 invention relates to an image-text drawing method and device, a computer readable storage medium and a computer device. The method comprises the following steps: firstly, a style label is added toa to-be-processed character string to obtain a character string containing the style label, then character string analysis is conducted on the character string containing the style label in a unifiedmode to obtain an analysis result, and then a drawing area of the to-be-processed character string can be directly calculated according to the analysis result and image-text drawing is conducted in the drawing area according to the analysis result. Due to the fact that the character string analysis step is added after the style label is added, the analysis result needed by subsequent calculationof the drawing area and the image-text drawing is obtained, and the calculation of the drawing area and the image-text drawing can be achieved by directly using the analysis result. Therefore, code point traversal of the character string containing the style label each time when the drawing area and the image-text are calculated in a traditional method is avoided, time and resources are saved, andthe drawing efficiency is greatly improved.

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 Applications(China)
IPC IPC(8): G06F17/21G06F17/22
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