Lines Matching defs:SkDevice
8 #include "SkDevice.h"
18 SK_DEFINE_INST_COUNT(SkDevice)
27 SkDevice::SkDevice(const SkBitmap& bitmap)
39 SkDevice::SkDevice(const SkBitmap& bitmap, const SkDeviceProperties& deviceProperties)
49 SkDevice::SkDevice(SkBitmap::Config config, int width, int height, bool isOpaque)
66 SkDevice::SkDevice(SkBitmap::Config config, int width, int height, bool isOpaque,
84 SkDevice::~SkDevice() {
88 void SkDevice::replaceBitmapBackendForRasterSurface(const SkBitmap& bm) {
95 SkDevice* SkDevice::createCompatibleDevice(SkBitmap::Config config,
102 SkDevice* SkDevice::createCompatibleDeviceForSaveLayer(SkBitmap::Config config,
109 SkDevice* SkDevice::onCreateCompatibleDevice(SkBitmap::Config config,
113 return SkNEW_ARGS(SkDevice,(config, width, height, isOpaque, fLeakyProperties));
116 SkMetaData& SkDevice::getMetaData() {
125 void SkDevice::lockPixels() {
131 void SkDevice::unlockPixels() {
137 const SkBitmap& SkDevice::accessBitmap(bool changePixels) {
145 void SkDevice::getGlobalBounds(SkIRect* bounds) const {
152 void SkDevice::clear(SkColor color) {
156 const SkBitmap& SkDevice::onAccessBitmap(SkBitmap* bitmap) {return *bitmap;}
158 void SkDevice::setMatrixClip(const SkMatrix& matrix, const SkRegion& region,
162 bool SkDevice::canHandleImageFilter(SkImageFilter*) {
166 bool SkDevice::filterImage(SkImageFilter* filter, const SkBitmap& src,
172 bool SkDevice::allowImageFilter(SkImageFilter*) {
178 bool SkDevice::readPixels(SkBitmap* bitmap, int x, int y,
223 const SkCanvas::Config8888 SkDevice::kPMColorAlias =
226 const SkCanvas::Config8888 SkDevice::kPMColorAlias =
229 const SkCanvas::Config8888 SkDevice::kPMColorAlias =
235 bool SkDevice::onReadPixels(const SkBitmap& bitmap,
260 void SkDevice::writePixels(const SkBitmap& bitmap,
331 void SkDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) {
335 void SkDevice::drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, size_t count,
341 void SkDevice::drawRect(const SkDraw& draw, const SkRect& r, const SkPaint& paint) {
346 void SkDevice::drawOval(const SkDraw& draw, const SkRect& oval, const SkPaint& paint) {
356 void SkDevice::drawRRect(const SkDraw& draw, const SkRRect& rrect, const SkPaint& paint) {
362 void SkDevice::drawPath(const SkDraw& draw, const SkPath& path,
369 void SkDevice::drawBitmap(const SkDraw& draw, const SkBitmap& bitmap,
374 void SkDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
460 void SkDevice::drawSprite(const SkDraw& draw, const SkBitmap& bitmap,
465 void SkDevice::drawText(const SkDraw& draw, const void* text, size_t len,
470 void SkDevice::drawPosText(const SkDraw& draw, const void* text, size_t len,
476 void SkDevice::drawTextOnPath(const SkDraw& draw, const void* text,
484 void SkDevice::drawPosTextOnPath(const SkDraw& draw, const void* text, size_t len,
491 void SkDevice::drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode,
501 void SkDevice::drawDevice(const SkDraw& draw, SkDevice* device,
509 bool SkDevice::filterTextFlags(const SkPaint& paint, TextFlags* flags) {