solid.h 383 B

1234567891011121314
  1. #ifndef _SOLID_H
  2. #define _SOLID_H
  3. #include <api/service/svcs/svc_imggen.h>
  4. class SolidImage : public svc_imageGeneratorI
  5. {
  6. public:
  7. static const char *getServiceName() { return "Solid Color image generator"; }
  8. virtual int testDesc(const wchar_t *desc);
  9. virtual ARGB32 *genImage(const wchar_t *desc, int *has_alpha, int *w, int *h, ifc_xmlreaderparams *params = NULL);
  10. };
  11. #endif