Profile2dDM.h
Classes
- Profile2dDM -- A DisplayMethod to draw Profiles (full description)
Interface
- Public Members
- Profile2dDM(WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd)
- virtual ~Profile2dDM()
- virtual void cleanup()
- virtual Bool drawIntoList(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
- Protected Members
- Profile2dDM()
- Profile2dDM(const Profile2dDM &other)
- void operator=(const Profile2dDM &other)
- Private Members
- void setStyles(WorldCanvas *wc, Profile2dDD *parent)
- void restoreStyles(WorldCanvas *wc)
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
- DisplayMethod
- CachingDisplayMethod
Etymology
Synopsis
Member Description
Constructor.
Destructor.
virtual void cleanup()
Clean up (ie. delete any existing cached display list).
virtual Bool drawIntoList(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
Draw into a cached drawing list, called by draw function.
(Required) default constructor.
Profile2dDM(const Profile2dDM &other)
(Required) copy constructor.
void operator=(const Profile2dDM &other)
(Required) copy assignment.
Set the appropriate styes and rules for drawing the profile
Restore the appropriate styles and rules after drawing
is completed