Lines Matching full:vectors
200 // test a bunch of vectors. All should be scaled by between minStretch and maxStretch
205 SkVector vectors[1000];
206 for (size_t i = 0; i < SK_ARRAY_COUNT(vectors); ++i) {
207 vectors[i].fX = rand.nextSScalar1();
208 vectors[i].fY = rand.nextSScalar1();
209 if (!vectors[i].normalize()) {
214 mat.mapVectors(vectors, SK_ARRAY_COUNT(vectors));
215 for (size_t i = 0; i < SK_ARRAY_COUNT(vectors); ++i) {
216 SkScalar d = vectors[i].length();
519 // if the matrix is degenerate, the basis vectors should be near-parallel or near-zero