Searched defs:isMiter (Results 1 - 2 of 2) sorted by relevance

/external/skia/tests/
H A DStrokeTest.cpp76 bool isMiter = SkPaint::kMiter_Join == joins[i]; local
78 REPORTER_ASSERT(reporter, fillPath.isNestedFillRects(nested) == isMiter);
79 if (isMiter) {
/external/skia/src/gpu/ops/
H A DGrAAStrokeRectOp.cpp25 inline static bool allowed_stroke(const SkStrokeRec& stroke, bool* isMiter) { argument
30 *isMiter = true;
34 *isMiter = false;
38 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2;
130 bool isMiter; local
131 if (!allowed_stroke(stroke, &isMiter)) {
136 op->fMiterStroke = isMiter;
139 &info.fDegenerate, viewMatrix, rect, stroke.getWidth(), isMiter);
141 if (isMiter) {

Completed in 112 milliseconds