Home | History | Annotate | Download | only in xps

Lines Matching defs:bitmap

108     SkBitmap bitmap;
109 bitmap.setInfo(SkImageInfo::MakeUnknown(width, height));
110 return bitmap;
630 const SkBitmap& bitmap,
636 if (!SkImageEncoder::EncodeStream(&write, bitmap,
638 HRM(E_FAIL, "Unable to encode bitmap as png.");
667 static_cast<FLOAT>(bitmap.width()), static_cast<FLOAT>(bitmap.height())
687 const SkScalar bWidth = SkIntToScalar(bitmap.width());
688 const SkScalar bHeight = SkIntToScalar(bitmap.height());
717 1.0, static_cast<FLOAT>(bitmap.height()),
725 bitmap.width() - 1.0f, 0.0f,
726 1.0f, static_cast<FLOAT>(bitmap.height()),
738 static_cast<FLOAT>(bitmap.width()), 1.0,
746 0.0f, bitmap.height() - 1.0f,
747 static_cast<FLOAT>(bitmap.width()), 1.0f,
758 SkAutoLockPixels alp(bitmap);
760 const SkColor tlColor = bitmap.getColor(0,0);
764 const SkColor trColor = bitmap.getColor(bitmap.width()-1,0);
768 const SkColor brColor = bitmap.getColor(bitmap.width()-1,
769 bitmap.height()-1);
773 const SkColor blColor = bitmap.getColor(0,bitmap.height()-1);
791 bound.height = static_cast<FLOAT>(bitmap.height());
795 bound.width = static_cast<FLOAT>(bitmap.width());
1950 void SkXPSDevice::drawBitmap(const SkDraw& d, const SkBitmap& bitmap,
1957 srcRect.set(0, 0, bitmap.width(), bitmap.height());
1962 "Could not create path for bitmap.");
1967 "Could not create geometry for bitmap.");
1971 "Could not set the geometry for bitmap.");
1976 "Could not get the figures for bitmap.");
1985 "Could not set transform for bitmap.");
1987 //TODO: perspective that bitmap!
1997 HRV(this->createXpsImageBrush(bitmap,
2003 "Could not set bitmap brush.");
2010 "Could not add bitmap figure.");
2015 "Could not get current visuals for bitmap");
2017 "Could not add bitmap to current visuals.");
2022 void SkXPSDevice::drawSprite(const SkDraw&, const SkBitmap& bitmap,