There was an error while loading. Please reload this page.
1 parent 7d7564e commit 2e91948Copy full SHA for 2e91948
1 file changed
src/Processing.h
@@ -1287,6 +1287,15 @@ static constexpr const char* SVG = "processing.svg.PGraphicsSVG";
1287
static constexpr const char* PDF = "processing.pdf.PGraphicsPDF";
1288
static constexpr const char* DXF = "processing.dxf.RawDXF";
1289
static constexpr const char* WEBGL = "processing.webgl.PGraphicsWebGL";
1290
+// Platform constants
1291
+static constexpr int OTHER = 0;
1292
+static constexpr int WINDOWS = 1;
1293
+static constexpr int MACOS = 2;
1294
+static constexpr int LINUX = 3;
1295
+// Orientation constants (Android/mobile)
1296
+static constexpr int PORTRAIT = 1;
1297
+static constexpr int LANDSCAPE = 2;
1298
+static constexpr int SPAN = 0;
1299
1300
// Texture / image modes
1301
static constexpr int IMAGE = 100;
0 commit comments