MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / MakeExpanded

Method MakeExpanded

Source/Engine/Core/Math/Rectangle.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50Rectangle Rectangle::MakeExpanded(float toExpand) const
51{
52 return Rectangle(Location - toExpand * 0.5f, Size + toExpand);
53}
54
55void Rectangle::Scale(float scale)
56{

Callers 15

DrawSelfMethod · 0.45
DrawMethod · 0.45
DrawLazyConnectMethod · 0.45
ShowWholeGraphMethod · 0.45
ShowSelectionMethod · 0.45
FocusNodeMethod · 0.45
CommentSelectionMethod · 0.45
DrawMethod · 0.45
DefaultDrawBoxMethod · 0.45
DrawMethod · 0.45
OnHelperButtonClickedMethod · 0.45
OnMouseMoveMethod · 0.45

Calls 1

RectangleClass · 0.70

Tested by

no test coverage detected