ot_math_get_constant
Description:
[ Version ( since = "1.3.3" ) ]
public Position ot_math_get_constant (Font font, OtMathContant constant)
Fetches the specified math constant.
For most constants, the value returned is an Position.
However, if the requested constant is SCRIPT_PERCENT_SCALE_DOWN, SCRIPT_SCRIPT_PERCENT_SCALE_DOWN or RADICAL_DEGREE_BOTTOM_RAISE_PERCENT, then the return value is an integer between 0 and 100 representing that percentage.
Parameters:
| font |
Font to work upon |
| constant |
OtMathContant the constant to retrieve |
Returns:
|
the requested constant or zero |
Namespace: HarfBuzz
Package: harfbuzz-gobject