Revert "Rewrote Sprite::ScaleToClipped and CropTo to actually work."

This commit is contained in:
Kyzentun
2015-10-06 00:53:22 -06:00
parent fa2f3232be
commit 42b3a88516
3 changed files with 109 additions and 91 deletions
+1 -1
View File
@@ -4982,7 +4982,7 @@ save yourself some time, copy this for undocumented things:
[02 Sprite.lua] Call <Link class='RageTexture' function='rate'><code>RageTexture:rate</code></Link><code>( fRate )</code> on the texture.
</Function>
<Function name='scaletoclipped' return='void' arguments='float fWidth, float fHeight'>
Scale the Sprite to width <code>fWidth</code> and height <code>fHeight</code> clipping dimension that would stick out.
Scale the Sprite to width <code>fWidth</code> and height <code>fHeight</code> clipping if the dimensions do not match.
</Function>
<Function name='setstate' return='void' arguments='int iNewState'>
Set the Sprite's state to <code>iNewState</code>.