Lines Matching defs:bitmap
109 SkBitmap bitmap;
110 bitmap.setInfo(SkImageInfo::MakeUnknown(width, height));
111 return bitmap;
646 const SkBitmap& bitmap,
652 if (!SkImageEncoder::EncodeStream(&write, bitmap,
654 HRM(E_FAIL, "Unable to encode bitmap as png.");
683 static_cast<FLOAT>(bitmap.width()), static_cast<FLOAT>(bitmap.height())
703 const SkScalar bWidth = SkIntToScalar(bitmap.width());
704 const SkScalar bHeight = SkIntToScalar(bitmap.height());
733 1.0, static_cast<FLOAT>(bitmap.height()),
741 bitmap.width() - 1.0f, 0.0f,
742 1.0f, static_cast<FLOAT>(bitmap.height()),
754 static_cast<FLOAT>(bitmap.width()), 1.0,
762 0.0f, bitmap.height() - 1.0f,
763 static_cast<FLOAT>(bitmap.width()), 1.0f,
774 SkAutoLockPixels alp(bitmap);
776 const SkColor tlColor = bitmap.getColor(0,0);
780 const SkColor trColor = bitmap.getColor(bitmap.width()-1,0);
784 const SkColor brColor = bitmap.getColor(bitmap.width()-1,
785 bitmap.height()-1);
789 const SkColor blColor = bitmap.getColor(0,bitmap.height()-1);
807 bound.height = static_cast<FLOAT>(bitmap.height());
811 bound.width = static_cast<FLOAT>(bitmap.width());
1797 void SkXPSDevice::drawBitmap(const SkDraw& d, const SkBitmap& bitmap,
1804 srcRect.set(0, 0, bitmap.width(), bitmap.height());
1809 "Could not create path for bitmap.");
1814 "Could not create geometry for bitmap.");
1818 "Could not set the geometry for bitmap.");
1823 "Could not get the figures for bitmap.");
1832 "Could not set transform for bitmap.");
1834 //TODO: perspective that bitmap!
1844 HRV(this->createXpsImageBrush(bitmap,
1850 "Could not set bitmap brush.");
1857 "Could not add bitmap figure.");
1862 "Could not get current visuals for bitmap");
1864 "Could not add bitmap to current visuals.");
1869 void SkXPSDevice::drawSprite(const SkDraw&, const SkBitmap& bitmap,