14 lines
377 B
C++
14 lines
377 B
C++
#ifndef _POLY_H
|
|
#define _POLY_H
|
|
|
|
#include <api/service/svcs/svc_imggen.h>
|
|
|
|
class PolyImage : public svc_imageGeneratorI {
|
|
public:
|
|
static const char *getServiceName() { return "Polygon image generator"; }
|
|
virtual int testDesc(const wchar_t *desc);
|
|
virtual ARGB32 *genImage(const wchar_t *desc, int *has_alpha, int *w, int *h, ifc_xmlreaderparams *params=NULL);
|
|
};
|
|
|
|
#endif
|