| 136 | |
| 137 | STD_SWAP_METHOD_SETTER_CMD_IMPL(PlotArea, SetClippingEnabled, bool, toggleClipping) |
| 138 | void PlotArea::setClippingEnabled(bool on) { |
| 139 | Q_D(PlotArea); |
| 140 | if (d->clippingEnabled() != on) |
| 141 | exec(new PlotAreaSetClippingEnabledCmd(d, on, ki18n("%1: toggle clipping"))); |
| 142 | } |
| 143 | |
| 144 | /*! |
| 145 | * sets plot area rect in scene coordinates. |
nothing calls this directly
no test coverage detected