592 {
594 paint.setAntiAlias(
true);
595
596 {
599 path.moveTo(fPts[0]);
600 path.cubicTo(fPts[1], fPts[2], fPts[3]);
601 path.moveTo(fQuad[0]);
602 path.quadTo(fQuad[1], fQuad[2]);
604 }
605
606 if (fShowSub) {
608 paint.setStrokeWidth(1.7f);
609 this->showFrame(canvas, fPts, 3,
paint);
610 this->showFrame(canvas, fQuad, 2,
paint);
611
616 }
617
618 if (fShowFlatness) {
619 this->showFlattness(canvas);
620 }
621
622 if (fShowInnerQuads) {
623 this->showInnerQuads(canvas);
624 }
625
627 paint.setStroke(
true);
630
633 }
634
635 if ((false)) {
638 for (
int i = 0;
i < n; ++
i) {
642 }
643 }
644
645 }
constexpr SkColor SK_ColorGRAY
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorBLACK
void SkEvalCubicAt(const SkPoint src[4], SkScalar t, SkPoint *loc, SkVector *tangent, SkVector *curvature)
int SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[2])
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
static void Dot(SkCanvas *canvas, SkPoint p, SkScalar radius, SkColor c)
void drawPath(const SkPath &path, const SkPaint &paint)
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
@ kFill_Style
set to fill geometry
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
font
Font Metadata and Metrics.