Lines Matching defs:SkBitmapDevice
8 #include "SkBitmapDevice.h"
70 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap)
76 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& info) {
80 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps)
86 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& origInfo,
115 return new SkBitmapDevice(bitmap, surfaceProps);
118 SkImageInfo SkBitmapDevice::imageInfo() const {
122 void SkBitmapDevice::setNewSize(const SkISize& size) {
127 void SkBitmapDevice::replaceBitmapBackendForRasterSurface(const SkBitmap& bm) {
134 SkBaseDevice* SkBitmapDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint*) {
136 return SkBitmapDevice::Create(cinfo.fInfo, surfaceProps);
139 const SkBitmap& SkBitmapDevice::onAccessBitmap() {
143 bool SkBitmapDevice::onAccessPixels(SkPixmap* pmap) {
151 bool SkBitmapDevice::onPeekPixels(SkPixmap* pmap) {
161 bool SkBitmapDevice::onWritePixels(const SkImageInfo& srcInfo, const void* srcPixels,
180 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
185 void SkBitmapDevice::onAttachToCanvas(SkCanvas* canvas) {
192 void SkBitmapDevice::onDetachFromCanvas() {
201 void SkBitmapDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) {
205 void SkBitmapDevice::drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, size_t count,
211 void SkBitmapDevice::drawRect(const SkDraw& draw, const SkRect& r, const SkPaint& paint) {
216 void SkBitmapDevice::drawOval(const SkDraw& draw, const SkRect& oval, const SkPaint& paint) {
226 void SkBitmapDevice::drawRRect(const SkDraw& draw, const SkRRect& rrect, const SkPaint& paint) {
241 void SkBitmapDevice::drawPath(const SkDraw& draw, const SkPath& path,
248 void SkBitmapDevice::drawBitmap(const SkDraw& draw, const SkBitmap& bitmap,
253 void SkBitmapDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
344 void SkBitmapDevice::drawSprite(const SkDraw& draw, const SkBitmap& bitmap,
349 void SkBitmapDevice::drawText(const SkDraw& draw, const void* text, size_t len,
354 void SkBitmapDevice::drawPosText(const SkDraw& draw, const void* text, size_t len,
360 void SkBitmapDevice::drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode,
370 void SkBitmapDevice::drawDevice(const SkDraw& draw, SkBaseDevice* device,
372 draw.drawSprite(static_cast<SkBitmapDevice*>(device)->fBitmap, x, y, paint);
375 SkSurface* SkBitmapDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) {
379 SkImageFilter::Cache* SkBitmapDevice::getImageFilterCache() {
387 bool SkBitmapDevice::onShouldDisableLCD(const SkPaint& paint) const {