MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / setSize

Method setSize

3rdparty/qcustomplot/qcustomplot.cpp:600–607  ·  view source on GitHub ↗

! Sets the paint buffer size. The buffer is reallocated (by calling \ref reallocateBuffer), so any painters that were obtained by \ref startPainting are invalidated and must not be used after calling this method. If \a size is already the current buffer size, this method does nothing. */

Source from the content-addressed store, hash-verified

598 If \a size is already the current buffer size, this method does nothing.
599*/
600void QCPAbstractPaintBuffer::setSize(const QSize &size)
601{
602 if (mSize != size)
603 {
604 mSize = size;
605 reallocateBuffer();
606 }
607}
608
609/*!
610 Sets the invalidated flag to \a invalidated.

Callers 3

reallocateBufferMethod · 0.80
updateLayoutMethod · 0.80
foreachFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected