Skip to content

Commit 062bc3a

Browse files
Site changes [skip-ci]
1 parent a03e197 commit 062bc3a

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

_data/ref/alpha/dmgamesystem-cpp.json

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,54 @@
815815
"tparams": [],
816816
"type": "FUNCTION"
817817
},
818+
{
819+
"brief": "Get the font line height (max_ascent + max_descent...",
820+
"description": "Get the font line height (max_ascent + max_descent)",
821+
"error": "",
822+
"examples": "",
823+
"language": "",
824+
"members": [],
825+
"name": "ResFontGetLineHeight",
826+
"notes": [],
827+
"parameters": [
828+
{
829+
"doc": "The font resource to modify",
830+
"is_optional": "False",
831+
"name": "font",
832+
"types": [
833+
"FontResource*"
834+
]
835+
},
836+
{
837+
"doc": "The max distance above the base line of any glyph",
838+
"is_optional": "False",
839+
"name": "max_ascent",
840+
"types": [
841+
"float*"
842+
]
843+
},
844+
{
845+
"doc": "The max distance below the base line of any glyph",
846+
"is_optional": "False",
847+
"name": "max_descent",
848+
"types": [
849+
"float*"
850+
]
851+
}
852+
],
853+
"replaces": "",
854+
"returnvalues": [
855+
{
856+
"doc": "RESULT_OK if successful",
857+
"name": "result",
858+
"types": [
859+
"dmResource::Result"
860+
]
861+
}
862+
],
863+
"tparams": [],
864+
"type": "FUNCTION"
865+
},
818866
{
819867
"brief": "",
820868
"description": "",
@@ -951,6 +999,54 @@
951999
"tparams": [],
9521000
"type": "FUNCTION"
9531001
},
1002+
{
1003+
"brief": "Set the font line height, by specifying the max as...",
1004+
"description": "Set the font line height, by specifying the max ascent and descent",
1005+
"error": "",
1006+
"examples": "",
1007+
"language": "",
1008+
"members": [],
1009+
"name": "ResFontSetLineHeight",
1010+
"notes": [],
1011+
"parameters": [
1012+
{
1013+
"doc": "The font resource to modify",
1014+
"is_optional": "False",
1015+
"name": "font",
1016+
"types": [
1017+
"FontResource*"
1018+
]
1019+
},
1020+
{
1021+
"doc": "The max distance above the base line of any glyph",
1022+
"is_optional": "False",
1023+
"name": "max_ascent",
1024+
"types": [
1025+
"float"
1026+
]
1027+
},
1028+
{
1029+
"doc": "The max distance below the base line of any glyph",
1030+
"is_optional": "False",
1031+
"name": "max_descent",
1032+
"types": [
1033+
"float"
1034+
]
1035+
}
1036+
],
1037+
"replaces": "",
1038+
"returnvalues": [
1039+
{
1040+
"doc": "RESULT_OK if successful",
1041+
"name": "result",
1042+
"types": [
1043+
"dmResource::Result"
1044+
]
1045+
}
1046+
],
1047+
"tparams": [],
1048+
"type": "FUNCTION"
1049+
},
9541050
{
9551051
"brief": "Set a render constant by name. The constant must e...",
9561052
"description": "Set a render constant by name. The constant must exist in the material",

0 commit comments

Comments
 (0)