#include <image.h>
Inheritance diagram for Image:

Public Member Functions | |
| virtual | ~Image () |
| virtual void | save (const std::string &fileName)=0 |
| bool | bNew () const |
| std::string | name () const |
| std::string | filePattern () const |
| void | name (const std::string &name) |
| Image & | operator<< (Cmd *pCmd) |
Static Public Member Functions | |
| static Image * | readImageFromFile (const char *szFileName) |
Protected Member Functions | |
| Image (const BoxSize &size) | |
| Image (const std::string &fileName) | |
Classes | |
| class | ErrLoad |
| class | ErrSave |
| class | ErrUnknownFF |
Definition at line 19 of file image.h.
| Image::Image | ( | const BoxSize & | size | ) | [protected] |
Initialize base. Use AppWnd::newDocName() method to obtain image name.
| size | Desired size of image. |
| Image::Image | ( | const std::string & | fileName | ) | [inline, protected] |
| static Image* Image::readImageFromFile | ( | const char * | szFileName | ) | [static] |
| virtual void Image::save | ( | const std::string & | fileName | ) | [pure virtual] |
Save image to desired file.
| fileName | File name to save with. |
Implemented in PluginImage, and PNGImage.
| bool Image::bNew | ( | ) | const [inline] |
| std::string Image::name | ( | ) | const [inline] |
| std::string Image::filePattern | ( | ) | const |
| void Image::name | ( | const std::string & | name | ) | [inline] |
Put command to history list and execute command. *pCmd object must by allocated on the heap and can never be destroyed. CmdHistory destroys it.
| pCmd | Pointer to command. |
Reimplemented from CmdHistory.
Definition at line 62 of file image.h.
References Cmd::exec(), and CmdHistory::operator<<().
1.5.2