Searched refs:srcPts (Results 1 - 9 of 9) sorted by relevance
/external/skia/src/core/ |
H A D | SkQuadClipper.cpp | 51 bool SkQuadClipper::clipQuad(const SkPoint srcPts[3], SkPoint dst[3]) { argument 55 if (srcPts[0].fY > srcPts[2].fY) { 56 dst[0] = srcPts[2]; 57 dst[1] = srcPts[1]; 58 dst[2] = srcPts[0]; 61 memcpy(dst, srcPts, 3 * sizeof(SkPoint));
|
H A D | SkCubicClipper.cpp | 108 bool SkCubicClipper::clipCubic(const SkPoint srcPts[4], SkPoint dst[4]) { argument 112 if (srcPts[0].fY > srcPts[3].fY) { 113 dst[0] = srcPts[3]; 114 dst[1] = srcPts[2]; 115 dst[2] = srcPts[1]; 116 dst[3] = srcPts[0]; 119 memcpy(dst, srcPts, 4 * sizeof(SkPoint));
|
H A D | SkEdgeClipper.h | 41 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip); 42 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
|
H A D | SkQuadClipper.h | 55 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip); 56 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
|
H A D | SkPathRef.cpp | 561 const SkPoint* srcPts = fPts; 565 pts[0] = srcPts[0]; 566 srcPts += 1; 569 pts[0] = srcPts[-1]; 570 pts[1] = srcPts[0]; 571 srcPts += 1; 577 pts[0] = srcPts[-1]; 578 pts[1] = srcPts[0]; 579 pts[2] = srcPts[1]; 580 srcPts [all...] |
H A D | SkEdgeClipper.cpp | 124 // srcPts[] must be monotonic in X and Y 125 void SkEdgeClipper::clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip) { argument 127 bool reverse = sort_increasing_Y(pts, srcPts, 3); 199 bool SkEdgeClipper::clipQuad(const SkPoint srcPts[3], const SkRect& clip) { argument 204 bounds.set(srcPts, 3); 208 int countY = SkChopQuadAtYExtrema(srcPts, monoY); 298 // srcPts[] must be monotonic in X and Y 369 bool SkEdgeClipper::clipCubic(const SkPoint srcPts[4], const SkRect& clip) { argument 373 if (!quick_reject_in_y(srcPts, clip)) { 375 int countY = SkChopCubicAtYExtrema(srcPts, mono [all...] |
H A D | SkPath.cpp | 1315 SkPoint srcPts[2]; local 1316 this->getLastPt(&srcPts[0]); 1326 srcPts[1].set(x, y); 1327 if (srcPts[0] == srcPts[1]) { 1333 SkVector midPointDistance = srcPts[0] - srcPts[1]; 1359 pointTransform.mapPoints(unitPts, srcPts, (int) SK_ARRAY_COUNT(unitPts)); 1944 const SkPoint* SK_RESTRICT srcPts = fPts; local 1960 fMoveTo = *srcPts; [all...] |
/external/skia/src/animator/ |
H A D | SkMatrixParts.cpp | 243 int srcPts = sourcePath.getPoints(src, 4); local 246 if (srcPts != dstPts) 249 temp.setPolyToPoly(src, dst, srcPts);
|
/external/skia/tests/ |
H A D | PathTest.cpp | 846 const SkPoint srcPts[], bool expectClose) { 856 REPORTER_ASSERT(reporter, pts[0] == srcPts[0]); 857 srcPts++; 862 REPORTER_ASSERT(reporter, pts[1] == srcPts[0]); 863 srcPts++; 845 test_poly(skiatest::Reporter* reporter, const SkPath& path, const SkPoint srcPts[], bool expectClose) argument
|
Completed in 639 milliseconds