Home | History | Annotate | Download | only in views

Lines Matching refs:ImagePainter

162 // ImagePainter ---------------------------------------------------------------
164 // ImagePainter stores and paints nine images as a scalable grid.
165 class VIEWS_EXPORT ImagePainter : public Painter {
167 // Constructs an ImagePainter with the specified image resource ids.
169 explicit ImagePainter(const int image_ids[]);
171 // Constructs an ImagePainter with the specified image and insets.
172 ImagePainter(const gfx::ImageSkia& image, const gfx::Insets& insets);
174 virtual ~ImagePainter();
199 DISALLOW_COPY_AND_ASSIGN(ImagePainter);
202 ImagePainter::ImagePainter(const int image_ids[]) {
209 ImagePainter::ImagePainter(const gfx::ImageSkia& image,
228 ImagePainter::~ImagePainter() {
231 bool ImagePainter::IsEmpty() const {
235 gfx::Size ImagePainter::GetMinimumSize() const {
241 void ImagePainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) {
280 void ImagePainter::Fill(gfx::Canvas* c,
347 return new ImagePainter(image, insets);
352 return new ImagePainter(image_ids);