C# Class SFML.Graphics.Transformable

Decomposed transform defined by a position, a rotation and a scale
A note on coordinates and undistorted rendering: By default, SFML (or more exactly, OpenGL) may interpolate drawable objects such as sprites or texts when rendering. While this allows transitions like slow movements or rotations to appear smoothly, it can lead to unwanted results in some cases, for example blurred or distorted objects. In order to render a SFML.Graphics.Drawable object pixel-perfectly, make sure the involved coordinates allow a 1:1 mapping of pixels in the window to texels (pixels in the texture). More specifically, this means: * The object's position, origin and scale have no fractional part * The object's and the view's rotation are a multiple of 90 degrees * The view's center and size have no fractional part
Inheritance: SFML.System.ObjectBase
Show file Open project: SFML/SFML.Net Class Usage Examples

Public Methods

Method Description
Transformable ( ) : System

Default constructor

Transformable ( Transformable transformable ) : System

Construct the transformable from another transformable

Protected Methods

Method Description
Destroy ( bool disposing ) : void

Handle the destruction of the object

Transformable ( IntPtr cPointer ) : System

Construct the object from its internal C pointer

Method Details

Destroy() protected method

Handle the destruction of the object
protected Destroy ( bool disposing ) : void
disposing bool Is the GC disposing the object, or is it an explicit call ?
return void

Transformable() public method

Default constructor
public Transformable ( ) : System
return System

Transformable() protected method

Construct the object from its internal C pointer
protected Transformable ( IntPtr cPointer ) : System
cPointer System.IntPtr Pointer to the object in the C library
return System

Transformable() public method

Construct the transformable from another transformable
public Transformable ( Transformable transformable ) : System
transformable Transformable Transformable to copy
return System