• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libcroco/

Lines Matching defs:a_style

243 set_prop_padding_x_from_value (CRStyle * a_style,
247 set_prop_border_x_width_from_value (CRStyle * a_style,
251 set_prop_border_width_from_value (CRStyle *a_style,
255 set_prop_border_x_style_from_value (CRStyle * a_style,
259 set_prop_border_style_from_value (CRStyle *a_style,
263 set_prop_margin_x_from_value (CRStyle * a_style, CRTerm * a_value,
267 set_prop_display_from_value (CRStyle * a_style, CRTerm * a_value);
270 set_prop_position_from_value (CRStyle * a_style, CRTerm * a_value);
273 set_prop_x_from_value (CRStyle * a_style, CRTerm * a_value,
277 set_prop_float (CRStyle * a_style, CRTerm * a_value);
280 set_prop_width (CRStyle * a_style, CRTerm * a_value);
283 set_prop_color (CRStyle * a_style, CRTerm * a_value);
286 set_prop_background_color (CRStyle * a_style, CRTerm * a_value);
289 set_prop_border_x_color_from_value (CRStyle * a_style, CRTerm * a_value,
293 set_prop_border_x_from_value (CRStyle * a_style, CRTerm * a_value,
297 set_prop_border_from_value (CRStyle * a_style, CRTerm * a_value);
300 set_prop_padding_from_value (CRStyle * a_style, CRTerm * a_value);
303 set_prop_margin_from_value (CRStyle * a_style, CRTerm * a_value);
306 set_prop_font_family_from_value (CRStyle * a_style, CRTerm * a_value);
309 init_style_font_size_field (CRStyle * a_style);
312 set_prop_font_size_from_value (CRStyle * a_style, CRTerm * a_value);
315 set_prop_font_style_from_value (CRStyle * a_style, CRTerm * a_value);
318 set_prop_font_weight_from_value (CRStyle * a_style, CRTerm * a_value);
433 set_prop_padding_x_from_value (CRStyle * a_style,
439 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
446 num_val = &a_style->num_props[NUM_PROP_PADDING_TOP].sv;
450 num_val = &a_style->num_props[NUM_PROP_PADDING_RIGHT].sv;
454 num_val = &a_style->num_props[NUM_PROP_PADDING_BOTTOM].sv;
458 num_val = &a_style->num_props[NUM_PROP_PADDING_LEFT].sv;
502 set_prop_border_x_width_from_value (CRStyle * a_style,
509 g_return_val_if_fail (a_value && a_style, CR_BAD_PARAM_ERROR);
513 num_val = &a_style->num_props[NUM_PROP_BORDER_TOP].sv;
517 num_val = &a_style->num_props[NUM_PROP_BORDER_RIGHT].sv;
521 num_val = &a_style->num_props[NUM_PROP_BORDER_BOTTOM].sv;
525 num_val = &a_style->num_props[NUM_PROP_BORDER_LEFT].sv;
570 set_prop_border_width_from_value (CRStyle *a_style,
576 g_return_val_if_fail (a_style && a_value,
585 set_prop_border_x_width_from_value (a_style,
593 set_prop_border_x_width_from_value (a_style, cur_term,
595 set_prop_border_x_width_from_value (a_style, cur_term,
601 set_prop_border_x_width_from_value (a_style, cur_term,
607 set_prop_border_x_width_from_value (a_style, cur_term,
614 set_prop_border_x_style_from_value (CRStyle * a_style,
620 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
624 border_style_ptr = &a_style->
630 &a_style->border_style_props[BORDER_STYLE_PROP_RIGHT];
634 border_style_ptr = &a_style->
639 border_style_ptr = &a_style->
699 set_prop_border_style_from_value (CRStyle *a_style,
705 g_return_val_if_fail (a_style && a_value,
716 set_prop_border_x_style_from_value (a_style,
726 set_prop_border_x_style_from_value (a_style, cur_term,
728 set_prop_border_x_style_from_value (a_style, cur_term,
735 set_prop_border_x_style_from_value (a_style, cur_term,
742 set_prop_border_x_style_from_value (a_style, cur_term,
748 set_prop_margin_x_from_value (CRStyle * a_style, CRTerm * a_value,
754 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
758 num_val = &a_style->num_props[NUM_PROP_MARGIN_TOP].sv;
762 num_val = &a_style->num_props[NUM_PROP_MARGIN_RIGHT].sv;
766 num_val = &a_style->num_props[NUM_PROP_MARGIN_BOTTOM].sv;
770 num_val = &a_style->num_props[NUM_PROP_MARGIN_LEFT].sv;
813 set_prop_display_from_value (CRStyle * a_style, CRTerm * a_value)
836 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
853 a_style->display =
874 set_prop_position_from_value (CRStyle * a_style, CRTerm * a_value)
904 a_style->position =
921 set_prop_x_from_value (CRStyle * a_style, CRTerm * a_value,
926 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
935 box_offset = &a_style->num_props[NUM_PROP_TOP].sv;
939 box_offset = &a_style->num_props[NUM_PROP_RIGHT].sv;
943 box_offset = &a_style->num_props[NUM_PROP_BOTTOM].sv;
946 box_offset = &a_style->num_props[NUM_PROP_LEFT].sv;
976 set_prop_float (CRStyle * a_style, CRTerm * a_value)
978 g_return_val_if_fail (a_style && a_value,
982 a_style->float_type = FLOAT_NONE;
995 a_style->float_type = FLOAT_NONE;
999 a_style->float_type = FLOAT_LEFT;
1003 a_style->float_type = FLOAT_RIGHT;
1007 a_style->float_type = FLOAT_INHERIT;
1013 set_prop_width (CRStyle * a_style, CRTerm * a_value)
1016 g_return_val_if_fail (a_style
1020 width = &a_style->num_props[NUM_PROP_WIDTH].sv;
1039 cr_num_copy (&a_style->num_props[NUM_PROP_WIDTH].sv,
1047 set_prop_color (CRStyle * a_style, CRTerm * a_value)
1050 CRRgb *a_rgb = &a_style->rgb_props[RGB_PROP_COLOR].sv;
1052 g_return_val_if_fail (a_style
1061 set_prop_background_color (CRStyle * a_style, CRTerm * a_value)
1064 CRRgb *rgb = &a_style->rgb_props[RGB_PROP_BACKGROUND_COLOR].sv;
1066 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1077 *@param a_style the style structure to set.
1083 set_prop_border_x_color_from_value (CRStyle * a_style, CRTerm * a_value,
1089 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1093 rgb_color = &a_style->rgb_props[RGB_PROP_BORDER_TOP_COLOR].sv;
1098 &a_style->rgb_props[RGB_PROP_BORDER_RIGHT_COLOR].sv;
1103 &a_style->rgb_props[RGB_PROP_BORDER_BOTTOM_COLOR].sv;
1108 &a_style->rgb_props[RGB_PROP_BORDER_LEFT_COLOR].sv;
1140 set_prop_border_x_from_value (CRStyle * a_style, CRTerm * a_value,
1147 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1152 status = set_prop_border_x_width_from_value (a_style,
1157 (a_style, cur_term, a_dir);
1161 (a_style, cur_term, a_dir);
1168 set_prop_border_from_value (CRStyle * a_style, CRTerm * a_value)
1172 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1175 set_prop_border_x_from_value (a_style,
1184 set_prop_padding_from_value (CRStyle * a_style, CRTerm * a_value)
1190 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1202 set_prop_padding_x_from_value (a_style, cur_term, direction);
1214 set_prop_padding_x_from_value (a_style, cur_term, DIR_RIGHT);
1215 set_prop_padding_x_from_value (a_style, cur_term, DIR_LEFT);
1223 set_prop_padding_x_from_value (a_style, cur_term, DIR_BOTTOM);
1230 status = set_prop_padding_x_from_value (a_style, cur_term, DIR_LEFT);
1235 set_prop_margin_from_value (CRStyle * a_style, CRTerm * a_value)
1241 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1253 set_prop_margin_x_from_value (a_style, cur_term, direction);
1263 set_prop_margin_x_from_value (a_style, cur_term, DIR_RIGHT);
1264 set_prop_margin_x_from_value (a_style, cur_term, DIR_LEFT);
1272 set_prop_margin_x_from_value (a_style, cur_term, DIR_BOTTOM);
1280 status = set_prop_margin_x_from_value (a_style, cur_term, DIR_LEFT);
1286 set_prop_font_family_from_value (CRStyle * a_style, CRTerm * a_value)
1293 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1379 if (a_style->font_family) {
1380 cr_font_family_destroy (a_style->font_family);
1381 a_style->font_family = NULL ;
1383 a_style->font_family = font_family;
1391 init_style_font_size_field (CRStyle * a_style)
1393 g_return_val_if_fail (a_style, CR_BAD_PARAM_ERROR);
1395 memset (&a_style->font_size, 0,
1398 if (!a_style->font_size) {
1399 a_style->font_size = cr_font_size_new ();
1400 if (!a_style->font_size) {
1404 cr_font_size_clear (a_style->font_size);
1411 set_prop_font_size_from_value (CRStyle * a_style, CRTerm * a_value)
1415 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1424 status = init_style_font_size_field (a_style);
1427 a_style->font_size.sv.type =
1429 a_style->font_size.sv.value.predefined =
1437 status = init_style_font_size_field (a_style);
1440 a_style->font_size.sv.type =
1442 a_style->font_size.sv.value.predefined =
1449 status = init_style_font_size_field (a_style);
1452 a_style->font_size.sv.type =
1454 a_style->font_size.sv.value.predefined =
1460 status = init_style_font_size_field (a_style);
1463 a_style->font_size.sv.type =
1465 a_style->font_size.sv.value.predefined =
1472 status = init_style_font_size_field (a_style);
1475 a_style->font_size.sv.type =
1477 a_style->font_size.sv.value.predefined =
1484 status = init_style_font_size_field (a_style);
1487 a_style->font_size.sv.type =
1489 a_style->font_size.sv.value.predefined =
1496 status = init_style_font_size_field (a_style);
1499 a_style->font_size.sv.type =
1501 a_style->font_size.sv.value.predefined =
1508 status = init_style_font_size_field (a_style);
1511 a_style->font_size.sv.type = RELATIVE_FONT_SIZE;
1512 a_style->font_size.sv.value.relative = FONT_SIZE_LARGER;
1518 status = init_style_font_size_field (a_style);
1521 a_style->font_size.sv.type = RELATIVE_FONT_SIZE;
1522 a_style->font_size.sv.value.relative =
1528 status = init_style_font_size_field (a_style);
1530 a_style->font_size.sv.type = INHERITED_FONT_SIZE;
1534 status = init_style_font_size_field (a_style);
1541 status = init_style_font_size_field (a_style);
1544 a_style->font_size.sv.type = ABSOLUTE_FONT_SIZE;
1545 cr_num_copy (&a_style->font_size.sv.value.absolute,
1551 status = init_style_font_size_field (a_style);
1558 set_prop_font_style_from_value (CRStyle * a_style, CRTerm * a_value)
1562 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1570 a_style->font_style = FONT_STYLE_NORMAL;
1574 a_style->font_style = FONT_STYLE_ITALIC;
1578 a_style->font_style = FONT_STYLE_OBLIQUE;
1582 a_style->font_style = FONT_STYLE_INHERIT;
1598 set_prop_font_weight_from_value (CRStyle * a_style, CRTerm * a_value)
1602 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1611 a_style->font_weight = FONT_WEIGHT_NORMAL;
1614 a_style->font_weight = FONT_WEIGHT_BOLD;
1617 a_style->font_weight = FONT_WEIGHT_BOLDER;
1620 a_style->font_weight = FONT_WEIGHT_LIGHTER;
1623 a_style->font_weight = FONT_WEIGHT_INHERIT;
1637 a_style->font_weight = FONT_WEIGHT_100;
1639 a_style->font_weight = FONT_WEIGHT_200;
1641 a_style->font_weight = FONT_WEIGHT_300;
1643 a_style->font_weight = FONT_WEIGHT_400;
1645 a_style->font_weight = FONT_WEIGHT_500;
1647 a_style->font_weight = FONT_WEIGHT_600;
1649 a_style->font_weight = FONT_WEIGHT_700;
1651 a_style->font_weight = FONT_WEIGHT_800;
1653 a_style->font_weight = FONT_WEIGHT_900;
1667 set_prop_white_space_from_value (CRStyle * a_style, CRTerm * a_value)
1671 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1677 a_style->white_space = WHITE_SPACE_NORMAL;
1680 a_style->font_weight = WHITE_SPACE_PRE;
1683 a_style->white_space = WHITE_SPACE_NOWRAP;
1686 a_style->white_space = WHITE_SPACE_INHERIT;