PixelScreenSpaceTests GetInnerPoint Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.ScreenSpaces
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void GetInnerPoint()
Examples

[Test]
public void GetInnerPoint()
{
    ScreenSpace screen = new PixelScreenSpace(window);
    Assert.AreEqual(screen.TopLeft, screen.GetInnerPosition(Vector2D.Zero));
    Assert.AreEqual(screen.BottomRight, screen.GetInnerPosition(Vector2D.One));
    window.CloseAfterFrame();
}
See Also