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

Method mainPen

qcustomplot/qcustomplot.cpp:28236–28239  ·  view source on GitHub ↗

! \internal Returns the pen that should be used for drawing lines. Returns mPen when the item is not selected and mSelectedPen when it is. */

Source from the content-addressed store, hash-verified

28234 item is not selected and mSelectedPen when it is.
28235*/
28236QPen QCPItemStraightLine::mainPen() const
28237{
28238 return mSelected ? mSelectedPen : mPen;
28239}
28240/* end of 'src/items/item-straightline.cpp' */
28241
28242

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected