aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Drawing
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-08 16:44:17 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-08 16:44:17 -0400
commite653b41000c2116c555691f866710f2239553322 (patch)
tree058585d3a5ca24161c12cad963adeff6ec210835 /MediaBrowser.Model/Drawing
parentbb031f553b940d21fa89f319d294745484c2234e (diff)
removed implicit typing from the model project
Diffstat (limited to 'MediaBrowser.Model/Drawing')
-rw-r--r--MediaBrowser.Model/Drawing/DrawingUtils.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Model/Drawing/DrawingUtils.cs b/MediaBrowser.Model/Drawing/DrawingUtils.cs
index 7f679a826..fcc5ddd16 100644
--- a/MediaBrowser.Model/Drawing/DrawingUtils.cs
+++ b/MediaBrowser.Model/Drawing/DrawingUtils.cs
@@ -30,7 +30,7 @@
/// <returns>ImageSize.</returns>
public static ImageSize Scale(ImageSize size, double scaleFactor)
{
- var newWidth = size.Width * scaleFactor;
+ double newWidth = size.Width * scaleFactor;
return Resize(size.Width, size.Height, newWidth, null, null, null);
}
@@ -120,7 +120,7 @@
/// <returns>System.Double.</returns>
private static double GetNewWidth(double currentHeight, double currentWidth, double newHeight)
{
- var scaleFactor = newHeight;
+ double scaleFactor = newHeight;
scaleFactor /= currentHeight;
scaleFactor *= currentWidth;
@@ -136,7 +136,7 @@
/// <returns>System.Double.</returns>
private static double GetNewHeight(double currentHeight, double currentWidth, double newWidth)
{
- var scaleFactor = newWidth;
+ double scaleFactor = newWidth;
scaleFactor /= currentWidth;
scaleFactor *= currentHeight;