add ScaledViewport property

This commit is contained in:
Gered 2013-08-24 19:10:18 -04:00
parent 621017aa58
commit 12f9270636
2 changed files with 6 additions and 0 deletions

View file

@ -6,6 +6,7 @@ namespace Blarg.GameFramework.Graphics
{
int Scale { get; }
Rect ScaledViewport { get; }
int ScaledWidth { get; }
int ScaledHeight { get; }

View file

@ -17,6 +17,11 @@ namespace Blarg.GameFramework.Graphics
get { return 1; }
}
public Rect ScaledViewport
{
get { return _viewport; }
}
public int ScaledWidth
{
get { return _viewport.Width; }