void OperationDiagramView::drawToDrawingArea() { setCairoContext(); CairoDrawer cairoDrawer(mOperationDiagram, mCairoContext.getCairo()); cairoDrawer.clearAndSetDefaults(); mOperationDiagram.drawDiagram(cairoDrawer); updateDrawingAreaSize(); }
void ZoneDiagramView::drawToDrawingArea() { GtkCairoContext cairo(getDiagramWidget()); CairoDrawer cairoDrawer(cairo.getCairo()); cairoDrawer.clearAndSetDefaults(); mZoneDiagram.drawDiagram(cairoDrawer); updateDrawingAreaSize(); }
void ClassDiagramView::updateGraph(bool reposition) { mClassDiagram.updateGraph(reposition); updateDrawingAreaSize(); }