mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Update raylib_api.* by CI
This commit is contained in:
@ -8013,6 +8013,141 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ImageDrawTriangle",
|
||||
"description": "Draw triangle within an image",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Image *",
|
||||
"name": "dst"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "v1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "v2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "v3"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ImageDrawTriangleEx",
|
||||
"description": "Draw triangle with interpolated colors within an image",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Image *",
|
||||
"name": "dst"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "v1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "v2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "v3"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "c1"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "c2"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "c3"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ImageDrawTriangleLines",
|
||||
"description": "Draw triangle outline within an image",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Image *",
|
||||
"name": "dst"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "v1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "v2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "v3"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ImageDrawTriangleFan",
|
||||
"description": "Draw a triangle fan defined by points within an image (first vertex is the center)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Image *",
|
||||
"name": "dst"
|
||||
},
|
||||
{
|
||||
"type": "Vector2 *",
|
||||
"name": "points"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "pointCount"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ImageDrawTriangleStrip",
|
||||
"description": "Draw a triangle strip defined by points within an image",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Image *",
|
||||
"name": "dst"
|
||||
},
|
||||
{
|
||||
"type": "Vector2 *",
|
||||
"name": "points"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "pointCount"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ImageDraw",
|
||||
"description": "Draw a source image within a destination image (tint applied to source)",
|
||||
|
||||
Reference in New Issue
Block a user