Graphical interface focus shape processing method and system
A graphical interface, focus technology, applied in the field of image processing, can solve problems such as sudden change of focus graphics
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] see figure 1 , the flow chart of the method for processing the focus shape of the graphical interface provided by Embodiment 1 of the present invention, the method includes the following specific steps:
[0029] Step S101, detecting the change of the focus position on the graphical interface;
[0030] In the embodiment of the present invention, the detection of whether the focus position has changed is judged by comparing the coordinate values of the horizontal position and the vertical position of the starting point focus and the landing point focus. When the coordinate values of the position are different or the coordinate values of the horizontal position and the vertical position are different, it means that the position of the landing point focus has changed.
[0031] In the embodiment of the present invention, before step S101 detecting the change of the focus position on the graphical interface, a step is further included: the user triggers the logic. The...
Embodiment 2
[0059] As another embodiment of the present invention, if the focus shape gradient scheme in step S103 of the method for processing the focus shape of the graphical interface provided by Embodiment 1 of the present invention is a smooth gradient between a regular polygon and a circle or between a circle and a regular polygon When planning, image 3 The flow chart of the method for the smooth gradient scheme between a regular polygon and a circle or between a circle and a regular polygon is shown, and the specific steps are as follows:
[0060] Step S301, calculating the chamfer radius r that changes with time;
[0061] Where r is the radius of the chamfering arc, and the initial value of r is 0. The formula for calculating r is:
[0062] Where R is the radius of the circumscribed circle of the polygon, and the total time of focus flight is t a , the current time is t, n is the number of sides of the regular polygon, and r changes with the uniform growth of time. It shoul...
Embodiment 3
[0080] As another embodiment of the present invention, if the focus figure shape gradient scheme in step S103 of the method for processing the focus shape of the graphical interface provided by Embodiment 1 of the present invention is a focus figure smooth scaling scheme, Figure 7 The flow of the method for the smooth zooming scheme of the focus graphics is shown, and the specific steps are as follows:
[0081] Step S701. Calculate the coordinate values (x, y) of the starting point focus figure;
[0082] In the embodiment of the present invention, the initial graphic shapes of the starting point focus are regular polygons or circles, and the coordinate values of the starting point focus figure are defined as (x 0 ,y 0 ), the scaling factor of the starting point focus is (k x0 , k y0 ), when the zoom factor is not (1,1), it means that the starting point focus figure is a polygon or an ellipse. The formula for calculating the coordinate value of the starting point focus...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com