Method and device of displaying icon

A technology for displaying icons and icons, applied in the computer field, can solve the problem of large storage resources and achieve the effect of less storage resources and high rendering efficiency

Active Publication Date: 2018-11-02
TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For applications that support high DPI, since two sets of

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 of displaying icon
  • Method and device of displaying icon
  • Method and device of displaying icon

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0048] An embodiment of the present invention provides a method for displaying icons, and the subject of execution of the method may be a mobile terminal. The terminal can be a mobile phone, a tablet computer, etc., and the mobile terminal can be provided with a processor, a transceiver, and a memory. The processor can be used to process related processing in the process of displaying icons, and the transceiver can be used to receive and send messages. The memory It can be used to store the data required and generated in the process of displaying icons. The mobile terminal may also include input and output devices such as a screen for displaying an interface. In this embodiment of the present invention, a mobile phone is used as an ex...

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 provides a method and a device of displaying an icon, and belongs to the field of computer technology. The method includes: acquiring DPI (dots per inch) of a screen; and if the DPI is not equal to a preset value, acquiring a vector picture, which corresponds to the to-be-displayed icon, from a preset ttf font file through a text rendering component, and displaying the vector pictureaccording to the DPI. By adopting the method, occupied storage resources can be enabled to be fewer.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for displaying icons. Background technique [0002] With the development of computer technology, terminals with high DPI (Dots Per Inch, dots per inch) screens are becoming more and more popular. In order to enable applications to be displayed on high DPI screens, terminals can use 2 times the image to display. [0003] In the related technology, two bitmaps of the icon (dot matrix pixel data of the icon) are set in the installation package of the application program, one of which is the original dot matrix pixel data of the icon, and the other is the original dot matrix pixel data of the icon The data doubles the lattice pixel data. In this way, when the terminal loads the icon to be displayed, it acquires the icon according to the screen DPI, and displays the icon. [0004] In the process of realizing the present invention, the inventors have found that...

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): G06T3/40G06T11/00G06F17/30
CPCG06T3/40G06T11/001
Inventor 魏亮
Owner TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN 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