Home | History | Annotate | Download | only in gm

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);
69 * This GM draws a cubics coons patch using the specialized call SkCanvas::drawPatch.
96 const SkPoint cubics[SkPatchUtils::kNumCtrlPts] = {
131 canvas->drawPatch(cubics, NULL, NULL, xfer, paint);
134 canvas->drawPatch(cubics, colors, NULL, xfer, paint);
138 canvas->drawPatch(cubics, NULL, texCoords, xfer, paint);
143 canvas->drawPatch(cubics, colors, texCoords, xfer, paint);
150 draw_control_points(canvas, cubics);