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

Method for simultaneously scaling multiple WPF (Windows presentation foundation) windows and device

A form and zoom technology, applied in the field of interactive display, can solve problems such as low animation efficiency, inconsistent form changes, and occupation of system resources.

Active Publication Date: 2012-07-18
HUAWEI TEHCHNOLOGIES CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the general way to make a window animate when it is closed or opened is to directly animate the size and position of the WPF form so that it changes with the time axis; but when multiple WPF windows are opened or closed at the same time, the The animation will have inconsistent window changes, which will reduce the user experience; the animation efficiency is low and the system resources are seriously occupied

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 simultaneously scaling multiple WPF (Windows presentation foundation) windows and device
  • Method for simultaneously scaling multiple WPF (Windows presentation foundation) windows and device
  • Method for simultaneously scaling multiple WPF (Windows presentation foundation) windows and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] For ease of understanding, the following will be described in conjunction with the accompanying drawings.

[0032] This invention proposes a method for scaling multiple WPF windows at the same time, please refer to figure 1 , including the steps:

[0033] 101. Create a new image zoom control;

[0034] Create a new image zoom control, and set the parent of the image zoom control to the WPF application.

[0035] 102. Obtain the conversion relationship from the screen coordinate system to the WPF application program coordinates;

[0036] Obtain the conversion relationship from the position of the WPF form relative to the screen plane coordinate system to the position of the WPF form relative to the plane coordinate system of the main form of the WPF application.

[0037] As a specific real-time method, the following steps can be adopted:

[0038] Obtain the coordinates of the mouse cursor relative to the coordinate system of the screen plane and the coordinates of the ...

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 simultaneously scaling multiple WPF (Windows presentation foundation) windows. The method includes steps of creating new image scaling controls; acquiring conversion relation from a screen coordinate system to coordinates of each WPF application program; acquiring coordinates of mouse clicking positions in the screen coordinate system; converting the coordinates; determining display ranges of the image scaling controls according to conversion results; rendering the WPF windows so that images are placed in the image scaling controls; initiating starting positions, finishing positions and time intervals of animation of the controls; and scaling the images according to the starting positions, the finishing positions, the time intervals and the display ranges. The invention further provides a device for simultaneously scaling multiple WPF windows. By the aid of the method and the device, the problem that changes of the windows are inconsistent when the animation of the windows is scaled, experience of a user and animation effect are improved, and system resource utilization rate is increased.

Description

technical field [0001] The invention relates to the field of interactive display, in particular to a method and device for scaling multiple WPF windows at the same time. Background technique [0002] Most of the WPF (Windows Presentation Foundation, windows graphical interface processing) programs display the form on the screen instantly when opening a new form, and the form disappears instantly when closing the form, especially when there are multiple forms. Any animation effect makes the user feel very abrupt, and the interactive display is very unfriendly. [0003] At present, the general way to make a window animate when it is closed or opened is to directly animate the size and position of the WPF form so that it changes with the time axis; but when multiple WPF windows are opened or closed at the same time, the The animation will have inconsistent window changes, which will reduce the user experience; the animation efficiency is low, and the system resources are serio...

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/44
Inventor 陆明添
Owner HUAWEI TEHCHNOLOGIES CO LTD