MCPcopy Create free account
hub / github.com/KDAB/KDChart / compare

Method compare

src/KDChart/KDChartAbstractAreaBase.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53#define d d_func()
54
55bool AbstractAreaBase::compare(const AbstractAreaBase *other) const
56{
57 if (other == this)
58 return true;
59 if (!other) {
60 return false;
61 }
62 return (frameAttributes() == other->frameAttributes()) && (backgroundAttributes() == other->backgroundAttributes());
63}
64
65void AbstractAreaBase::alignToReferencePoint(const RelativePosition &position)
66{

Callers

nothing calls this directly

Calls 2

frameAttributesMethod · 0.45
backgroundAttributesMethod · 0.45

Tested by

no test coverage detected