#include "rs_insert.h"
#include "rs_spline.h"
#include "rs_information.h"
-#include "rs_graphicview.h"
-#include "paintintf.h"
+#include "graphicview.h"
+#include "paintinterface.h"
bool RS_EntityContainer::autoUpdateBorders = true;
*/
//printf("RS_EntityContainer::addEntity(): entity=%08X\n", entity);
- if (entity == NULL)
+ if (!entity)
return;
if (entity->rtti() == RS2::EntityImage || entity->rtti() == RS2::EntityHatch)
calculateBorders();
}
-//void RS_EntityContainer::draw(RS_Painter* painter, RS_GraphicView* view,
-void RS_EntityContainer::draw(PaintInterface * painter, RS_GraphicView * view, double /*patternOffset*/)
+void RS_EntityContainer::draw(PaintInterface * painter, GraphicView * view, double /*patternOffset*/)
{
if (painter == NULL || view == NULL)
return;