Lines Matching refs:xpivot
72 INT32 xpivot = 0, ypivot = 0; in Patch_GetRotatedSprite() local
82 xpivot = sprinfo->pivot[frame].x; in Patch_GetRotatedSprite()
87 xpivot = patch->leftoffset; in Patch_GetRotatedSprite()
91 RotatedPatch_DoRotation(rotsprite, patch, rotationangle, xpivot, ypivot, flip); in Patch_GetRotatedSprite()
101 void Patch_Rotate(patch_t *patch, INT32 angle, INT32 xpivot, INT32 ypivot, boolean flip) in Patch_Rotate() argument
105 RotatedPatch_DoRotation(patch->rotated, patch, angle, xpivot, ypivot, flip); in Patch_Rotate()
138 void RotatedPatch_DoRotation(rotsprite_t *rotsprite, patch_t *patch, INT32 angle, INT32 xpivot, INT… in RotatedPatch_DoRotation() argument
167 xpivot = width - xpivot; in RotatedPatch_DoRotation()
177 xcenter = (xpivot * FRACUNIT); in RotatedPatch_DoRotation()
180 if (xpivot != width / 2 || ypivot != height / 2) in RotatedPatch_DoRotation()
228 ox = (newwidth / 2) + (leftoffset - xpivot); in RotatedPatch_DoRotation()