Home | History | Annotate | Download | only in core

Lines Matching refs:SkDevice

8 #include "SkDevice.h"
16 SkDevice::SkDevice(const SkBitmap& bitmap) : fBitmap(bitmap) {
21 SkDevice::SkDevice(SkBitmap::Config config, int width, int height, bool isOpaque) {
33 SkDevice::~SkDevice() {
37 SkDevice* SkDevice::createCompatibleDevice(SkBitmap::Config config,
44 SkDevice* SkDevice::createCompatibleDeviceForSaveLayer(SkBitmap::Config config,
51 SkDevice* SkDevice::onCreateCompatibleDevice(SkBitmap::Config config,
55 return SkNEW_ARGS(SkDevice,(config, width, height, isOpaque));
58 SkMetaData& SkDevice::getMetaData() {
67 void SkDevice::lockPixels() {
73 void SkDevice::unlockPixels() {
79 const SkBitmap& SkDevice::accessBitmap(bool changePixels) {
87 void SkDevice::getGlobalBounds(SkIRect* bounds) const {
94 void SkDevice::clear(SkColor color) {
98 const SkBitmap& SkDevice::onAccessBitmap(SkBitmap* bitmap) {return *bitmap;}
100 void SkDevice::setMatrixClip(const SkMatrix& matrix, const SkRegion& region,
104 bool SkDevice::filterImage(SkImageFilter*, const SkBitmap& src,
110 bool SkDevice::allowImageFilter(SkImageFilter*) {
116 bool SkDevice::readPixels(SkBitmap* bitmap, int x, int y,
163 const SkCanvas::Config8888 SkDevice::kPMColorAlias =
167 const SkCanvas::Config8888 SkDevice::kPMColorAlias =
170 const SkCanvas::Config8888 SkDevice::kPMColorAlias =
176 const SkCanvas::Config8888 SkDevice::kPMColorAlias =
180 const SkCanvas::Config8888 SkDevice::kPMColorAlias =
183 const SkCanvas::Config8888 SkDevice::kPMColorAlias =
190 bool SkDevice::onReadPixels(const SkBitmap& bitmap,
215 void SkDevice::writePixels(const SkBitmap& bitmap,
281 void SkDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) {
285 void SkDevice::drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, size_t count,
290 void SkDevice::drawRect(const SkDraw& draw, const SkRect& r,
295 void SkDevice::drawPath(const SkDraw& draw, const SkPath& path,
301 void SkDevice::drawBitmap(const SkDraw& draw, const SkBitmap& bitmap,
316 void SkDevice::drawSprite(const SkDraw& draw, const SkBitmap& bitmap,
321 void SkDevice::drawText(const SkDraw& draw, const void* text, size_t len,
326 void SkDevice::drawPosText(const SkDraw& draw, const void* text, size_t len,
332 void SkDevice::drawTextOnPath(const SkDraw& draw, const void* text,
340 void SkDevice::drawPosTextOnPath(const SkDraw& draw, const void* text, size_t len,
347 void SkDevice::drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode,
357 void SkDevice::drawDevice(const SkDraw& draw, SkDevice* device,
365 bool SkDevice::filterTextFlags(const SkPaint& paint, TextFlags* flags) {