|
815 | 815 | "tparams": [],
|
816 | 816 | "type": "FUNCTION"
|
817 | 817 | },
|
| 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 | + }, |
818 | 866 | {
|
819 | 867 | "brief": "",
|
820 | 868 | "description": "",
|
|
951 | 999 | "tparams": [],
|
952 | 1000 | "type": "FUNCTION"
|
953 | 1001 | },
|
| 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 | + }, |
954 | 1050 | {
|
955 | 1051 | "brief": "Set a render constant by name. The constant must e...",
|
956 | 1052 | "description": "Set a render constant by name. The constant must exist in the material",
|
|
0 commit comments