MCPcopy Create free account
hub / github.com/ChromiumWebApps/chromium / SquareForPoint

Function SquareForPoint

ppapi/examples/2d/paint_manager_example.cc:22–25  ·  view source on GitHub ↗

We identify our square by the center point. This computes the rect for the square given that point.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

OnPaintMethod · 0.70
UpdateSquareMethod · 0.70

Calls 1

PP_MakeRectFromXYWHFunction · 0.85

Tested by

no test coverage detected