From e450e90f849ce636a2b8e686211bdecad93720e6 Mon Sep 17 00:00:00 2001 From: sloop Date: Sun, 7 Aug 2016 11:58:49 +0800 Subject: [PATCH] Update value compute --- CustomView/Advance/[10]Matrix_Method.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CustomView/Advance/[10]Matrix_Method.md b/CustomView/Advance/[10]Matrix_Method.md index a995ade..d84f13b 100644 --- a/CustomView/Advance/[10]Matrix_Method.md +++ b/CustomView/Advance/[10]Matrix_Method.md @@ -130,9 +130,22 @@ void getValues (float[] values) **1.mapPoints** ``` +void mapPoints (float[] pts) +void mapPoints (float[] dst, float[] src) + +void mapPoints (float[] dst, int dstIndex,float[] src, int srcIndex, int pointCount) ``` +计算一组点基于当前Matrix变换后的位置,(由于是计算点,所以参数中的float数组长度一般都是偶数的)。 + +它有三个重载方法: + + + + + + **2.mapRadius**