mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
29 lines
512 B
C++
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
|