SkPaper code v1.1