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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

