Files
newspark110/lib/engine/rs_pen.cpp
Chenwenxuan edac2715f0 init
2024-03-06 14:54:30 +08:00

14 lines
430 B
C++

#include <iostream>
#include "rs_pen.h"
std::ostream& operator << (std::ostream& os, const RS_Pen& p) {
//os << "style: " << p.style << std::endl;
os << " pen color: " << p.getColor()
<< " pen width: " << p.getWidth()
<< " pen screen width: " << p.getScreenWidth()
<< " pen line type: " << p.getLineType()
<< " flags: " << (p.getFlag(RS2::FlagInvalid) ? "INVALID" : "")
<< std::endl;
return os;
}