示例#1
0
sk_image_t* sk_image_new_from_encoded(const sk_data_t* cdata, const sk_irect_t* subset) {
    return ToImage(SkImage::MakeFromEncoded(sk_ref_sp(AsData(cdata)),
                                           reinterpret_cast<const SkIRect*>(subset)).release());
}
示例#2
0
sk_image_t* sk_image_new_from_encoded(const sk_data_t* cdata, const sk_irect_t* subset) {
    return ToImage(SkImage::NewFromEncoded(AsData(cdata),
                                           reinterpret_cast<const SkIRect*>(subset)));
}
示例#3
0
文件: Object.cpp 项目: pedia/raidget
Image RichObjectType::ToImage(const Value& data, Size sz) const
{
	return ToImage(data, sz, NULL);
}