bool SkTextOnPath::draw(SkAnimateMaker& maker) { SkASSERT(text); SkASSERT(path); SkBoundableAuto boundable(this, maker); maker.fCanvas->drawTextOnPathHV(text->getText(), text->getSize(), path->getPath(), offset, 0, *maker.fPaint); return false; }
bool SkBaseBitmap::draw(SkAnimateMaker& maker) { SkBoundableAuto boundable(this, maker); maker.fCanvas->drawBitmap(fBitmap, x, y, maker.fPaint); return false; }
bool SkDrawPath::draw(SkAnimateMaker& maker) { SkPath& path = getPath(); SkBoundableAuto boundable(this, maker); maker.fCanvas->drawPath(path, *maker.fPaint); return false; }
bool SkOval::draw(SkAnimateMaker& maker) { SkBoundableAuto boundable(this, maker); maker.fCanvas->drawOval(fRect, *maker.fPaint); return false; }
bool SkLine::draw(SkAnimateMaker& maker) { SkBoundableAuto boundable(this, maker); maker.fCanvas->drawLine(x1, y1, x2, y2, *maker.fPaint); return false; }
bool SkFull::draw(SkAnimateMaker& maker) { SkBoundableAuto boundable(this, maker); maker.fCanvas->drawPaint(*maker.fPaint); return false; }
bool SkRoundRect::draw(SkAnimateMaker& maker) { SkBoundableAuto boundable(this, maker); maker.fCanvas->drawRoundRect(fRect, rx, ry, *maker.fPaint); return false; }
bool SkText::draw(SkAnimateMaker& maker) { SkBoundableAuto boundable(this, maker); maker.fCanvas->drawText(text.c_str(), text.size(), x, y, *maker.fPaint); return false; }