// Get the combined transform of a rectangle shape // \param shape shape object // \return Transform combining the position/rotation/scale/origin of the object // const sfTransform* sfRectangleShape_getTransform(const sfRectangleShape* shape); func (self RectangleShape) Transform() Transform { t := C.sfRectangleShape_getTransform(self.Cref) return Transform{&t} }
// Get the combined transform of a rectangle shape // \param shape shape object // \return Transform combining the position/rotation/scale/origin of the object // const sfTransform* sfRectangleShape_getTransform(const sfRectangleShape* shape); func (self RectangleShape) Transform() Transform { return Transform{C.sfRectangleShape_getTransform(self.Cref)} }