Lines Matching refs:ImageRep
193 // An ImageRep is the object that holds the backing memory for an Image. Each
194 // RepresentationType has an ImageRep subclass that is responsible for freeing
195 // the memory that the ImageRep holds. When an ImageRep is created, it expects
198 class ImageRep {
200 explicit ImageRep(Image::RepresentationType rep) : type_(rep) {}
202 // Deletes the associated pixels of an ImageRep.
203 virtual ~ImageRep() {}
250 class ImageRepPNG : public ImageRep {
252 ImageRepPNG() : ImageRep(Image::kImageRepPNG) {
256 : ImageRep(Image::kImageRepPNG),
298 class ImageRepSkia : public ImageRep {
302 : ImageRep(Image::kImageRepSkia),
330 class ImageRepGdk : public ImageRep {
333 : ImageRep(Image::kImageRepGdk),
366 class ImageRepCairo : public ImageRep {
369 : ImageRep(Image::kImageRepCairo),
401 class ImageRepCocoaTouch : public ImageRep {
404 : ImageRep(Image::kImageRepCocoaTouch),
434 class ImageRepCocoa : public ImageRep {
437 : ImageRep(Image::kImageRepCocoa),
616 internal::ImageRep* rep = GetRepresentation(kImageRepSkia, false);
663 internal::ImageRep* rep = GetRepresentation(kImageRepGdk, false);
690 internal::ImageRep* rep = GetRepresentation(kImageRepCairo, false);
704 internal::ImageRep* rep = GetRepresentation(kImageRepCocoaTouch, false);
732 internal::ImageRep* rep = GetRepresentation(kImageRepCocoa, false);
768 internal::ImageRep* rep = GetRepresentation(kImageRepPNG, false);
939 internal::ImageRep* Image::GetRepresentation(
950 void Image::AddRepresentation(internal::ImageRep* rep) const {