瀏覽代碼

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

zhangweixin 3 年之前
父節點
當前提交
9370453393
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sybotan-android-graphy/src/main/java/com/sybotan/android/graphy/SGraphyItem.kt

+ 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)