diff options
author | Vítor Vasconcellos <vasconcellos.dev@gmail.com> | 2022-11-08 14:43:10 -0300 |
---|---|---|
committer | Vítor Vasconcellos <vasconcellos.dev@gmail.com> | 2022-11-08 14:43:10 -0300 |
commit | 8bb3ab306a30e8f1159b5e32ca9172f2148d6545 (patch) | |
tree | fcd970b5ef21b3f62adb4f3b16e8df6096159df5 | |
parent | 6aca7b50785fa1638f144b17060870d721e3f65a (diff) | |
download | gjs-8bb3ab306a30e8f1159b5e32ca9172f2148d6545.tar.gz |
Minor fixes of cairo enum definitions
-rw-r--r-- | modules/core/_cairo.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/core/_cairo.js b/modules/core/_cairo.js index 0bea8cad..c5cbf207 100644 --- a/modules/core/_cairo.js +++ b/modules/core/_cairo.js @@ -54,13 +54,14 @@ var Format = { RGB24: 1, A8: 2, A1: 3, - // The value of 4 is reserved by a deprecated enum value - RGB16_565: 5, + RGB16_565: 4, }; var LineCap = { BUTT: 0, ROUND: 1, + SQUARE: 2, + /** @deprecated Historical typo of {@link LineCap.Square}, kept for compatibility reasons */ SQUASH: 2, }; |