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

Method setPositionAlignment

qcustomplot.cpp:28959–28962  ·  view source on GitHub ↗

! Sets which point of the text rect shall be aligned with \a position. Examples: \li If \a alignment is Qt::AlignHCenter | Qt::AlignTop , the text will be positioned such that the top of the text rect will be horizontally centered on \a position. \li If \a alignment is Qt::AlignLeft | Qt::AlignBottom , \a position will indicate the bottom left corner of the text rect

Source from the content-addressed store, hash-verified

28957 setTextAlignment.
28958*/
28959void QCPItemText::setPositionAlignment(Qt::Alignment alignment)
28960{
28961 mPositionAlignment = alignment;
28962}
28963
28964/*!
28965 Controls how (multi-lined) text is aligned inside the text rect (typically Qt::AlignLeft, Qt::AlignCenter or Qt::AlignRight).

Callers 1

FlowViewWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected