ScreenSpace ClassDelta Engine Documentation
Converts to and from some kind of screen space like Quadratic, Pixel, etc. See http://deltaengine.net/learn/screenspace View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.ScreenSpaces ScreenSpace
    DeltaEngine.ScreenSpaces PixelScreenSpace
    DeltaEngine.ScreenSpaces QuadraticScreenSpace
    DeltaEngine.ScreenSpaces RelativeScreenSpace

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

public abstract class ScreenSpace : IDisposable

The ScreenSpace type exposes the following members.

Constructors

  NameDescription
Protected methodScreenSpace
Initializes a new instance of the ScreenSpace class
Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the ScreenSpace
Public methodFromPixelSpace(Rectangle)
Public methodFromPixelSpace(Size)
Public methodFromPixelSpace(Vector2D)
Public methodGetInnerPosition
Protected methodRaiseViewportSizeChanged
Public methodToPixelSpace(Rectangle)
Public methodToPixelSpace(Size)
Public methodToPixelSpace(Vector2D)
Public methodToPixelSpaceRounded
The rounded version of ToPixelSpace is used for lines, boxes and fonts where it matters to actually render at exact pixel positions to get sharp lines, boxes or font rendering. View code on GitHub
Protected methodUpdate
Top
Fields

  NameDescription
Protected fieldviewportPixelSize
Top
Properties

  NameDescription
Public propertyAspectRatio
Public propertyBottom
Public propertyBottomRight
Public propertyStatic memberCurrent
Public propertyLeft
Public propertyRight
Public propertyStatic memberScene
Public propertyTop
Public propertyTopLeft
Public propertyViewport
Top
Events

  NameDescription
Public eventViewportSizeChanged
Top
See Also