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

Method and device for drawing interface elements

A technology of interface elements and pixels, applied in the computer field, can solve the problem of uncontrollable storage resources and achieve the effect of overcoming uncontrollable storage resources and saving labor costs

Active Publication Date: 2021-03-23
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on this, it is necessary to provide a method and device for drawing interface elements in order to solve the problem that the storage resources occupied by drawing controls through textures are uncontrollable.

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 interface elements
  • Method and device for drawing interface elements
  • Method and device for drawing interface elements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the object, technical solution and advantages of the present invention clearer, the present invention 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 invention, not to limit the present invention.

[0028] Such as figure 1 As shown, in one embodiment, an electronic device 100 for implementing the method for drawing interface elements is provided, including a processor, a memory, a storage medium, and a display screen connected through a system bus. Wherein, the storage medium of the electronic device 100 stores an operating system and an apparatus for drawing interface elements, and the apparatus for drawing interface elements is used to implement a method for drawing interface elements. The processor of the electronic device has calculation and control capabilities, and the processor is conf...

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 an interface element drawing method and device. The method comprises the steps of acquiring a foreground reference image of an interface element and a corresponding background image; determining an image mixing mode of the foreground reference image and the background image; according to the computing mode corresponding to the determined image mixing mode, performing pixel substitution on the foreground reference image to obtain a to-be-drawn foreground image; drawing the to-be-drawn foreground image. The interface element drawing method and device have the advantages that a visual effect more consistent with the current color style of an interactive interface can be achieved through image mixing and there is no need to design various mapping resources in advance for interfaces of various color styles, so that the problem of uncontrollability of storage resources occupied by the mapping resources and the manpower cost required for designing the various mapping resources can be saved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for drawing interface elements. Background technique [0002] In computer applications, a control, or component, is an interface element of an interactive interface that provides a single point of interaction for direct manipulation of given data. Users can interact with the application through controls. [0003] At present, the drawing control is mainly realized through the texture method. Drawing a control includes two components, the control display content and the background, and the display content includes text and icons. Usually, the texture resources required for drawing the control will be included in the skin resource of the application. On the designated area of ​​the interactive interface of the application, drawing the corresponding texture resource according to the need realizes the drawing of the control. [0004] However, the interactive i...

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): G06F9/451G06F3/0481
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