Home
last modified time | relevance | path

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

/external/skia/modules/particles/src/
DSkParticleDrawable.cpp127 SkRect baseRect = SkRect::MakeWH(static_cast<float>(fImage->width()) / cols, in REFLECTED() local
129 SkPoint center = { baseRect.width() * 0.5f, baseRect.height() * 0.5f }; in REFLECTED()
139 arrays.fRects[i] = baseRect.makeOffset(col * baseRect.width(), row * baseRect.height()); in REFLECTED()
/external/skia/gm/
Dcompositor_quads.cpp262 int clipTile(SkCanvas* canvas, int tileID, const SkRect& baseRect, const SkPoint quad[4], in clipTile() argument
267 int draws = this->drawTile(canvas, baseRect, quad, edgeAA, tileID, *quadCount); in clipTile()
287 baseRect.toQuad(points); in clipTile()
319 canvas, tileID, baseRect, quad, edgeAA, lines + 2, lineCount - 1, quadCount); in clipTile()
410 draws += this->clipTile(canvas, tileID, baseRect, sub, subAA, lines + 2, lineCount - 1, in clipTile()