58    virtual unsigned int GetSize() 
const;
 
   88    virtual void ViewDraw( 
int aLayer, 
VIEW* aView ) 
const override;
 
  107    virtual const std::vector<VIEW_ITEM*> updateDrawList() 
const;
 
 
virtual void Clear()
Remove all the stored items from the group.
 
virtual unsigned int GetSize() const
Return the number of stored items.
 
virtual void ViewDraw(int aLayer, VIEW *aView) const override
Draw all the stored items in the group on the given layer.
 
virtual VIEW_ITEM * GetItem(unsigned int aIdx) const
 
VIEW_GROUP & operator=(const VIEW_GROUP &)=delete
 
VIEW_GROUP(const VIEW_GROUP &)=delete
 
std::vector< int > ViewGetLayers() const override
Return the all the layers within the VIEW the object is painted on.
 
std::vector< VIEW_ITEM * > m_groupItems
 
wxString GetClass() const override
Return the class name.
 
virtual void Remove(VIEW_ITEM *aItem)
Remove an item from the group.
 
VIEW_GROUP(VIEW *aView=nullptr)
 
virtual void SetLayer(int aLayer)
Set layer used to draw the group.
 
virtual void Add(VIEW_ITEM *aItem)
Add an item to the group.
 
virtual const BOX2I ViewBBox() const override
Return the bounding box for all stored items covering all its layers.
 
VIEW_ITEM(bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
 
The Cairo implementation of the graphics abstraction layer.