|
libcss
|
| css_error css__font_face_create | ( | css_font_face ** | result | ) |
Create a font-face
| result | Pointer to location to receive result |
| css_error css__font_face_destroy | ( | css_font_face * | font_face | ) |
Destroy a font-face
| font_face | Font-face to destroy |
| css_error css__font_face_set_font_family | ( | css_font_face * | font_face, |
| lwc_string * | font_family | ||
| ) |
Set a font-face's font-family name
| font_face | The font-face |
| font_family | Font-family name |
| result | Pointer to location to receive result |
| css_error css__font_face_set_srcs | ( | css_font_face * | font_face, |
| css_font_face_src * | srcs, | ||
| uint32_t | n_srcs | ||
| ) |
Set a font-faces array of srcs.
| font_face | The font-face |
| srcs | The array of css_font_face_srcs |
| n_srcs | The count of css_font_face_srcs in the array |
| css_error css_font_face_count_srcs | ( | const css_font_face * | font_face, |
| uint32_t * | count | ||
| ) |
Get the number of potential src locations for a font-face
| font_face | The font-face |
| count | Pointer to location to receive result |
| uint8_t css_font_face_font_style | ( | const css_font_face * | font_face | ) |
Get the style of font for a font-face.
| src | The font-face |
| uint8_t css_font_face_font_weight | ( | const css_font_face * | font_face | ) |
Get the weight of font for a font-face.
| src | The font-face |
| css_error css_font_face_get_font_family | ( | const css_font_face * | font_face, |
| lwc_string ** | font_family | ||
| ) |
Get a font-face's font-family name
| font_face | The font-face |
| result | Pointer to location to receive result |
| css_error css_font_face_get_src | ( | const css_font_face * | font_face, |
| uint32_t | index, | ||
| const css_font_face_src ** | src | ||
| ) |
Get a specific src location from a font-face
| font_face | The font-face |
| index | The index for the wanted src. |
| count | Pointer to location to receive result |
| css_font_face_format css_font_face_src_format | ( | const css_font_face_src * | src | ) |
Get the format of font for a font-face src.
| src | The font-face src |
| css_error css_font_face_src_get_location | ( | const css_font_face_src * | src, |
| lwc_string ** | location | ||
| ) |
Get the location for a font-face src.
| font_face | The font-face |
| count | Pointer to location to receive result |
| css_font_face_location_type css_font_face_src_location_type | ( | const css_font_face_src * | src | ) |
Get the location type for a font-face src.
| src | The font-face src |