Home
last modified time | relevance | path

Searched refs:gCubics (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/gm/
Dpatch.cpp80 const SkPoint gCubics[SkPatchUtils::kNumCtrlPts] = { variable
130 canvas->drawPatch(gCubics, nullptr, nullptr, modes[y], paint); in dopatch()
133 canvas->drawPatch(gCubics, colors, nullptr, modes[y], paint); in dopatch()
137 canvas->drawPatch(gCubics, nullptr, tex, modes[y], paint); in dopatch()
142 canvas->drawPatch(gCubics, colors, tex, modes[y], paint); in dopatch()
149 draw_control_points(canvas, gCubics); in dopatch()
192 canvas->drawPatch(gCubics, colors, nullptr, SkBlendMode::kModulate, paint);
197 path.moveTo(gCubics[0]);
198 path.cubicTo(gCubics[ 1], gCubics[ 2], gCubics[ 3]);
199 path.cubicTo(gCubics[ 4], gCubics[ 5], gCubics[ 6]);
[all …]
Dimagefiltersbase.cpp164 static constexpr SkPoint gCubics[SkPatchUtils::kNumCtrlPts] = { in draw_patch() local
182 canvas->drawPatch(gCubics, colors, /*texCoords=*/nullptr, SkBlendMode::kSrc, paint); in draw_patch()