#include "ui/gfx/image/image_family.h"
#include <cmath>
#include "base/check_op.h"
#include "skia/ext/image_operations.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia.h"
namespace gfx {
ImageFamily::const_iterator::const_iterator() { … }
ImageFamily::const_iterator::const_iterator(const const_iterator& other)
: … { … }
ImageFamily::const_iterator::const_iterator(
const std::map<MapKey, gfx::Image>::const_iterator& other)
: … { … }
ImageFamily::const_iterator::~const_iterator() { … }
ImageFamily::ImageFamily() { … }
ImageFamily::ImageFamily(ImageFamily&& other) = default;
ImageFamily::~ImageFamily() { … }
ImageFamily& ImageFamily::operator=(ImageFamily&& other) = default;
ImageFamily ImageFamily::Clone() const { … }
void ImageFamily::Add(const gfx::Image& image) { … }
void ImageFamily::Add(const gfx::ImageSkia& image_skia) { … }
const gfx::Image* ImageFamily::GetBest(int width, int height) const { … }
float ImageFamily::GetClosestAspect(float desired_aspect) const { … }
const gfx::Image* ImageFamily::GetBest(const gfx::Size& size) const { … }
gfx::Image ImageFamily::CreateExact(int width, int height) const { … }
gfx::Image ImageFamily::CreateExact(const gfx::Size& size) const { … }
const gfx::Image* ImageFamily::GetWithExactAspect(float aspect,
int width) const { … }
}