void SkComposeImageFilter::toString(SkString* str) const { SkImageFilter* outer = getInput(0); SkImageFilter* inner = getInput(1); str->appendf("SkComposeImageFilter: ("); str->appendf("outer: "); outer->toString(str); str->appendf("inner: "); inner->toString(str); str->appendf(")"); }
void SkMergeImageFilter::toString(SkString* str) const { str->appendf("SkMergeImageFilter: ("); for (int i = 0; i < this->countInputs(); ++i) { SkImageFilter* filter = this->getInput(i); str->appendf("%d: (", i); filter->toString(str); str->appendf(")"); } str->append(")"); }