Lines Matching refs:cpic
197 static const SkPicture* AsPicture(const sk_picture_t* cpic) { in AsPicture() argument
198 return reinterpret_cast<const SkPicture*>(cpic); in AsPicture()
201 static SkPicture* AsPicture(sk_picture_t* cpic) { in AsPicture() argument
202 return reinterpret_cast<SkPicture*>(cpic); in AsPicture()
488 void sk_picture_ref(sk_picture_t* cpic) { in sk_picture_ref() argument
489 SkSafeRef(AsPicture(cpic)); in sk_picture_ref()
492 void sk_picture_unref(sk_picture_t* cpic) { in sk_picture_unref() argument
493 SkSafeUnref(AsPicture(cpic)); in sk_picture_unref()
496 uint32_t sk_picture_get_unique_id(sk_picture_t* cpic) { in sk_picture_get_unique_id() argument
497 return AsPicture(cpic)->uniqueID(); in sk_picture_get_unique_id()
500 sk_rect_t sk_picture_get_bounds(sk_picture_t* cpic) { in sk_picture_get_bounds() argument
501 return ToRect(AsPicture(cpic)->cullRect()); in sk_picture_get_bounds()