add ScaledViewport property
This commit is contained in:
parent
621017aa58
commit
12f9270636
|
@ -6,6 +6,7 @@ namespace Blarg.GameFramework.Graphics
|
|||
{
|
||||
int Scale { get; }
|
||||
|
||||
Rect ScaledViewport { get; }
|
||||
int ScaledWidth { get; }
|
||||
int ScaledHeight { get; }
|
||||
|
||||
|
|
|
@ -17,6 +17,11 @@ namespace Blarg.GameFramework.Graphics
|
|||
get { return 1; }
|
||||
}
|
||||
|
||||
public Rect ScaledViewport
|
||||
{
|
||||
get { return _viewport; }
|
||||
}
|
||||
|
||||
public int ScaledWidth
|
||||
{
|
||||
get { return _viewport.Width; }
|
||||
|
|
Reference in a new issue