diff options
Diffstat (limited to 'chromium/mojo/services/public/interfaces/geometry/geometry.mojom')
-rw-r--r-- | chromium/mojo/services/public/interfaces/geometry/geometry.mojom | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/chromium/mojo/services/public/interfaces/geometry/geometry.mojom b/chromium/mojo/services/public/interfaces/geometry/geometry.mojom new file mode 100644 index 00000000000..ab68c8e61ce --- /dev/null +++ b/chromium/mojo/services/public/interfaces/geometry/geometry.mojom @@ -0,0 +1,34 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +module mojo { + +struct Point { + int32 x; + int32 y; +}; + +struct PointF { + float x; + float y; +}; + +struct Size { + int32 width; + int32 height; +}; + +struct Rect { + int32 x; + int32 y; + int32 width; + int32 height; +}; + +struct Transform { + // Should have exactly 16 entries. + float[] matrix; +}; + +} |