winamp/Src/Wasabi/api/imgldr/imggen/grad.h

16 lines
431 B
C
Raw Normal View History

2024-09-24 13:54:57 +01:00
#ifndef _GRAD_H
#define _GRAD_H
#include <api/service/svcs/svc_imggen.h>
#include <bfc/draw/gradient.h>
class GradientImage : public svc_imageGeneratorI, public Gradient
{
public:
static const char *getServiceName() { return "Gradient 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