Lines Matching refs:cubics
24 static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) {
28 SkPatchUtils::getBottomCubic(cubics, bottom);
30 SkPatchUtils::getTopCubic(cubics, top);
32 SkPatchUtils::getLeftCubic(cubics, left);
34 SkPatchUtils::getRightCubic(cubics, right);
71 const SkPoint cubics[SkPatchUtils::kNumCtrlPts] = {
106 canvas->drawPatch(cubics, nullptr, nullptr, xfer, paint);
109 canvas->drawPatch(cubics, colors, nullptr, xfer, paint);
113 canvas->drawPatch(cubics, nullptr, texCoords, xfer, paint);
118 canvas->drawPatch(cubics, colors, texCoords, xfer, paint);
125 draw_control_points(canvas, cubics);