Searched refs:isMiter (Results 1 - 2 of 2) sorted by relevance
/third_party/skia/src/gpu/ops/ |
H A D | StrokeRectOp.cpp | 34 inline bool allowed_stroke(const SkStrokeRec& stroke, GrAA aa, bool* isMiter) { in allowed_stroke() argument 39 *isMiter = true; in allowed_stroke() 43 *isMiter = false; in allowed_stroke() 47 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke() 49 return aa == GrAA::kYes || *isMiter; in allowed_stroke() 111 bool isMiter; in Make() local 112 if (!allowed_stroke(stroke, GrAA::kNo, &isMiter)) { in Make() 447 bool isMiter; in Make() local 448 if (!allowed_stroke(stroke, GrAA::kYes, &isMiter)) { in Make() 460 isMiter, in Make() 471 AAStrokeRectOp(GrProcessorSet* processorSet, const SkPMColor4f& color, const SkMatrix& viewMatrix, const RectInfo& infoExceptColor, bool isMiter) AAStrokeRectOp() argument [all...] |
/third_party/skia/tests/ |
H A D | StrokeTest.cpp | 77 bool isMiter = SkPaint::kMiter_Join == joins[i]; in test_strokerect() local 79 REPORTER_ASSERT(reporter, SkPathPriv::IsNestedFillRects(fillPath, nested) == isMiter); in test_strokerect() 80 if (isMiter) { in test_strokerect()
|
Completed in 2 milliseconds