Adaptive layout programming method
A programming method and self-adaptive technology, applied in the direction of program control devices, software engineering design, instruments, etc., can solve the problems of inability to adjust the layout, heavy programming workload, occupying system resources, etc., to achieve good display, simplification of programs, and code reduction Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] The principle of the present invention will now be further described in conjunction with preferred embodiments shown in the accompanying drawings.
[0035] Depend on figure 1 As can be seen, the present invention comprises the following steps:
[0036] 1) Obtain parameters such as device pixel ratio DPR or screen density Density, screen pixel width SW, screen pixel height SH, horizontal and vertical screen status, current window pixel width CW, current window pixel height CH;
[0037] 2) Set the adaptive initial unit M0 according to the above equipment parameters;
[0038] 3) An interface is set for the user to select the scaling factor SF, and the adaptive basic unit M is obtained by multiplying the adaptive initial unit M0 by the scaling factor SF;
[0039] 4) Use M as the basic unit to calculate the standard outer spacing, standard inner spacing, proportional style, fixed style, complementary style, adaptive style, proportional style, font size;
[0040] 5) Apply ...
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