Lines Matching defs:Image
5 // An Image wraps an image any flavor, be it platform-native GdkBitmap/NSImage,
11 // tied to the lifetime of the Image's internal storage. To allow Images to be
17 // Attempting to use an empty Image will result in a crash.
52 class GFX_EXPORT Image {
64 Image();
68 explicit Image(const std::vector<ImagePNGRep>& image_reps);
72 explicit Image(const ImageSkia& image);
76 explicit Image(UIImage* image);
81 explicit Image(NSImage* image);
84 // Initializes a new Image by AddRef()ing |other|'s internal storage.
85 Image(const Image& other);
88 Image& operator=(const Image& other);
92 ~Image();
97 static Image CreateFrom1xBitmap(const SkBitmap& bitmap);
102 // gfx::Image image =
103 // Image::CreateFrom1xPNGBytes(&png.front(), png.size());
104 static Image CreateFrom1xPNGBytes(const unsigned char* input,
108 static Image CreateFrom1xPNGBytes(
111 // Converts the Image to the desired representation and stores it internally.
113 // the Image. Must only be called if IsEmpty() is false.
144 // converted representations, rather than a limitation imposed by Image) and
161 // Returns true if this Image has no representations.
170 void SwapRepresentations(gfx::Image* other);
191 // Internal class that holds all the representations. This allows the Image to