Home | History | Annotate | Download | only in views

Lines Matching defs:bitmap

508 bool SkBitmapView::getBitmap(SkBitmap* bitmap) const
510 if (bitmap)
511 *bitmap = fBitmap;
515 void SkBitmapView::setBitmap(const SkBitmap* bitmap, bool viewOwnsPixels)
517 if (bitmap)
519 fBitmap = *bitmap;
526 SkBitmap bitmap;
528 if (SkImageDecoder::DecodeFile(path, &bitmap))
530 this->setBitmap(&bitmap, true);
531 bitmap.setOwnsPixels(false);