Sha256: 4d562260170b847ef5bc27a525d7d5290c1816b585532f562e21b91a08ceb3c5
Contents?: true
Size: 655 Bytes
Versions: 6
Compression:
Stored size: 655 Bytes
Contents
#ifndef SVG_COLOR_H #define SVG_COLOR_H #include <string> #include <map> #include <iostream> #include <libxml/tree.h> namespace SWF { class SVGColor { public: SVGColor(); SVGColor(unsigned char _r, unsigned char _g, unsigned char _b, unsigned char _a = 255); void initColors(); void setColor(unsigned char _r, unsigned char _g, unsigned char _b, unsigned char _a = 255); void setAlpha(unsigned char _a); void setAlpha(double _a); bool parse(std::string &color); bool parse(const char *color); void writeXML(xmlNodePtr parent); private: unsigned char r; unsigned char g; unsigned char b; unsigned char a; }; } #endif
Version data entries
6 entries across 6 versions & 1 rubygems