1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-08 19:00:33 +00:00
pdf2htmlEX/src/Color.cc

19 lines
286 B
C++
Raw Normal View History

2013-04-06 08:45:01 +00:00
#include "Color.h"
2013-04-04 14:14:49 +00:00
#include "util/misc.h"
namespace pdf2htmlEX {
using std::ostream;
ostream & operator << (ostream & out, const Color & color)
{
if(color.transparent)
out << "transparent";
else
out << color.rgb;
return out;
}
} // namespace pdf2htmlEX