C# Class AdvancedLauncher.Tools.Extensions.HwndSourceExtensions

Afficher le fichier Open project: GoldRenard/DMOAdvancedLauncher

Méthodes publiques

Méthode Description
TransformClientToScreen ( this hwndSource, Point point ) : Point

Transform a point from "client" coordinate space of a window into the "screen" coordinate space.

TransformScreenToClient ( this hwndSource, Point point ) : Point

Transform a point from "screen" coordinate space into the "client" coordinate space of the window.

Method Details

TransformClientToScreen() public static méthode

Transform a point from "client" coordinate space of a window into the "screen" coordinate space.
public static TransformClientToScreen ( this hwndSource, Point point ) : Point
hwndSource this
point System.Windows.Point
Résultat System.Windows.Point

TransformScreenToClient() public static méthode

Transform a point from "screen" coordinate space into the "client" coordinate space of the window.
public static TransformScreenToClient ( this hwndSource, Point point ) : Point
hwndSource this
point System.Windows.Point
Résultat System.Windows.Point