Method and device for realizing mixed layout of graphics and text

A technology for shuffling images and texts and implementing methods, applied in the Internet field, can solve problems such as time-consuming

Active Publication Date: 2021-01-01
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the text tool essentially treats all content as a unique string of text, but replaces the text placeholders with pictures. The more pictures that are mixed and matched in the text, the more pictures need to be replaced, so it is very time-consuming

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
  • Method and device for realizing mixed layout of graphics and text
  • Method and device for realizing mixed layout of graphics and text
  • Method and device for realizing mixed layout of graphics and text

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0029] It should be noted that like numerals and let...

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 belongs to the Internet technical field and relates to an image-text mixed layout implementation method and device. The image-text mixed layout implementation method and device are both applied to an electronic device. The image-text mixed layout implementation method includes the following steps that: independent image elements and text elements are created; images are obtained through value-assigned image addresses in the image elements; texts are obtained through value-assigned text content in the text elements; the obtained images and texts are drawn on the canvas of the electronic device sequentially; and when the total width of the images and the texts exceeds the width of the screen of the electronic device, a line is fed, so that the images and texts can be displayed on the screen of the electronic device so as to be viewed by a user. According to the image-text mixed layout implementation method and device of the invention, the images and texts are defined as the independent elements, so that the images and texts can be obtained, the automatic line feeding of the images and the texts is realized, an image-text mixed layout function is realized, system operation is simple, and system operation time can be saved.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular, to a method and device for realizing mixed arrangement of images and texts. Background technique [0002] Currently there is a text tool in the system, TextView, which can be used in conjunction with the composite text constructor SpannableStringBuilder to achieve mixed graphics and text to a certain extent, but this text tool is mainly used to display plain text, and the implementation of mixed graphics and text is limited. Using this text tool to realize graphic and text mixing is mainly to use the text placeholder to occupy the position of the picture that needs to be inserted, and then assign the picture that actually needs to be inserted to the defined picture element, and then read the occupied space of the text placeholder. position, insert the picture element into the corresponding position, and then realize the mixed arrangement of pictures and texts. Therefo...

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): G06T11/60
CPCG06T11/60
Inventor 霍启圣张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH 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