Fix line and shape segment counts and smooth line antialiasing when love.graphics.applyTransform and replaceTransform are used.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-11-25 19:59:48 -04:00
parent f85ee6b504
commit 92774b759b
4 changed files with 37 additions and 15 deletions
+6
View File
@@ -118,6 +118,12 @@ public:
* @param ky Shear along y-axis.
**/
void setShear(float kx, float ky);
/**
* Calculates the scale factors for a 2D affine transform. The output values
* are absolute (not signed).
**/
void getApproximateScale(float &sx, float &sy) const;
/**
* Sets a transformation's values directly. Useful if you want to modify them inplace,