mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-25 00:03:59 -04:00
rlparser: update raylib_api.* by CI
This commit is contained in:
@ -9614,6 +9614,33 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "MeasureTextCodepoints",
|
||||||
|
"description": "Measure string size for an existing array of codepoints for Font",
|
||||||
|
"returnType": "Vector2",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"type": "Font",
|
||||||
|
"name": "font"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "const int *",
|
||||||
|
"name": "codepoints"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "int",
|
||||||
|
"name": "length"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "float",
|
||||||
|
"name": "fontSize"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "float",
|
||||||
|
"name": "spacing"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "GetGlyphIndex",
|
"name": "GetGlyphIndex",
|
||||||
"description": "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found",
|
"description": "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found",
|
||||||
|
|||||||
@ -6845,6 +6845,18 @@ return {
|
|||||||
{type = "float", name = "spacing"}
|
{type = "float", name = "spacing"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name = "MeasureTextCodepoints",
|
||||||
|
description = "Measure string size for an existing array of codepoints for Font",
|
||||||
|
returnType = "Vector2",
|
||||||
|
params = {
|
||||||
|
{type = "Font", name = "font"},
|
||||||
|
{type = "const int *", name = "codepoints"},
|
||||||
|
{type = "int", name = "length"},
|
||||||
|
{type = "float", name = "fontSize"},
|
||||||
|
{type = "float", name = "spacing"}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name = "GetGlyphIndex",
|
name = "GetGlyphIndex",
|
||||||
description = "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found",
|
description = "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -682,7 +682,7 @@
|
|||||||
<Param type="unsigned int" name="frames" desc="" />
|
<Param type="unsigned int" name="frames" desc="" />
|
||||||
</Callback>
|
</Callback>
|
||||||
</Callbacks>
|
</Callbacks>
|
||||||
<Functions count="598">
|
<Functions count="599">
|
||||||
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
|
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
|
||||||
<Param type="int" name="width" desc="" />
|
<Param type="int" name="width" desc="" />
|
||||||
<Param type="int" name="height" desc="" />
|
<Param type="int" name="height" desc="" />
|
||||||
@ -2437,6 +2437,13 @@
|
|||||||
<Param type="float" name="fontSize" desc="" />
|
<Param type="float" name="fontSize" desc="" />
|
||||||
<Param type="float" name="spacing" desc="" />
|
<Param type="float" name="spacing" desc="" />
|
||||||
</Function>
|
</Function>
|
||||||
|
<Function name="MeasureTextCodepoints" retType="Vector2" paramCount="5" desc="Measure string size for an existing array of codepoints for Font">
|
||||||
|
<Param type="Font" name="font" desc="" />
|
||||||
|
<Param type="const int *" name="codepoints" desc="" />
|
||||||
|
<Param type="int" name="length" desc="" />
|
||||||
|
<Param type="float" name="fontSize" desc="" />
|
||||||
|
<Param type="float" name="spacing" desc="" />
|
||||||
|
</Function>
|
||||||
<Function name="GetGlyphIndex" retType="int" paramCount="2" desc="Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found">
|
<Function name="GetGlyphIndex" retType="int" paramCount="2" desc="Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found">
|
||||||
<Param type="Font" name="font" desc="" />
|
<Param type="Font" name="font" desc="" />
|
||||||
<Param type="int" name="codepoint" desc="" />
|
<Param type="int" name="codepoint" desc="" />
|
||||||
|
|||||||
Reference in New Issue
Block a user