SkPaint /** \class SkPaint The SkPaint class holds the style and color information about how to draw paint1.setColor(0xFFFF0000: paint1.setStyle(SkPaint::kFill_Style); //笔
今天在看SkCanvas类的save()方法时看到两行code,有点不解,具体如下: int SkCanvas::save() {this->willSave(kMatrixClip_SaveFlag);return this->internalSave(kMatrixClip_SaveFlag);} int SkCanvas::internalSave(SaveFlags flag