C# Class Nez.UI.ScalingExt

Afficher le fichier Open project: prime31/Nez

Méthodes publiques

Méthode Description
apply ( this self, float sourceWidth, float sourceHeight, float targetWidth, float targetHeight ) : Vector2

Returns the size of the source scaled to the target

Method Details

apply() public static méthode

Returns the size of the source scaled to the target
public static apply ( this self, float sourceWidth, float sourceHeight, float targetWidth, float targetHeight ) : Vector2
self this Self.
sourceWidth float Source width.
sourceHeight float Source height.
targetWidth float Target width.
targetHeight float Target height.
Résultat Vector2