remove setBitmapDevice -- no longer called, and is a necessary step on our way
to removing setDevice (and hopefully getDevice after that). git-svn-id: http://skia.googlecode.com/svn/trunk@5732 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
be584d7820
commit
768d59b97d
@ -106,12 +106,6 @@ public:
|
||||
*/
|
||||
SkDevice* getTopDevice(bool updateMatrixClip = false) const;
|
||||
|
||||
/**
|
||||
* Create a new raster device and make it current. This also returns
|
||||
* the new device.
|
||||
*/
|
||||
SkDevice* setBitmapDevice(const SkBitmap& bitmap);
|
||||
|
||||
/**
|
||||
* Shortcut for getDevice()->createCompatibleDevice(...).
|
||||
* If getDevice() == NULL, this method does nothing, and returns NULL.
|
||||
|
@ -614,12 +614,6 @@ SkDevice* SkCanvas::setDevice(SkDevice* device) {
|
||||
return device;
|
||||
}
|
||||
|
||||
SkDevice* SkCanvas::setBitmapDevice(const SkBitmap& bitmap) {
|
||||
SkDevice* device = this->setDevice(SkNEW_ARGS(SkDevice, (bitmap)));
|
||||
device->unref();
|
||||
return device;
|
||||
}
|
||||
|
||||
bool SkCanvas::readPixels(SkBitmap* bitmap,
|
||||
int x, int y,
|
||||
Config8888 config8888) {
|
||||
|
Loading…
Reference in New Issue
Block a user