Lines Matching defs:bitmap
629 const SkBitmap& bitmap,
635 if (!SkEncodeImage(&write, bitmap, SkEncodedImageFormat::kPNG, 100)) {
636 HRM(E_FAIL, "Unable to encode bitmap as png.");
663 static_cast<FLOAT>(bitmap.width()), static_cast<FLOAT>(bitmap.height())
683 const SkScalar bWidth = SkIntToScalar(bitmap.width());
684 const SkScalar bHeight = SkIntToScalar(bitmap.height());
713 1.0, static_cast<FLOAT>(bitmap.height()),
721 bitmap.width() - 1.0f, 0.0f,
722 1.0f, static_cast<FLOAT>(bitmap.height()),
734 static_cast<FLOAT>(bitmap.width()), 1.0,
742 0.0f, bitmap.height() - 1.0f,
743 static_cast<FLOAT>(bitmap.width()), 1.0f,
754 const SkColor tlColor = bitmap.getColor(0,0);
758 const SkColor trColor = bitmap.getColor(bitmap.width()-1,0);
762 const SkColor brColor = bitmap.getColor(bitmap.width()-1,
763 bitmap.height()-1);
767 const SkColor blColor = bitmap.getColor(0,bitmap.height()-1);
785 bound.height = static_cast<FLOAT>(bitmap.height());
789 bound.width = static_cast<FLOAT>(bitmap.width());
2018 SkBitmap bitmap;
2019 if (!as_IB(image)->getROPixels(nullptr, &bitmap)) {
2023 SkRect bitmapBounds = SkRect::Make(bitmap.bounds());
2036 auto bitmapShader = SkMakeBitmapShaderForPaint(paint, bitmap,