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.

Active Publication Date: 2019-03-08
湖南维元健康科技有限公司
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the picture is relatively large or the enlarged size is larger than the interface window, the entire picture cannot be directly displayed in the window interface, and the vertical scroll bar and horizontal scroll bar are unhidden. At this time, the vertical scroll bar and the horizontal scroll bar need to be moved to move The desired partial picture is moved to the window interface, but at this time the user loses the overall perspective of the picture, or the user can stretch the interface window (if the interface window allows stretching), but the user does not stretch the interface window. There is a limit, this limitation is the limit of the display screen, the part that the user stretches beyond the size of the display screen is invisible, and the user will still lose the overall perspective of the picture
At this time, if the user needs to check the overall effect of the picture, or confirm the position of a certain part of the picture in the whole picture, he needs to switch the size of the picture back and forth, and frequently shrink and enlarge the picture, which increases the user's operation and consumes a lot of time. The user's time also caused inconvenience to the user

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

Examples

Experimental program
Comparison scheme
Effect test

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...

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 provides a method for displaying and drawing a picture. The method is especially suitable for high-resolution and large-scale pictures. By displaying the whole picture through a background window, the foreground floating window amplifies and displays part of the picture and can be edited and drawn, the edited and drawn result synchronously displays the overall effect in the whole background picture, so that a user can conveniently and quickly browse an image and analyze details, the local and overall relation of the image can be more easily mastered, the effect of conveniently drawing and mastering the image can be further achieved, and the method can be used for art teaching, industrial design, software art designing, artwork high-definition scanning image analysis and the like.

Description

technical field [0001] The invention belongs to the technical field of computer images, and in particular relates to a method for displaying and drawing pictures. Background technique [0002] Existing picture display and drawing are carried out directly in a window interface with vertical scroll bar and horizontal scroll bar. When the picture is relatively small or the scaled size is smaller than the interface window, the whole picture can be directly displayed in the window interface, vertically Scrollbars and horizontal scrollbars are hidden. However, when the picture is relatively large or the enlarged size is larger than the interface window, the entire picture cannot be directly displayed in the window interface, and the vertical scroll bar and horizontal scroll bar are unhidden. At this time, the vertical scroll bar and the horizontal scroll bar need to be moved to move The desired partial picture is moved to the window interface, but at this time the user loses the ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/0484G06F3/0481G06T11/00
CPCG06F3/0481G06F3/04845G06T11/00G06F2203/04806
Inventor 刘伟彭劲
Owner 湖南维元健康科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products