MCPcopy Create free account
hub / github.com/bewuethr/stroustrup-ppp / w

Function w

chapter22/chapter22_Graph.cpp:336–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334//------------------------------------------------------------------------------
335
336Point w(const Rectangle& rect)
337{
338 return Point(rect.point(0).x,rect.point(0).y+rect.height()/2);
339}
340
341//------------------------------------------------------------------------------
342

Callers 4

set_arrowsFunction · 0.70
x_maxFunction · 0.70
x_maxFunction · 0.50
x_maxFunction · 0.50

Calls 6

PointClass · 0.70
pointMethod · 0.45
heightMethod · 0.45
centerMethod · 0.45
radiusMethod · 0.45
majorMethod · 0.45

Tested by

no test coverage detected