MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / shape

Method shape

src/tools/UBGraphicsCompass.cpp:705–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703}
704
705QPainterPath UBGraphicsCompass::shape() const
706{
707 QPainterPath path = needleShape();
708 path = path.united(needleBaseShape());
709 path = path.united(needleArmShape());
710 path.addRect(hingeRect());
711 path = path.united(pencilArmShape());
712 path = path.united(pencilBaseShape());
713 path = path.united(pencilShape());
714 return path;
715}
716
717QPainterPath UBGraphicsCompass::needleShape() const
718{

Callers 1

timerEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected