Remove unused DocumentApi::clearImage() member function

This commit is contained in:
David Capello 2015-01-20 09:34:23 -03:00
parent 74e69e0666
commit 03a87b8d24
2 changed files with 0 additions and 6 deletions

View File

@ -499,11 +499,6 @@ void DocumentApi::replaceImage(Sprite* sprite, const ImageRef& oldImage, const I
sprite, oldImage, newImage));
}
void DocumentApi::clearImage(Image* image, color_t bgcolor)
{
m_transaction.execute(new cmd::ClearImage(image, bgcolor));
}
void DocumentApi::flipImage(Image* image, const gfx::Rect& bounds,
doc::algorithm::FlipType flipType)
{

View File

@ -107,7 +107,6 @@ namespace app {
void replaceImage(Sprite* sprite, const ImageRef& oldImage, const ImageRef& newImage);
// Image API
void clearImage(Image* image, color_t bgcolor);
void flipImage(Image* image, const gfx::Rect& bounds, doc::algorithm::FlipType flipType);
void flipImageWithMask(Layer* layer, Image* image, doc::algorithm::FlipType flipType);