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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 