mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-10-06 03:51:40 +00:00
19 lines
286 B
C++
19 lines
286 B
C++
#include "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
|