CN114035731A - Method for locally amplifying software interface - Google Patents
Method for locally amplifying software interface Download PDFInfo
- Publication number
- CN114035731A CN114035731A CN202111360808.7A CN202111360808A CN114035731A CN 114035731 A CN114035731 A CN 114035731A CN 202111360808 A CN202111360808 A CN 202111360808A CN 114035731 A CN114035731 A CN 114035731A
- Authority
- CN
- China
- Prior art keywords
- software interface
- vector
- frame
- magnification
- regular shape
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method for locally amplifying a software interface, which relates to the technical field of software interface amplification.
Description
Technical Field
The invention relates to the technical field of software interface amplification, in particular to a local amplification method for a software interface.
Background
The electronic whiteboard is a new type of education equipment which is widely applied to the education field gradually and is generally equipped in an information classroom along with the development and popularization of computer technology, and electronic whiteboard software is a tool which is configured on the electronic whiteboard and used for performing actual teaching. The electronic whiteboard software mostly adopts technologies such as WPF or HTML5 and the like for drawing a program interface in a vector mode, some electronic whiteboard software is provided with a magnifier function at present for magnifying and displaying partial pictures on the electronic whiteboard, but the magnifiers are magnified in a bitmap mode, so that the magnified pictures can have obvious sawteeth, and the actual teaching demonstration effect is poor.
Disclosure of Invention
The technical problems solved by the invention are as follows: the invention provides a method for locally amplifying a software interface, which solves the problem that the amplified picture has saw teeth due to the amplification of the software interface.
The invention adopts the technical scheme for solving the technical problems that: the method for locally amplifying the software interface is characterized by comprising the following steps of:
s01, displaying a magnifying glass frame on the software interface, and obtaining the magnification;
s02, acquiring the position of the magnifier frame;
s03, obtaining the position of the vector diagram to be amplified according to the amplification factor and the position of the magnifier frame;
s04, carrying out vector amplification on the vector diagram according to the amplification factor to obtain an amplified vector diagram;
and S05, displaying the amplified vector diagram in the magnifier frame.
Further, in step S03, a regular shape is created such that the magnifier frame is located within the regular shape, and the position of the vector map to be magnified corresponding to the regular shape is obtained based on the magnification and the position of the regular shape, then in step S05, the portion of the vector map of the position corresponding to the magnifier frame in the regular shape is displayed within the magnifier frame.
Further, the regular shapes include circles, rectangles, and triangles.
Further, in step S04, the area of the enlarged vector image is equal to or larger than the area of the magnifier frame.
Furthermore, the user can adjust the shape and the magnification of the magnifier frame in real time according to the needs.
The invention has the beneficial effects that: the method for locally amplifying the software interface comprises the steps of obtaining the position of a vector diagram to be amplified through the amplification factor and the position of an amplification lens frame, then carrying out vector amplification according to the amplification factor to obtain the amplified vector diagram, and displaying the amplified vector diagram or a part of the amplified vector diagram in the amplification lens frame.
Drawings
FIG. 1 is a flow chart of a method for partially enlarging a software interface according to the invention.
Detailed Description
The method for partially amplifying the software interface of the invention, as shown in the attached figure 1, comprises the following steps:
s01, displaying a magnifying glass frame on the software interface, and obtaining the magnification;
s02, acquiring the position of the magnifier frame;
s03, obtaining the position of the vector diagram to be amplified according to the amplification factor and the position of the magnifier frame;
s04, carrying out vector amplification on the vector diagram according to the amplification factor to obtain an amplified vector diagram;
and S05, displaying the amplified vector diagram in the magnifier frame.
Further, in step S03, a regular shape is created such that the magnifier frame is located within the regular shape, and the position of the vector map to be magnified corresponding to the regular shape is obtained based on the magnification and the position of the regular shape, then in step S05, the portion of the vector map of the position corresponding to the magnifier frame in the regular shape is displayed within the magnifier frame.
Further, the regular shapes include circles, rectangles, and triangles.
Further, in step S04, the area of the enlarged vector image is equal to or larger than the area of the magnifier frame.
Furthermore, the user can adjust the shape and the magnification of the magnifier frame in real time according to the needs.
The first embodiment is as follows:
the present invention will be further explained by taking a rectangle as the shape of the magnifier frame and the magnification as the area magnification.
The method comprises the following steps: displaying a rectangular magnifying glass frame on the software interface, and obtaining the magnification;
specifically, the magnification is F.
Step two: acquiring the position of the rectangular magnifying glass frame;
specifically, one side of the rectangle is W, the other side of the rectangle is H, a rectangular coordinate system is established by taking the vertex of the upper left corner of the software interface as the origin of coordinates, and the coordinates of the vertex A of the upper left corner of the magnifying glass frame are (Xa, Ya).
Step three: obtaining the position of a vector diagram to be amplified according to the amplification factor and the position of the magnifier frame;
in particular, the vector diagram to be magnified is also rectangular, with one side thereof beingThe other side isThe coordinate of the top left vertex A' of the vector diagram to be enlarged isThe vector map position to be amplified can thereby be obtained.
Step four: and carrying out vector amplification on the vector diagram according to the amplification factor to obtain an amplified vector diagram.
Specifically, the magnified vector diagram completely coincides with the rectangular magnifier.
Step five: and displaying the amplified vector diagram in the magnifier frame.
In this embodiment, the position and either side of the rectangular magnifier frame can be adjusted in real time according to the needs of the user.
In addition, if the magnification is the magnification corresponding to each side, the formula of the side of the vector diagram to be magnified is changed according to the magnification, and the vertex coordinates of the vector diagram to be magnified are also changed correspondingly.
Example two:
if the shape of the magnifier frame is a circle, the steps are the same as those of the first embodiment, except that the formula adopted when the position of the vector diagram to be magnified is obtained is different, the magnification factor of the radius is obtained through the area formula of the circle, and the position is determined by the coordinates and the radius of the center of the circle of the vector diagram to be magnified.
In this embodiment, the position and radius of the circular magnifier frame can be adjusted in real time according to the needs of the user.
Example three:
if the magnifier frame is irregularly shaped, zooming is accomplished by:
the first step is as follows: displaying a rectangular magnifying glass frame on the software interface, and obtaining the magnification;
secondly, the following steps: acquiring the position of the rectangular magnifying glass frame;
the third step is: creating a regular shape, enabling the magnifier frame to be positioned in the regular shape, and obtaining the position of the vector diagram to be magnified corresponding to the regular shape according to the magnification and the position of the regular shape;
specifically, if the regular shape is a rectangle, the position of the vector diagram to be amplified is the same as the formula adopted in the first embodiment, and a regular shape such as a circle or a triangle can also be used to facilitate calculation.
The fourth step: carrying out vector amplification on the vector diagram according to the amplification factor to obtain an amplified vector diagram;
specifically, the area of the magnified vector image is larger than the area of the magnifier frame.
The fifth step: a portion of the vector map of the corresponding position of the magnifier frame within the regular shape is displayed within the magnifier frame.
In this embodiment, both the position and shape of the magnifier frame can be adjusted in real time according to the needs of the user.
Claims (5)
1. The method for locally amplifying the software interface is characterized by comprising the following steps of:
s01, displaying a magnifying glass frame on the software interface, and obtaining the magnification;
s02, acquiring the position of the magnifier frame;
s03, obtaining the position of the vector diagram to be amplified according to the amplification factor and the position of the magnifier frame;
s04, carrying out vector amplification on the vector diagram according to the amplification factor to obtain an amplified vector diagram;
and S05, displaying the amplified vector diagram in the magnifier frame.
2. The method for local enlargement of a software interface according to claim 1, wherein in step S03, a regular shape is created such that the magnifier frame is located within the regular shape, and the vector map position to be enlarged corresponding to the regular shape is obtained according to the magnification and the position of the regular shape, then in step S05, the portion of the vector map corresponding to the position of the magnifier frame within the regular shape is displayed within the magnifier frame.
3. The method of software interface partial magnification as recited in claim 2, wherein the regular shape includes a circle, a rectangle, and a triangle.
4. The method for local enlargement of a software interface according to any one of claims 1-3, wherein in step S04, the area of the enlarged vector image is greater than or equal to the area of the magnifier frame.
5. The method for local magnification of a software interface according to any one of claims 1 to 3, wherein the shape and magnification of the magnifier frame are adjusted by the user in real time as required.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111360808.7A CN114035731A (en) | 2021-11-17 | 2021-11-17 | Method for locally amplifying software interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111360808.7A CN114035731A (en) | 2021-11-17 | 2021-11-17 | Method for locally amplifying software interface |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114035731A true CN114035731A (en) | 2022-02-11 |
Family
ID=80138007
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111360808.7A Pending CN114035731A (en) | 2021-11-17 | 2021-11-17 | Method for locally amplifying software interface |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114035731A (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05165459A (en) * | 1991-12-19 | 1993-07-02 | Toshiba Corp | Enlarging display system |
| US20100083192A1 (en) * | 2008-09-26 | 2010-04-01 | Microsoft Corporation | Variable screen magnifier user interface |
| CN102033725A (en) * | 2009-09-28 | 2011-04-27 | 英业达股份有限公司 | Zooming display interface, system and method for real-time operation setting |
| CN102662566A (en) * | 2012-03-21 | 2012-09-12 | 中兴通讯股份有限公司 | Magnifying display method and terminal for screen content |
| CN103547988A (en) * | 2011-04-07 | 2014-01-29 | 阿尔科斯公司 | Method for selecting elements of user interface and device for implementing the method |
| CN106327545A (en) * | 2016-08-19 | 2017-01-11 | 江苏中威科技软件系统有限公司 | Vector line amplification drawing method |
| CN106897321A (en) * | 2015-12-21 | 2017-06-27 | 北京国双科技有限公司 | The method and device of show map data |
-
2021
- 2021-11-17 CN CN202111360808.7A patent/CN114035731A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05165459A (en) * | 1991-12-19 | 1993-07-02 | Toshiba Corp | Enlarging display system |
| US20100083192A1 (en) * | 2008-09-26 | 2010-04-01 | Microsoft Corporation | Variable screen magnifier user interface |
| CN102033725A (en) * | 2009-09-28 | 2011-04-27 | 英业达股份有限公司 | Zooming display interface, system and method for real-time operation setting |
| CN103547988A (en) * | 2011-04-07 | 2014-01-29 | 阿尔科斯公司 | Method for selecting elements of user interface and device for implementing the method |
| CN102662566A (en) * | 2012-03-21 | 2012-09-12 | 中兴通讯股份有限公司 | Magnifying display method and terminal for screen content |
| CN106897321A (en) * | 2015-12-21 | 2017-06-27 | 北京国双科技有限公司 | The method and device of show map data |
| CN106327545A (en) * | 2016-08-19 | 2017-01-11 | 江苏中威科技软件系统有限公司 | Vector line amplification drawing method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108267154B (en) | Map display method and device | |
| CN103093484B (en) | A kind of method of remote sensing image batch integrated with vector data drawing | |
| CN101783091B (en) | Method for displaying a map | |
| CN100587722C (en) | map display device | |
| US20060267803A1 (en) | Non-perspective variable-scale map displays | |
| HK1221320A1 (en) | Method and apparatus for processing image in mobile terminal device | |
| CN112528707B (en) | Image processing method, device, equipment and storage medium | |
| CN114648615B (en) | Method, device and equipment for controlling interactive reproduction of target object and storage medium | |
| CN113407080B (en) | Method, device, computer equipment and storage medium for generating component labels | |
| WO2020259152A1 (en) | Sticker generating method and apparatus, and medium and electronic device | |
| CN100561466C (en) | A device and method for drawing a seam stamp in an electronic document | |
| CN114035731A (en) | Method for locally amplifying software interface | |
| CN113673309B (en) | Method, system and medium for identifying hand-drawn form | |
| CN112927327B (en) | Three-dimensional visualization method for biomedical platform data map | |
| US8035658B2 (en) | Bifocal display device and bifocal display method | |
| WO2016054859A1 (en) | Electronic map hierarchical management method | |
| CN108548532A (en) | Blind man navigation method, electronic equipment and computer program product based on cloud | |
| JPH04149681A (en) | Simplified generation system for three-dimensional data from two-dimensional data | |
| CN111429549A (en) | Route image generation method and device and storage medium | |
| JPH0729022A (en) | Straight line drawing device | |
| JPH0439712B2 (en) | ||
| JP3605616B2 (en) | Recording medium recording figure editing program, figure editing method and apparatus | |
| CN111275614A (en) | Method for realizing lossless image scaling | |
| JPH04326474A (en) | Picture display device | |
| Schmieder et al. | Visual guides for comprehending digital ink in distortion lenses |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220211 |
|
| RJ01 | Rejection of invention patent application after publication |