poly.h 377 B

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