init
This commit is contained in:
13
lib/engine/rs_pen.cpp
Normal file
13
lib/engine/rs_pen.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user