Lines Matching refs:decimals
589 gchar **decimals; in ttml_update_style_set() local
593 decimals = g_strsplit (attr, "%", 0); in ttml_update_style_set()
594 n_decimals = g_strv_length (decimals) - 1; in ttml_update_style_set()
596 g_strstrip (decimals[i]); in ttml_update_style_set()
602 g_ascii_strtod (decimals[0], NULL) / 100.0; in ttml_update_style_set()
607 g_ascii_strtod (decimals[0], NULL) / 100.0; in ttml_update_style_set()
609 g_ascii_strtod (decimals[1], NULL) / 100.0; in ttml_update_style_set()
613 style_set->padding_before = g_ascii_strtod (decimals[0], NULL) / 100.0; in ttml_update_style_set()
615 g_ascii_strtod (decimals[1], NULL) / 100.0; in ttml_update_style_set()
616 style_set->padding_after = g_ascii_strtod (decimals[2], NULL) / 100.0; in ttml_update_style_set()
620 style_set->padding_before = g_ascii_strtod (decimals[0], NULL) / 100.0; in ttml_update_style_set()
621 style_set->padding_end = g_ascii_strtod (decimals[1], NULL) / 100.0; in ttml_update_style_set()
622 style_set->padding_after = g_ascii_strtod (decimals[2], NULL) / 100.0; in ttml_update_style_set()
623 style_set->padding_start = g_ascii_strtod (decimals[3], NULL) / 100.0; in ttml_update_style_set()
626 g_strfreev (decimals); in ttml_update_style_set()