#include <SkBitmapCache.h>
Definition at line 29 of file SkBitmapCache.h.
◆ Make() [1/2]
Definition at line 49 of file SkBitmapCache.cpp.
49 {
52}
uint32_t uniqueID() const
Optional< SkRect > bounds
sk_sp< const SkImage > image
static SkBitmapCacheDesc Make(const SkImage *)
static constexpr SkIRect MakeWH(int32_t w, int32_t h)
◆ Make() [2/2]
Definition at line 43 of file SkBitmapCache.cpp.
43 {
46 return { imageID, subset };
47}
constexpr int32_t height() const
constexpr int32_t width() const
◆ validate()
void SkBitmapCacheDesc::validate |
( |
| ) |
const |
|
inline |
Definition at line 33 of file SkBitmapCache.h.
33 {
37 }
int32_t fTop
smaller y-axis bounds
int32_t fLeft
smaller x-axis bounds
◆ fImageID
uint32_t SkBitmapCacheDesc::fImageID |
◆ fSubset
The documentation for this struct was generated from the following files: