Lines Matching refs:Image
14 class Image;
20 // Creates an image from the given JPEG-encoded input. If there was an error
21 // creating the image, returns an IsEmpty() Image.
22 GFX_EXPORT Image ImageFrom1xJPEGEncodedData(const unsigned char* input,
26 // the given image.
27 // Returns true if the image has a 1x representation and the 1x representation
30 // Returns true if the Image was encoded successfully.
31 GFX_EXPORT bool JPEG1xEncodedDataFromImage(const Image& image,
36 // image. If the image has no transparency, the leading value will be 0 and
37 // the trailing will be the image width. Return values are in the 1x width
38 // pixel units. Margins are given in 0-based column format. So if the image
43 // default value because of null image, missing Rep, etc.
45 // The margins for a completely transparent image will be w/2-1, w/2, but this
48 GFX_EXPORT bool VisibleMargins(const ImageSkia& image,