This pointer is not treated as const internally by Visio::Render. This is a step
towards removing manual memory management of Graphic pointers.
_hyperlinks.clear();
}
- void Render::AddGraphic(GVJ_t* job, const Graphic* graphic)
+ void Render::AddGraphic(GVJ_t* job, Graphic* graphic)
{
if (_inComponent)
/* if in component, accumulate for end node/edge */
private:
/* graphics and texts maintenance */
void ClearGraphicsAndTexts();
- void AddGraphic(GVJ_t* job, const Graphic* graphic);
+ void AddGraphic(GVJ_t* job, Graphic* graphic);
void AddText(GVJ_t* job, const Text* text);
void AddHyperlink(GVJ_t* job, const Hyperlink* hyperlink);