Beispiel #1
0
// Get the combined transform of a text
// \param text Text object
// \return Transform combining the position/rotation/scale/origin of the object
// const sfTransform* sfText_getTransform(const sfText* text);
func (self Text) Transform() Transform {
	return Transform{C.sfText_getTransform(self.Cref)}
}
Beispiel #2
0
// Get the combined transform of a text
// \param text Text object
// \return Transform combining the position/rotation/scale/origin of the object
// const sfTransform* sfText_getTransform(const sfText* text);
func (self Text) Transform() Transform {
	t := C.sfText_getTransform(self.Cref)
	return Transform{&t}
}