ultimatepp/bazaar/DXF/Point.h
micio 5d14a1f0c5 Bazaar/DXF : added Point entity
git-svn-id: svn://ultimatepp.org/upp/trunk@5320 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-09-05 18:22:59 +00:00

29 lines
512 B
C++

#ifndef _DXF_Point_h_
#define _DXF_Point_h_
class DXFPoint : public DXFEntity
{
friend class DXFEntities;
private:
// the point coordinates
Pointf p;
protected:
virtual bool Write(Stream &s);
// private constructor -- may be created only by DXFEntities
DXFPoint(DXFEntities *e);
public:
// get/set points
Pointf const &GetP(void) const { return p; }
DXFPoint &SetPoint(Pointf const &p);
// gets bounding box of element
virtual Rectf GetBoundingBox(void) const;
};
#endif