Browse Source

Update raylib_api.* by CI

github-actions[bot] 1 year ago
parent
commit
f947f89061
4 changed files with 187 additions and 132 deletions
  1. 27 0
      parser/output/raylib_api.json
  2. 12 0
      parser/output/raylib_api.lua
  3. 140 131
      parser/output/raylib_api.txt
  4. 8 1
      parser/output/raylib_api.xml

+ 27 - 0
parser/output/raylib_api.json

@@ -7817,6 +7817,33 @@
         }
       ]
     },
+    {
+      "name": "ImageDrawLineEx",
+      "description": "Draw a line defining thickness within an image",
+      "returnType": "void",
+      "params": [
+        {
+          "type": "Image *",
+          "name": "dst"
+        },
+        {
+          "type": "Vector2",
+          "name": "start"
+        },
+        {
+          "type": "Vector2",
+          "name": "end"
+        },
+        {
+          "type": "int",
+          "name": "thick"
+        },
+        {
+          "type": "Color",
+          "name": "color"
+        }
+      ]
+    },
     {
       "name": "ImageDrawCircle",
       "description": "Draw a filled circle within an image",

+ 12 - 0
parser/output/raylib_api.lua

@@ -5879,6 +5879,18 @@ return {
         {type = "Color", name = "color"}
       }
     },
+    {
+      name = "ImageDrawLineEx",
+      description = "Draw a line defining thickness within an image",
+      returnType = "void",
+      params = {
+        {type = "Image *", name = "dst"},
+        {type = "Vector2", name = "start"},
+        {type = "Vector2", name = "end"},
+        {type = "int", name = "thick"},
+        {type = "Color", name = "color"}
+      }
+    },
     {
       name = "ImageDrawCircle",
       description = "Draw a filled circle within an image",

File diff suppressed because it is too large
+ 140 - 131
parser/output/raylib_api.txt


+ 8 - 1
parser/output/raylib_api.xml

@@ -670,7 +670,7 @@
             <Param type="unsigned int" name="frames" desc="" />
         </Callback>
     </Callbacks>
-    <Functions count="571">
+    <Functions count="572">
         <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
             <Param type="int" name="width" desc="" />
             <Param type="int" name="height" desc="" />
@@ -1966,6 +1966,13 @@
             <Param type="Vector2" name="end" desc="" />
             <Param type="Color" name="color" desc="" />
         </Function>
+        <Function name="ImageDrawLineEx" retType="void" paramCount="5" desc="Draw a line defining thickness within an image">
+            <Param type="Image *" name="dst" desc="" />
+            <Param type="Vector2" name="start" desc="" />
+            <Param type="Vector2" name="end" desc="" />
+            <Param type="int" name="thick" desc="" />
+            <Param type="Color" name="color" desc="" />
+        </Function>
         <Function name="ImageDrawCircle" retType="void" paramCount="5" desc="Draw a filled circle within an image">
             <Param type="Image *" name="dst" desc="" />
             <Param type="int" name="centerX" desc="" />

Some files were not shown because too many files changed in this diff