1 #ifndef __JGIZMO__JCANVAS__ 
    2 #define __JGIZMO__JCANVAS__ 
   16 namespace JPP { 
using namespace JGIZMO; }
 
   67       if (pos != string::npos) {
 
   69         istringstream(buffer.substr(0,pos)) >> cv.
x; 
 
   70         istringstream(buffer.substr(pos+1)) >> cv.
y;
 
   74         throw JParseError(
"JRootObjectID error parsing " + buffer);
 
Data structure for size of TCanvas. 
 
friend std::ostream & operator<<(std::ostream &out, const JCanvas &cv)
Write canvas to output stream. 
 
JCanvas(const int __x, const int __y)
Constructor. 
 
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line. 
 
int y
number of pixels in Y 
 
friend std::istream & operator>>(std::istream &in, JCanvas &cv)
Read canvas from input stream. 
 
int x
number of pixels in X 
 
JCanvas()
Default constructor. 
 
static const char SEPARATOR
 
Exception for parsing value.