Przeglądaj źródła

************************ wx *************************
调整矩阵

zhangweixin 3 lat temu
rodzic
commit
9370453393

+ 1 - 0
sybotan-android-graphy/src/main/java/com/sybotan/android/graphy/SGraphyItem.kt

@@ -68,6 +68,7 @@ open class SGraphyItem(parent: SGraphyItem? = null) {
             if (!child.isTransform) {
                 ce.matrix.postScale(child._inverseScale, child._inverseScale);
             }
+
 //            se.setLocation((e.x - child.pos.x) / child.scale.x, (e.y - child.pos.y) / child.scale.y)
             val matrixMat = Matrix()
             ce.matrix.invert(matrixMat)