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

Image-text display method and device for terminal page

A page and terminal technology, applied to program control devices, editing/combining graphics or text, user interface execution, etc., can solve problems such as the inability to correctly divide text and picture display areas

Active Publication Date: 2020-08-28
WUBA
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a method and device for displaying graphics and text on a terminal page to solve the problem that the display area for text and pictures cannot be correctly divided when displaying existing graphics and text

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 display method and device for terminal page
  • Image-text display method and device for terminal page
  • Image-text display method and device for terminal page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0072] figure 1 A flow chart of a method for displaying graphics and text on a terminal page provided by an embodiment of the present application, as shown in figure 1 As shown, the method includes:

[0073] S1. According to the height and width of a single character set in the reserved character display area of ​​the current page, and the area of ​​the reserved character display area, determine the maximum number of display characters in the reserved character...

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 embodiment of the invention provides an image-text mixed display method and device for a terminal page, and the method comprises the steps: firstly determining the maximum display character numberof a reserved character display region of a current page according to the height and width of a single character set in the reserved character display region of the current page and the area of the reserved character display region; and then, according to all the characters of the text to be displayed and the maximum number of the displayed characters, determining the displayed characters to be displayed in the reserved character display area; loading a to-be-displayed picture in the reserved picture display area, and loading the display character in the reserved character display area so asto display the to-be-displayed picture and the display character in the current page. Therefore, according to the image-text display method of the terminal page, the number of the characters which canbe displayed can be accurately determined, so that normal display of the displayed characters and the to-be-displayed picture is guaranteed, and the effect of displaying the characters and the picture at the same time is achieved.

Description

technical field [0001] The present application relates to the technical field of image and text processing, and in particular to a method and device for displaying images and texts on a terminal page. Background technique [0002] When developing an application interface, text and pictures need to be displayed on the same view. Most of the text is followed by a picture to achieve a vivid display effect. [0003] For the case of displaying a picture at the end of a text, usually the existing text display control can only display a picture at the end of the text when the text is displayed in a single line, but when the text is displayed in multiple lines, it can only Make the picture follow the entire text, which may cause incomplete display of the picture, or incomplete display of the text, and the typesetting of the text and the picture is not beautiful. At the same time, once the displayable area of ​​the current page is not enough to display all the text, there will be co...

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): G06F9/451G06T11/60G06F40/30
CPCG06F9/451G06T11/60G06F40/30
Inventor 曾鹏
Owner WUBA
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