1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-10-06 12:01:39 +00:00
pdf2htmlEX/src/util/color.cc

18 lines
290 B
C++
Raw Normal View History

2013-04-04 14:14:49 +00:00
#include "util/color.h"
#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