MCPcopy Create free account
hub / github.com/YYC572652645/QCoolPage / pointDistance

Method pointDistance

qcustomplot/qcustomplot.cpp:16388–16447  ·  view source on GitHub ↗

! \internal Calculates the (minimum) distance (in pixels) the graph's representation has from the given \a pixelPoint in pixels. This is used to determine whether the graph was clicked or not, e.g. in \ref selectTest. If either the graph has no data or if the line style is \ref lsNone and the scatter style's shape is \ref QCPScatterStyle::ssNone (i.e. there is no visual representat

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected