mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-10-06 12:01:39 +00:00
18 lines
290 B
C++
18 lines
290 B
C++
|
#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
|