Browse Source

********************************** *********************
添加矩阵,调试缩放,位移

zhangweixin 3 years ago
parent
commit
eea3e15617

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

@@ -68,7 +68,6 @@ 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)