Method and device for drawing auxiliary graphs and information terminal

A technology for assisting graphics and information terminals, applied in the field of information processing, can solve problems such as low efficiency, and achieve the effect of simple drawing process

Active Publication Date: 2013-02-13
SHENZHEN SHI JI GUANG SU INFORMATION TECH
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a method for drawing auxiliary graphics, which aims to solve the problem of low efficiency in drawing auxiliary graphics in the prior art

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 drawing auxiliary graphs and information terminal
  • Method and device for drawing auxiliary graphs and information terminal
  • Method and device for drawing auxiliary graphs and information terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] figure 1 The implementation flow of the auxiliary graphics drawing method provided by Embodiment 1 of the present invention is shown, and the process of the method is described in detail as follows:

[0021] In step S101, a font file is stored, and the font file includes a pre-drawn glyph pattern and a mapping relationship between the glyph pattern and a font, and the mapping relationship includes one-to-one or many-to-one.

[0022] In this embodiment, font files are stored, and the font files include but are not limited to pre-drawn glyph patterns and the mapping relationship between the glyph patterns and fonts, specifically the unified code (unicode) between the glyph patterns and the fonts. encoding) mapping relationship. Wherein, the mapping relationship includes one-to-one or many-to-one.

[0023] Preferably, the glyph pattern is drawn by vector font making software (for example: FontCreator).

[0024] For example: use FontCreator software to draw the glyph pat...

Embodiment 2

[0030] figure 2 It shows the implementation flow of the auxiliary graphics drawing method provided by Embodiment 2 of the present invention, and the process of the method is described in detail as follows:

[0031] In step S201, when the mapping relationship between drawn glyph patterns and fonts is many-to-one, draw different glyph patterns corresponding to the same font in the same position of the font, or store different glyph patterns corresponding to different fonts in the same position and store them in the font document.

[0032] In this embodiment, the implementation of the many-to-one mapping relationship includes but is not limited to the following two: one is to use multiple identical fonts, and each font corresponds to a part of the entire drawing pattern, that is, drawing the same font at the same position corresponds to of different glyph patterns. For example: Draw the glyph pattern corresponding to the first character "笑" at a certain position (including t...

Embodiment 3

[0044] image 3 The composition structure of the auxiliary graphics drawing device provided by the third embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0045]The auxiliary graphics drawing device can be a software unit, a hardware unit or a combination of software and hardware running in the information terminal, or it can be integrated into these information terminals as an independent pendant or run in the application systems of these information terminals.

[0046] The auxiliary graphics drawing device includes a storage unit 31 and a display unit 32 . Among them, the specific functions of each unit are as follows:

[0047] The storage unit 31 is used to store a font file, the font file includes a pre-drawn glyph pattern and a mapping relationship between the glyph pattern and the font, specifically the mapping relationship between the glyph pattern and the...

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

This invention is applicable to the technical field of information processing, providing a method and a device for drawing auxiliary graphs and an information terminal. The method comprises the following steps of A, storing a font file, wherein the font file comprises a pre-drawn glyph pattern and a mapping relation between the glyph pattern and a font, and the mapping relation comprises one-to-one or many-to-one; and B, loading the font file through a font loading port, and displaying the corresponding glyph pattern on an interface when drawing the font at the font loading port. According to the method, the device and the information terminal, the definition of the interface pattern can be effectively ensured, and a process of drawing the interface pattern is simpler and more efficient.

Description

technical field [0001] The invention belongs to the technical field of information processing, and in particular relates to a method, a device and an information terminal for assisting graphics drawing. Background technique [0002] Auxiliary graphics are formed by using simple shapes such as dots, straight lines, arcs, rectangular areas, and color surfaces as the basic unit type, and performing various permutations and combinations according to the needs of the design theme. Auxiliary graphics can effectively assist the application of the system interface, enrich the content of the interface, and maximize the use value of graphic elements. [0003] At present, the drawing of auxiliary graphics mostly adopts the following two methods: one is to realize by writing codes. This way, when the structure of auxiliary graphics is complex or the auxiliary graphics need to be changed frequently, the work of writing codes is relatively large, which will seriously affect work efficien...

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): G06T11/20
Inventor 徐龙
Owner SHENZHEN SHI JI GUANG SU INFORMATION TECH
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