repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
ui
/
mojo
/
geometry
/
geometry.mojom
blob
62bc6c8ea0e9e6902ea4412bbdb7bd40689e922b
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
5
module mojo;
6
7
struct Point {
8
int32 x;
9
int32 y;
10
};
11
12
struct PointF {
13
float x;
14
float y;
15
};
16
17
struct Size {
18
int32 width;
19
int32 height;
20
};
21
22
struct Rect {
23
int32 x;
24
int32 y;
25
int32 width;
26
int32 height;
27
};
28
29
struct RectF {
30
float x;
31
float y;
32
float width;
33
float height;
34
};
35
36
struct Transform {
37
// Row major order.
38
array<float, 16> matrix;
39
};