A method for displaying and drawing a picture
A picture and screen display technology, applied in the field of computer graphics, can solve the problems of losing the perspective of pictures, consuming user time, and increasing user operations.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0075] The invention provides a method for displaying and drawing pictures,
[0076] When the user has only one monitor, the existing screen window needs to be maximized, and the following implementation steps are adopted:
[0077] (1) The user selects an image file to open in the program, creates a maximized window in the program, and obtains the width and height of the window;
[0078] (2) Analyze the image file to obtain the image width, height and image content;
[0079] (3) Calculate the ratio Fw of the window width divided by the picture width and the ratio Fh of the window height divided by the picture height and compare the two ratios, and take the minimum ratio F=(Fw>Fh)? Fh:Fw, if Fw>100% and Fh>100%, then take F=100%;
[0080] (4) Scale the content of the picture according to the proportional value F, and then draw it into the window, which is the background window showing the entire image;
[0081] (5) Draw a vertical slider control with scale on the left side o...
Embodiment 2
[0091] The invention provides a method for displaying and drawing pictures,
[0092] If the user has two monitors, the monitor can be set to the extended mode to make full use of the two screen windows, and the implementation steps are as follows:
[0093] (1) The user selects an image file to open in the program, creates a maximized window in the program, and obtains the width and height of the window;
[0094] (2) Analyze the image file to obtain the image width, height and image content;
[0095] (3) Calculate the ratio Fw of the window width divided by the picture width and the ratio Fh of the window height divided by the picture height and compare the two ratios, and take the minimum ratio F=(Fw>Fh)? Fh:Fw, if Fw>100% and Fh>100%, then take F=100%;
[0096] (4) Scale the content of the picture according to the proportional value F, and then draw it into the window, which is the background window showing the entire image;
[0097] (5) Draw a vertical slider control with...
Embodiment 3
[0108] The invention provides a method for displaying and drawing pictures,
[0109] If the user has three or more monitors, he can set the monitor to the extended mode, make full use of multiple screen windows, and form multiple extended monitors into a display array, so that the selected image area can be displayed in split screens in the display array. In order to increase the zoomable ratio and displayable area of the image, the following implementation steps are adopted:
[0110] (1) The user selects an image file to open in the program, creates a maximized window in the program, and obtains the width and height of the window;
[0111] (2) Analyze the image file to obtain the image width, height and image content;
[0112] (3) Calculate the ratio Fw of the window width divided by the picture width and the ratio Fh of the window height divided by the picture height and compare the two ratios, and take the minimum ratio F=(Fw>Fh)? Fh:Fw, if Fw>100% and Fh>100%, then tak...
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