Beispiel #1
0
// Get the inverse of the combined transform of a sprite
// \param sprite Sprite object
// \return Inverse of the combined transformations applied to the object
// const sfTransform* sfSprite_getInverseTransform(const sfSprite* sprite);
func (self Sprite) InverseTransform() Transform {
	return Transform{C.sfSprite_getInverseTransform(self.Cref)}
}
Beispiel #2
0
// Get the inverse of the combined transform of a sprite
// \param sprite Sprite object
// \return Inverse of the combined transformations applied to the object
// const sfTransform* sfSprite_getInverseTransform(const sfSprite* sprite);
func (self Sprite) InverseTransform() Transform {
	t := C.sfSprite_getInverseTransform(self.Cref)
	return Transform{&t}
}