#include <imageioh.h>


Public Member Functions | |
| a2dCanvasDocumentIOHandlerImageIn (wxBitmapType type=wxBITMAP_TYPE_ANY) | |
| Constructor. | |
| ~a2dCanvasDocumentIOHandlerImageIn () | |
| Destructor. | |
| virtual bool | CanLoad (a2dDocumentInputStream &stream, const wxObject *obj=NULL, wxClassInfo *docClassInfo=NULL) |
| test header of the file to see if it can be loaded | |
| virtual bool | Load (a2dDocumentInputStream &stream, wxObject *doc) |
| load a complete document which contains an image | |
| void | SetImageSize (const wxSize &size) |
| Set the size of the image to create. | |
| void | SetType (wxBitmapType type) |
| set the image type to load from, wxBITMAP_TYPE_ANY means outdetect from filename in CanSave(). | |
| wxBitmapType | GetType () |
| return the image type to load from, wxBITMAP_TYPE_ANY means outdetect from filename in CanSave(). | |
Protected Member Functions | |
| wxBitmapType | DetectImageType () |
| for the stream, detect what image type it contains | |
Protected Attributes | |
| a2dCanvasDocument * | m_doc |
| the document to store/load the data found into | |
| wxSize | m_imageSize |
| image size that will be created. | |
| wxBitmapType | m_type |
| image type | |
Definition at line 26 of file imageioh.h.