/** * @return true if the grid is switched on. */ bool RS_GraphicView::isGridOn() const{ if (container) { RS_Graphic* g = container->getGraphic(); if (g) { return g->isGridOn(); } } return true; }
/** * @return true if the grid is switched on. */ bool RS_GraphicView::isGridOn() { if (container!=NULL) { RS_Graphic* g = container->getGraphic(); if (g!=NULL) { return g->isGridOn(); } } return true; }