math.proto 571 B

12345678910111213141516171819202122232425
  1. // Copyright 2014 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. // Messages containing common math data structures.
  5. syntax = "proto2";
  6. option optimize_for = LITE_RUNTIME;
  7. package userfeedback;
  8. // 2D Dimensions.
  9. message Dimensions {
  10. required float width = 1;
  11. required float height = 2;
  12. };
  13. // Axis-aligned rectangle in 2D space.
  14. message Rectangle {
  15. required float left = 1;
  16. required float top = 2;
  17. required float width = 3;
  18. required float height = 4;
  19. };