SFML.Net
Transform Methods |
The Transform type exposes the following members.

Name | Description | |
---|---|---|
![]() |
Combine |
Combine the current transform with another one.
The result is a transform that is equivalent to applying
this followed by transform. Mathematically, it is
equivalent to a matrix multiplication.
|
![]() |
Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) |
![]() |
GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) |
![]() |
GetInverse |
Return the inverse of the transform.
If the inverse cannot be computed, an identity transform
is returned.
|
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
Rotate(Single) |
Combine the current transform with a rotation.
|
![]() |
Rotate(Single, Vector2f) |
Combine the current transform with a rotation.
The center of rotation is provided for convenience as a second
argument, so that you can build rotations around arbitrary points
more easily (and efficiently) than the usual
Translate(-center); Rotate(angle); Translate(center).
|
![]() |
Rotate(Single, Single, Single) |
Combine the current transform with a rotation.
The center of rotation is provided for convenience as a second
argument, so that you can build rotations around arbitrary points
more easily (and efficiently) than the usual
Translate(-center); Rotate(angle); Translate(center).
|
![]() |
Scale(Vector2f) |
Combine the current transform with a scaling.
|
![]() |
Scale(Single, Single) |
Combine the current transform with a scaling.
|
![]() |
Scale(Vector2f, Vector2f) |
Combine the current transform with a scaling.
The center of scaling is provided for convenience as a second
argument, so that you can build scaling around arbitrary points
more easily (and efficiently) than the usual
Translate(-center); Scale(factors); Translate(center).
|
![]() |
Scale(Single, Single, Single, Single) |
Combine the current transform with a scaling.
The center of scaling is provided for convenience as a second
argument, so that you can build scaling around arbitrary points
more easily (and efficiently) than the usual
Translate(-center); Scale(factors); Translate(center).
|
![]() |
ToString |
Provide a string describing the object
(Overrides ValueTypeToString.) |
![]() |
TransformPoint(Vector2f) |
Transform a 2D point.
|
![]() |
TransformPoint(Single, Single) |
Transform a 2D point.
|
![]() |
TransformRect |
Transform a rectangle.
Since SFML doesn't provide support for oriented rectangles,
the result of this function is always an axis-aligned
rectangle. Which means that if the transform contains a
rotation, the bounding rectangle of the transformed rectangle
is returned.
|
![]() |
Translate(Vector2f) |
Combine the current transform with a translation.
|
![]() |
Translate(Single, Single) |
Combine the current transform with a translation.
|
