class GOState {
friend class GObject;
protected:
GOState () : rcount (1) {}
public:
// should be protected, but ...
virtual ~GOState () {}
void ref () { rcount++; }
void unref () { if (--rcount == 0) delete this; }
private:
QWMatrix matrix;
GObject::OutlineInfo oInfo;
GObject::FillInfo fInfo;
unsigned int rcount;
};