C# Class Microsoft.R.Components.Plots.Implementation.WpfUnitsConversion

Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
FromPixels ( System.Windows.PresentationSource source, Size pixelSize ) : Size
GetResolution ( System.Windows.PresentationSource source ) : int
ToPixels ( System.Windows.PresentationSource source, Point wpfSize ) : Point
ToPixels ( System.Windows.PresentationSource source, Size wpfSize ) : Size

Method Details

FromPixels() public static méthode

public static FromPixels ( System.Windows.PresentationSource source, Size pixelSize ) : Size
source System.Windows.PresentationSource
pixelSize System.Windows.Size
Résultat System.Windows.Size

GetResolution() public static méthode

public static GetResolution ( System.Windows.PresentationSource source ) : int
source System.Windows.PresentationSource
Résultat int

ToPixels() public static méthode

public static ToPixels ( System.Windows.PresentationSource source, Point wpfSize ) : Point
source System.Windows.PresentationSource
wpfSize Point
Résultat Point

ToPixels() public static méthode

public static ToPixels ( System.Windows.PresentationSource source, Size wpfSize ) : Size
source System.Windows.PresentationSource
wpfSize System.Windows.Size
Résultat System.Windows.Size