Home
last modified time | relevance | path

Searched refs:isConvex (Results 1 – 25 of 68) sorted by relevance

123

/external/skia/tests/
DPathOpsAsWindingTest.cpp68 REPORTER_ASSERT(reporter, result.isConvex()); in DEF_TEST()
82 REPORTER_ASSERT(reporter, !result.isConvex()); in DEF_TEST()
89 REPORTER_ASSERT(reporter, !result.isConvex()); in DEF_TEST()
98 REPORTER_ASSERT(reporter, !result.isConvex()); in DEF_TEST()
107 REPORTER_ASSERT(reporter, !result.isConvex()); in DEF_TEST()
114 REPORTER_ASSERT(reporter, !test.isConvex()); in DEF_TEST()
DPathTest.cpp55 REPORTER_ASSERT(reporter, !path.isConvex()); in test_skbug_3469()
544 bool smallConvex = smallPath.isConvex(); in test_tiny_path_convexity()
552 bool largeConvex = largePath.isConvex(); in test_tiny_path_convexity()
853 REPORTER_ASSERT(reporter, temp.isConvex()); in test_arb_round_rect_is_convex()
1150 REPORTER_ASSERT(reporter, path.isConvex()); in test_direction()
1315 bool convexity = copy.isConvex(); in check_convexity()
1326 tinyConvexPolygon.isConvex(); in test_path_crbug389050()
1334 platTriangle.isConvex(); in test_path_crbug389050()
1342 platTriangle.isConvex(); in test_path_crbug389050()
1524 REPORTER_ASSERT(reporter, p.isConvex()); in check_convex_bounds()
[all …]
/external/skqp/tests/
DPathOpsAsWindingTest.cpp68 REPORTER_ASSERT(reporter, result.isConvex()); in DEF_TEST()
82 REPORTER_ASSERT(reporter, !result.isConvex()); in DEF_TEST()
89 REPORTER_ASSERT(reporter, !result.isConvex()); in DEF_TEST()
98 REPORTER_ASSERT(reporter, !result.isConvex()); in DEF_TEST()
107 REPORTER_ASSERT(reporter, !result.isConvex()); in DEF_TEST()
114 REPORTER_ASSERT(reporter, !test.isConvex()); in DEF_TEST()
/external/skqp/tools/lua/
Dpaths.lua83 if path:isConvex() then
100 if path:isConvex() then
/external/skia/src/core/
DSkPictureCommon.h50 if (op.paint.isAntiAlias() && !op.path.isConvex()) { in operator()
67 if (op.opAA.aa() && !op.path.isConvex()) { in operator()
/external/skqp/src/core/
DSkPictureCommon.h50 if (op.paint.isAntiAlias() && !op.path.isConvex()) { in operator()
67 if (op.opAA.aa() && !op.path.isConvex()) { in operator()
DSkScan_DAAPath.cpp331 bool isConvex = path.isConvex(); in DAAFillPath() local
333 bool skipRect = isConvex && !isInverse; in DAAFillPath()
372 deltaMask.convertCoverageToAlpha(isEvenOdd, isInverse, isConvex); in DAAFillPath()
389 blitter->blitCoverageDeltas(record->fList, clipBounds, isEvenOdd, isInverse, isConvex); in DAAFillPath()
DSkCoverageDelta.cpp86 void SkCoverageDeltaMask::convertCoverageToAlpha(bool isEvenOdd, bool isInverse, bool isConvex) { in convertCoverageToAlpha() argument
127 SkNi an = isConvex ? ConvexCoverageToAlpha(cn, isInverse) in convertCoverageToAlpha()
DSkBlitter.cpp105 bool isEvenOdd, bool isInverse, bool isConvex) { in blitCoverageDeltas() argument
175 mask.convertCoverageToAlpha(isEvenOdd, isInverse, isConvex); in blitCoverageDeltas()
198 SkAlpha alpha = isConvex ? ConvexCoverageToAlpha(coverage, isInverse) in blitCoverageDeltas()
208 SkAlpha alpha = isConvex ? ConvexCoverageToAlpha(coverage, isInverse) in blitCoverageDeltas()
/external/skia/bench/
DAAClipBench.cpp40 SkASSERT(fClipPath.isConvex()); in AAClipBench()
56 SkASSERT(fClipPath.isConvex()); in onDraw()
129 SkASSERT(path.isConvex()); in recurse()
/external/skqp/bench/
DAAClipBench.cpp42 SkASSERT(fClipPath.isConvex()); in AAClipBench()
58 SkASSERT(fClipPath.isConvex()); in onDraw()
131 SkASSERT(path.isConvex()); in recurse()
DGeometryBench.cpp275 (void)fPath.isConvex(); in onDraw()
/external/skia/docs/examples/
DPath_isConvex.cpp16 canvas->drawString(path.isConvex() ? "convex" : "not convex", 30, 100, paint);
DPath_addRoundRect.cpp14 SK_ColorBLUE : path.isConvex() ? SK_ColorGRAY : SK_ColorGREEN); in draw()
/external/skqp/gm/
Ddstreadshuffle.cpp62 SkASSERT(fConvexPath.isConvex()); in drawShape()
79 SkASSERT(!fConcavePath.isConvex()); in drawShape()
/external/skia/gm/
Ddstreadshuffle.cpp78 SkASSERT(fConvexPath.isConvex()); in drawShape()
97 SkASSERT(!fConcavePath.isConvex()); in drawShape()
Dconvexpaths.cpp251 SkASSERT(fPaths[i].isConvex()); in onDraw()
/external/skqp/src/pathops/
DSkOpBuilder.cpp138 if (test->isConvex()) { in resolve()
DSkPathOpsSimplify.cpp145 if (path.isConvex()) { in SimplifyDebug()
/external/skia/src/pathops/
DSkOpBuilder.cpp140 if (test->isConvex()) { in resolve()
DSkPathOpsSimplify.cpp145 if (path.isConvex()) { in SimplifyDebug()
/external/skia/example/
DSkiaSDLExample.cpp101 SkASSERT(!concavePath.isConvex()); in create_star()
/external/skqp/src/gpu/effects/
DGrConvexPolyEffect.cpp96 !path.isConvex()) { in Make()
/external/skqp/example/
DSkiaSDLExample.cpp101 SkASSERT(!concavePath.isConvex()); in create_star()
/external/skia/src/gpu/effects/
DGrConvexPolyEffect.cpp92 if (path.getSegmentMasks() != SkPath::kLine_SegmentMask || !path.isConvex()) { in Make()

123