Home | History | Annotate | Download | only in views

Lines Matching defs:ImagePainter

92 // ImagePainter ---------------------------------------------------------------
94 // ImagePainter stores and paints nine images as a scalable grid.
95 class VIEWS_EXPORT ImagePainter : public Painter {
97 // Constructs an ImagePainter with the specified image resource ids.
99 explicit ImagePainter(const int image_ids[]);
101 // Constructs an ImagePainter with the specified image and insets.
102 ImagePainter(const gfx::ImageSkia& image, const gfx::Insets& insets);
104 virtual ~ImagePainter();
129 DISALLOW_COPY_AND_ASSIGN(ImagePainter);
132 ImagePainter::ImagePainter(const int image_ids[]) {
139 ImagePainter::ImagePainter(const gfx::ImageSkia& image,
158 ImagePainter::~ImagePainter() {
161 bool ImagePainter::IsEmpty() const {
165 gfx::Size ImagePainter::GetMinimumSize() const {
171 void ImagePainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) {
210 void ImagePainter::Fill(gfx::Canvas* c,
269 return new ImagePainter(image, insets);
274 return new ImagePainter(image_ids);