Searched defs:SpriteIcon (Results 1 – 1 of 1) sorted by relevance
28 struct SpriteIcon { struct29 inline SpriteIcon() : style(0), hotSpotX(0), hotSpotY(0) { } in SpriteIcon() argument30 inline SpriteIcon(const SkBitmap& bitmap, int32_t style, float hotSpotX, float hotSpotY) : in SpriteIcon() argument38 inline SpriteIcon copy() const { in copy() argument47 inline void reset() { in reset()54 inline bool isValid() const { return !bitmap.isNull() && !bitmap.empty(); } in isValid()56 inline int32_t width() const { return bitmap.width(); } in width()57 inline int32_t height() const { return bitmap.height(); } in height()