mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-05 18:40:37 +00:00
Remove unused DocumentApi::clearImage() member function
This commit is contained in:
parent
74e69e0666
commit
03a87b8d24
@ -499,11 +499,6 @@ void DocumentApi::replaceImage(Sprite* sprite, const ImageRef& oldImage, const I
|
|||||||
sprite, oldImage, newImage));
|
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,
|
void DocumentApi::flipImage(Image* image, const gfx::Rect& bounds,
|
||||||
doc::algorithm::FlipType flipType)
|
doc::algorithm::FlipType flipType)
|
||||||
{
|
{
|
||||||
|
@ -107,7 +107,6 @@ namespace app {
|
|||||||
void replaceImage(Sprite* sprite, const ImageRef& oldImage, const ImageRef& newImage);
|
void replaceImage(Sprite* sprite, const ImageRef& oldImage, const ImageRef& newImage);
|
||||||
|
|
||||||
// Image API
|
// Image API
|
||||||
void clearImage(Image* image, color_t bgcolor);
|
|
||||||
void flipImage(Image* image, const gfx::Rect& bounds, doc::algorithm::FlipType flipType);
|
void flipImage(Image* image, const gfx::Rect& bounds, doc::algorithm::FlipType flipType);
|
||||||
void flipImageWithMask(Layer* layer, Image* image, doc::algorithm::FlipType flipType);
|
void flipImageWithMask(Layer* layer, Image* image, doc::algorithm::FlipType flipType);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user