Esempio n. 1
0
// Get the combined transform of a circle shape
// \param shape Shape object
// \return Transform combining the position/rotation/scale/origin of the object
// const sfTransform* sfCircleShape_getTransform(const sfCircleShape* shape);
func (self CircleShape) Transform() Transform {
	return Transform{C.sfCircleShape_getTransform(self.Cref)}
}
Esempio n. 2
0
// Get the combined transform of a circle shape
// \param shape Shape object
// \return Transform combining the position/rotation/scale/origin of the object
// const sfTransform* sfCircleShape_getTransform(const sfCircleShape* shape);
func (self CircleShape) Transform() Transform {
	t := C.sfCircleShape_getTransform(self.Cref)
	return Transform{&t}
}