pw_graphics: Small module refactors

Add bazel and cmake build files for many modules.
Rename pw_math to pw_geometry.
Small updates to formatting and style.

Change-Id: Icbc27a67f9b971c533907c80f9b7d13f186a8e16
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/202871
Reviewed-by: Taylor Cramer <cramertj@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
diff --git a/applications/terminal_display/text_buffer.h b/applications/terminal_display/text_buffer.h
index d40faf7..039a1cd 100644
--- a/applications/terminal_display/text_buffer.h
+++ b/applications/terminal_display/text_buffer.h
@@ -16,8 +16,8 @@
 #include <array>
 
 #include "pw_color/color.h"
-#include "pw_math/size.h"
-#include "pw_math/vector2.h"
+#include "pw_geometry/size.h"
+#include "pw_geometry/vector2.h"
 #include "pw_result/result.h"
 
 constexpr size_t kNumCharsWide = 52;
@@ -62,18 +62,18 @@
   void DrawCharacter(const Char& ch);
 
   // Return the size, in characters, of the text buffer.
-  pw::math::Size<int> GetSize() const {
-    return pw::math::Size<int>{kNumCharsWide, kNumRows};
+  pw::geometry::Size<int> GetSize() const {
+    return pw::geometry::Size<int>{kNumCharsWide, kNumRows};
   }
 
   // Return the character at the specified location.
-  pw::Result<Char> GetChar(pw::math::Vector2<int> loc) const;
+  pw::Result<Char> GetChar(pw::geometry::Vector2<int> loc) const;
 
  private:
   void ScrollUp();
   void InsertNewline();
 
-  pw::math::Vector2<int> cursor_ = {0, 0};
+  pw::geometry::Vector2<int> cursor_ = {0, 0};
   bool character_wrap_enabled_ = false;
   std::array<TextRow, kNumRows> text_rows_;
 };