MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / clearAlpha

Method clearAlpha

qcustomplot/qcustomplot.cpp:25399–25407  ·  view source on GitHub ↗

! Frees the internal alpha map. The color map will have full opacity again. */

Source from the content-addressed store, hash-verified

25397 Frees the internal alpha map. The color map will have full opacity again.
25398*/
25399void QCPColorMapData::clearAlpha()
25400{
25401 if (mAlpha)
25402 {
25403 delete[] mAlpha;
25404 mAlpha = 0;
25405 mDataModified = true;
25406 }
25407}
25408
25409/*!
25410 Sets all cells to the value \a z.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected