MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / copyFrom

Method copyFrom

qcustomplot.cpp:10442–10447  ·  view source on GitHub ↗

! Copies all properties (e.g. color, fill, scatter style) of the \a other selection decorator to this selection decorator. */

Source from the content-addressed store, hash-verified

10440 this selection decorator.
10441*/
10442void QCPSelectionDecorator::copyFrom(const QCPSelectionDecorator *other)
10443{
10444 setPen(other->pen());
10445 setBrush(other->brush());
10446 setScatterStyle(other->scatterStyle(), other->usedScatterProperties());
10447}
10448
10449/*!
10450 This method is called by all plottables' draw methods to allow custom selection decorations to be

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected