Add DrawTextGradientV, DrawTextCodepointGradientV
This commit is contained in:
parent
4bc8d3761c
commit
3c3733337d
4 changed files with 388 additions and 182 deletions
|
|
@ -9287,6 +9287,41 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawTextGradientV",
|
||||
"description": "Draw text with vertical gradient",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Font",
|
||||
"name": "font"
|
||||
},
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "text"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "position"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "fontSize"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "spacing"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "topTint"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "bottomTint"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawTextPro",
|
||||
"description": "Draw text using Font and pro parameters (rotation)",
|
||||
|
|
@ -9353,6 +9388,37 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawTextCodepointGradientV",
|
||||
"description": "Draw one character (codepoint) with vertical gradient",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Font",
|
||||
"name": "font"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "codepoint"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "position"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "fontSize"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "topTint"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "bottomTint"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawTextCodepoints",
|
||||
"description": "Draw multiple character (codepoint)",
|
||||
|
|
|
|||
|
|
@ -6671,6 +6671,20 @@ return {
|
|||
{type = "Color", name = "tint"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawTextGradientV",
|
||||
description = "Draw text with vertical gradient",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Font", name = "font"},
|
||||
{type = "const char *", name = "text"},
|
||||
{type = "Vector2", name = "position"},
|
||||
{type = "float", name = "fontSize"},
|
||||
{type = "float", name = "spacing"},
|
||||
{type = "Color", name = "topTint"},
|
||||
{type = "Color", name = "bottomTint"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawTextPro",
|
||||
description = "Draw text using Font and pro parameters (rotation)",
|
||||
|
|
@ -6698,6 +6712,19 @@ return {
|
|||
{type = "Color", name = "tint"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawTextCodepointGradientV",
|
||||
description = "Draw one character (codepoint) with vertical gradient",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Font", name = "font"},
|
||||
{type = "int", name = "codepoint"},
|
||||
{type = "Vector2", name = "position"},
|
||||
{type = "float", name = "fontSize"},
|
||||
{type = "Color", name = "topTint"},
|
||||
{type = "Color", name = "bottomTint"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawTextCodepoints",
|
||||
description = "Draw multiple character (codepoint)",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -679,7 +679,7 @@
|
|||
<Param type="unsigned int" name="frames" desc="" />
|
||||
</Callback>
|
||||
</Callbacks>
|
||||
<Functions count="584">
|
||||
<Functions count="586">
|
||||
<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="" />
|
||||
|
|
@ -2351,6 +2351,15 @@
|
|||
<Param type="float" name="spacing" desc="" />
|
||||
<Param type="Color" name="tint" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawTextGradientV" retType="void" paramCount="7" desc="Draw text with vertical gradient">
|
||||
<Param type="Font" name="font" desc="" />
|
||||
<Param type="const char *" name="text" desc="" />
|
||||
<Param type="Vector2" name="position" desc="" />
|
||||
<Param type="float" name="fontSize" desc="" />
|
||||
<Param type="float" name="spacing" desc="" />
|
||||
<Param type="Color" name="topTint" desc="" />
|
||||
<Param type="Color" name="bottomTint" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawTextPro" retType="void" paramCount="8" desc="Draw text using Font and pro parameters (rotation)">
|
||||
<Param type="Font" name="font" desc="" />
|
||||
<Param type="const char *" name="text" desc="" />
|
||||
|
|
@ -2368,6 +2377,14 @@
|
|||
<Param type="float" name="fontSize" desc="" />
|
||||
<Param type="Color" name="tint" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawTextCodepointGradientV" retType="void" paramCount="6" desc="Draw one character (codepoint) with vertical gradient">
|
||||
<Param type="Font" name="font" desc="" />
|
||||
<Param type="int" name="codepoint" desc="" />
|
||||
<Param type="Vector2" name="position" desc="" />
|
||||
<Param type="float" name="fontSize" desc="" />
|
||||
<Param type="Color" name="topTint" desc="" />
|
||||
<Param type="Color" name="bottomTint" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawTextCodepoints" retType="void" paramCount="7" desc="Draw multiple character (codepoint)">
|
||||
<Param type="Font" name="font" desc="" />
|
||||
<Param type="const int *" name="codepoints" desc="" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue