blob: f622ba441211db38e6b00f3c49b8813c12ec0c40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
syntax = "proto3";
package QtGui;
message QRgba64 {
uint64 rgba64 = 1;
}
message QColor {
oneof color {
QRgba64 rgba64 = 1;
uint32 rgba = 2;
}
}
message QMatrix4x4 {
// 16 floats in row-major order
repeated float m = 1;
}
message QVector2D {
float x_pos = 1;
float y_pos = 2;
}
message QVector3D {
float x_pos = 1;
float y_pos = 2;
float z_pos = 3;
}
message QVector4D {
float x_pos = 1;
float y_pos = 2;
float z_pos = 3;
float w_pos = 4;
}
message QTransform {
repeated double m = 1;
}
message QQuaternion {
float scalar = 1;
float x = 2;
float y = 3;
float z = 4;
}
message QImage {
bytes data = 1;
string format = 2; // see QImageWriter::supportedImageFormats()
}
|