Unlock instant, AI-driven research and patent intelligence for your innovation.

Drawing method for dynamically drawing curve with gradual change shadows on mobile phone screen

A mobile phone screen, dynamic technology, applied in the direction of program control device, user interface execution, etc., can solve the problem of unable to draw the data curve gradient background, etc., to prevent the interface from being stuck and improve the efficiency.

Inactive Publication Date: 2018-01-30
NANJING COLLEGE OF INFORMATION TECH
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional method cannot draw the gradient background under the data curve. This technical solution mainly solves this problem

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
  • Drawing method for dynamically drawing curve with gradual change shadows on mobile phone screen
  • Drawing method for dynamically drawing curve with gradual change shadows on mobile phone screen

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Below in conjunction with accompanying drawing and specific embodiment the present technical scheme is further described:

[0020] like figure 1 , a drawing method for dynamically drawing a curve with gradient shading to the screen of a mobile phone, the steps include: 1) parameter configuration; 2) data cache; 3) dynamic refresh; 4) layer drawing;

[0021] The step 1) parameter configuration includes cache parameter configuration, color configuration, timer configuration, and coordinate parameter configuration;

[0022] Among them, in each configuration process, the cache parameters, color configuration, and timer configuration are configured once after the system is initialized to reduce the amount of calculation for layer drawing, and the coordinate configuration is configured during the layer drawing process;

[0023] The step 2) data caching includes caching data and updating reference points;

[0024] Cache the real-time data into the dynamically allocated memor...

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 discloses a drawing method for dynamically drawing a curve with gradual change shadows on a mobile phone screen. The method comprises the steps of (1) parameter configuration, includingcache parameter configuration, color configuration, timer configuration and coordinate parameter configuration, wherein in all the configuration processes, cache parameter configuration, color configuration and timer configuration are performed at a time after system initialization, the operation amount of layer drawing is reduced, and coordinate configuration is performed in the layer drawing process; (2) data caching, including caching of data and update of reference points, wherein real-time data is cached and dynamically allocated into a memory, a current position is marked, and if the range of caching length of the dynamically allocated data is exceeded, caching is continued from a starting position, the screen is refreshed, and the reference points are updated; (3) dynamic refreshing, wherein screen timing refreshing is set, the set refreshing rate is kept consistent with the screen refreshing rate of an operating system; and (4) layer drawing, including data boundary processing,coordinate calculation, drawing parameter configuration and curve drawing and gradual changing.

Description

technical field [0001] The technical proposal relates to a scheme for dynamically drawing curves, in particular to a method for drawing real-time curves with a dynamic gradient background, which belongs to the field of software. Background technique [0002] In the prior art, there are many methods for drawing pixels to the mobile phone screen. The APIs used by IOS to implement graphics programming include: UIKIT, Core Graphics, OpenGL ES, GLKit, etc. The drawing operations included in these APIs are all drawn in a graphics environment. For example, UIKIT is a set of Objective-c APIs for basic line graphics, color manipulation, 2D rendering, image processing, and animation at the user interface level. OpenGL ES is a set of open-function standard C-based graphics library for sneaking into the system. It is used for the visualization of 2D and 3D data. It can realize the hardware acceleration of GPU. The GPU executes graphics commands and can realize the drawing of complex gra...

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/451
Inventor 朱启文周亚凤刘豫东
Owner NANJING COLLEGE OF INFORMATION TECH