Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for realizing scaling of electronic map drawn by GDI (graphic device interface)+

An electronic map and equation technology, applied in the field of image processing, can solve problems such as large amount of calculation and inconvenient use, and achieve the effect of easy zooming, convenient zooming, and easy zooming

Inactive Publication Date: 2014-07-16
NANJING UNIV OF INFORMATION SCI & TECH
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The general method used to solve the above problems is to use the computer graphics zoom matrix to recalculate the coordinates of the displayed electronic map. Although this method can achieve the zoom effect, it involves zooming the selected area after zooming. Displaying on the original display surface also needs to recalculate each drawing point, which is inconvenient to use and requires a large amount of calculation
In the prior art, there is a lack of a convenient method that can realize the zooming and zooming of the electronic map and optimize the display results according to the size change of the drawing canvas and the simple recalculation of the coordinates

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing scaling of electronic map drawn by GDI (graphic device interface)+
  • Method for realizing scaling of electronic map drawn by GDI (graphic device interface)+
  • Method for realizing scaling of electronic map drawn by GDI (graphic device interface)+

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:

[0044] The basis of this method is that the size of the drawing surface in GDI+ is known. Drawing graphics using GDI+ is regarded as drawing on a canvas. The size of the canvas changes according to the width and height of the obtained drawing surface, and GDI+ can Translate, scale and rotate the canvas while recording the size of the canvas. Finally, the drawing surface can display the whole canvas, or just a certain part of the canvas.

[0045] The schematic flow chart of the present invention is as figure 1 shown, including:

[0046] 1. Record the width and height of the display area as the initial width and height of the canvas;

[0047] 2. Change the width and height of the canvas according to the selected area or the desired scaling ratio;

[0048] 3. Convert the coordinate data into the coordinates of the display area, and use the new coo...

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 discloses a method for realizing scaling of an electronic map drawn by GDI (graphic device interface)+. The method includes that a proportion relationship between drawing surface, namely display surface and canvas size for graphic drawing in GDI+ is utilized to realize scaling of the electronic map; size of the drawing surface in the GDI+ is known, using the GDI+ for graphic drawing can be taken as drawing on the canvas, size of the canvas can be changed by changing acquired width and height of the drawing surface, and the size of the canvas can be recorded while operations like translation and scaling rotation can be performed on the canvas in the GDI+, and the drawing surface can display the whole canvas or a certain part of the canvas. By the method, scaling and optimizing of display effect after scaling can be effectively realized, and scaling and displaying after scaling of a selected area are simplified. In addition, the method is suitable for interactive operation of the electronic map and other graphs.

Description

technical field [0001] The invention discloses a method for realizing GDI+ drawing electronic map scaling, which relates to the field of image processing. Background technique [0002] Using GDI+ (Graphics Device Interface, graphics device interface), the main task of GDI+ is to be responsible for the information exchange between the system and the drawing program, and to handle the graphics output of all Windows programs. When the drawn electronic map realizes the interactive operation, the translation and rotation can be realized directly and relatively perfectly by using the methods in the Graphics class in GDI+. However, after using the method of the Graphics class during zooming, the displayed dot symbols become larger and the line symbols become thicker, etc. These changes will cause abnormal display of the electronic map. The general method used to solve the above problems is to use computer graphics zoom matrix to recalculate the coordinates of the displayed electro...

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
IPC IPC(8): G06F9/44G06F17/30
Inventor 路明月刘彬郑建琴邵一丹姜丽毕硕本范晓梅刘爱利
Owner NANJING UNIV OF INFORMATION SCI & TECH