Rect utility functions
* left_center()/top_center()/right_center()/bottom center() return the center of each edge. * Transpose() swap x/y axis Bug: None Test: covered by unittests Change-Id: Icd63578dfe236caf6376c043fc1a0ffe74dfe6cc Reviewed-on: https://chromium-review.googlesource.com/1176861Reviewed-by:Ian Vollick <vollick@chromium.org> Commit-Queue: Mitsuru Oshima (OOO) <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#585065}
Showing
Please register or sign in to comment