MCPcopy Create free account
hub / github.com/KDE/labplot / setClippingEnabled

Method setClippingEnabled

src/backend/worksheet/plots/PlotArea.cpp:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137STD_SWAP_METHOD_SETTER_CMD_IMPL(PlotArea, SetClippingEnabled, bool, toggleClipping)
138void 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.

Callers

nothing calls this directly

Calls 1

clippingEnabledMethod · 0.80

Tested by

no test coverage detected