type style
= [
| `NORMAL |
| `OBLIQUE |
| `ITALIC |
]
type weight_internal
= [
| `ULTRALIGHT |
| `LIGHT |
| `NORMAL |
| `BOLD |
| `ULTRABOLD |
| `HEAVY |
]
type weight
= [
]
type variant
= [
]
type stretch
= [
| `ULTRA_CONDENSED |
| `CONDENSED |
| `SEMI_CONDENSED |
| `NORMAL |
| `SEMI_EXPANDED |
| `EXPANDED |
| `EXTRA_EXPANDED |
| `ULTRA_EXPANDED |
]
type scale
= [
| `XX_SMALL |
| `X_SMALL |
| `SMALL |
| `MEDIUM |
| `LARGE |
| `X_LARGE |
| `XX_LARGE |
| `CUSTOM of float |
]
val scale_to_float : scale -> float
type underline
= [
| `NONE |
| `SINGLE |
| `DOUBLE |
| `LOW |
]
type wrap_mode
= [
| `WORD |
| `CHAR |
| `WORD_CHAR |
]
type ellipsize_mode
= [
| `NONE |
| `START |
| `MIDDLE |
| `END |
]
val _get_tables : unit -> style Gpointer.variant_table * weight_internal Gpointer.variant_table * variant Gpointer.variant_table * stretch Gpointer.variant_table * underline Gpointer.variant_table * wrap_mode Gpointer.variant_table * ellipsize_mode Gpointer.variant_table
val style : style Gpointer.variant_table
val weight : weight_internal Gpointer.variant_table
val variant : variant Gpointer.variant_table
val stretch : stretch Gpointer.variant_table
val underline : underline Gpointer.variant_table
val wrap_mode : wrap_mode Gpointer.variant_table
val ellipsize_mode : ellipsize_mode Gpointer.variant_table
val weight_to_int : weight -> int