From d8214c916e6b80188cb8f9b18e11f50767b165b8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 30 Jun 2024 09:07:57 +0000 Subject: [PATCH] Update raylib_api.* by CI --- parser/output/raylib_api.json | 30 +++++++++++++++--------------- parser/output/raylib_api.lua | 18 +++++++++--------- parser/output/raylib_api.txt | 16 ++++++++-------- parser/output/raylib_api.xml | 8 ++++---- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json index 5e3fc2c4..a556c84b 100644 --- a/parser/output/raylib_api.json +++ b/parser/output/raylib_api.json @@ -7183,6 +7183,21 @@ } ] }, + { + "name": "ImageFromChannel", + "description": "Create an image from a selected channel of another image (GRAYSCALE/R16/R32)", + "returnType": "Image", + "params": [ + { + "type": "Image", + "name": "image" + }, + { + "type": "int", + "name": "selectedChannel" + } + ] + }, { "name": "ImageText", "description": "Create an image from text (default font)", @@ -7229,21 +7244,6 @@ } ] }, - { - "name": "ImageFromChannel", - "description": "Create an image from a selected channel of another image", - "returnType": "Image", - "params": [ - { - "type": "Image", - "name": "image" - }, - { - "type": "int", - "name": "selectedChannel" - } - ] - }, { "name": "ImageFormat", "description": "Convert image data to desired format", diff --git a/parser/output/raylib_api.lua b/parser/output/raylib_api.lua index 37ec004b..cefb37e1 100644 --- a/parser/output/raylib_api.lua +++ b/parser/output/raylib_api.lua @@ -5521,6 +5521,15 @@ return { {type = "Rectangle", name = "rec"} } }, + { + name = "ImageFromChannel", + description = "Create an image from a selected channel of another image (GRAYSCALE/R16/R32)", + returnType = "Image", + params = { + {type = "Image", name = "image"}, + {type = "int", name = "selectedChannel"} + } + }, { name = "ImageText", description = "Create an image from text (default font)", @@ -5543,15 +5552,6 @@ return { {type = "Color", name = "tint"} } }, - { - name = "ImageFromChannel", - description = "Create an image from a selected channel of another image", - returnType = "Image", - params = { - {type = "Image", name = "image"}, - {type = "int", name = "selectedChannel"} - } - }, { name = "ImageFormat", description = "Convert image data to desired format", diff --git a/parser/output/raylib_api.txt b/parser/output/raylib_api.txt index 5f62c2e1..59f418d6 100644 --- a/parser/output/raylib_api.txt +++ b/parser/output/raylib_api.txt @@ -2773,14 +2773,20 @@ Function 293: ImageFromImage() (2 input parameters) Description: Create an image from another image piece Param[1]: image (type: Image) Param[2]: rec (type: Rectangle) -Function 294: ImageText() (3 input parameters) +Function 294: ImageFromChannel() (2 input parameters) + Name: ImageFromChannel + Return type: Image + Description: Create an image from a selected channel of another image (GRAYSCALE/R16/R32) + Param[1]: image (type: Image) + Param[2]: selectedChannel (type: int) +Function 295: ImageText() (3 input parameters) Name: ImageText Return type: Image Description: Create an image from text (default font) Param[1]: text (type: const char *) Param[2]: fontSize (type: int) Param[3]: color (type: Color) -Function 295: ImageTextEx() (5 input parameters) +Function 296: ImageTextEx() (5 input parameters) Name: ImageTextEx Return type: Image Description: Create an image from text (custom sprite font) @@ -2789,12 +2795,6 @@ Function 295: ImageTextEx() (5 input parameters) Param[3]: fontSize (type: float) Param[4]: spacing (type: float) Param[5]: tint (type: Color) -Function 296: ImageFromChannel() (2 input parameters) - Name: ImageFromChannel - Return type: Image - Description: Create an image from a selected channel of another image - Param[1]: image (type: Image) - Param[2]: selectedChannel (type: int) Function 297: ImageFormat() (2 input parameters) Name: ImageFormat Return type: void diff --git a/parser/output/raylib_api.xml b/parser/output/raylib_api.xml index bafb8a65..27499123 100644 --- a/parser/output/raylib_api.xml +++ b/parser/output/raylib_api.xml @@ -1798,6 +1798,10 @@ + + + + @@ -1810,10 +1814,6 @@ - - - -