MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / setCoords

Method setCoords

3rdparty/qcustomplot/qcustomplot.cpp:12518–12522  ·  view source on GitHub ↗

! Sets the coordinates of this QCPItemPosition. What the coordinates mean, is defined by the type (\ref setType, \ref setTypeX, \ref setTypeY). For example, if the type is \ref ptAbsolute, \a key and \a value mean the x and y pixel position on the QCustomPlot surface. In that case the origin (0, 0) is in the top left corner of the QCustomPlot viewport. If the type is \ref ptPlotCoords

Source from the content-addressed store, hash-verified

12516 \see setPixelPosition
12517*/
12518void QCPItemPosition::setCoords(double key, double value)
12519{
12520 mKey = key;
12521 mValue = value;
12522}
12523
12524/*! \overload
12525

Callers 12

drawMethod · 0.80
createPositionMethod · 0.80
QCPItemStraightLineMethod · 0.80
QCPItemLineMethod · 0.80
QCPItemCurveMethod · 0.80
QCPItemRectMethod · 0.80
QCPItemTextMethod · 0.80
QCPItemEllipseMethod · 0.80
QCPItemPixmapMethod · 0.80
QCPItemTracerMethod · 0.80
updatePositionMethod · 0.80
QCPItemBracketMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected