示例#1
0
// Get the inverse of the combined transform of a rectangle shape
// \param shape shape object
// \return Inverse of the combined transformations applied to the object
// const sfTransform* sfRectangleShape_getInverseTransform(const sfRectangleShape* shape);
func (self RectangleShape) InverseTransform() Transform {
	t := C.sfRectangleShape_getInverseTransform(self.Cref)
	return Transform{&t}
}
示例#2
0
// Get the inverse of the combined transform of a rectangle shape
// \param shape shape object
// \return Inverse of the combined transformations applied to the object
// const sfTransform* sfRectangleShape_getInverseTransform(const sfRectangleShape* shape);
func (self RectangleShape) InverseTransform() Transform {
	return Transform{C.sfRectangleShape_getInverseTransform(self.Cref)}
}