• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libcroco/

Lines Matching refs:a_this

1737  *@param a_this the current instance of #CRStyle.
1741 cr_style_set_props_to_default_values (CRStyle * a_this)
1745 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
1756 cr_num_set (&a_this->num_props[i].sv, 0, NUM_AUTO);
1771 cr_num_set (&a_this->num_props[i].sv,
1790 cr_rgb_set_to_inherit (&a_this->rgb_props[i].sv,
1797 cr_rgb_set (&a_this->rgb_props[i].sv,
1799 cr_rgb_set_to_transparent (&a_this->rgb_props[i].sv,
1808 cr_rgb_set (&a_this->rgb_props[i].sv, 0, 0, 0,
1815 a_this->border_style_props[i] = BORDER_STYLE_NONE;
1818 a_this->display = DISPLAY_INLINE;
1819 a_this->position = POSITION_STATIC;
1820 a_this->float_type = FLOAT_NONE;
1821 a_this->parent_style = NULL;
1822 a_this->font_style = FONT_STYLE_INHERIT;
1823 a_this->font_variant = FONT_VARIANT_INHERIT;
1824 a_this->font_weight = FONT_WEIGHT_INHERIT;
1825 a_this->font_family = NULL;
1827 cr_font_size_set_to_inherit (&a_this->font_size.sv) ;
1828 cr_font_size_clear (&a_this->font_size.cv) ;
1829 cr_font_size_clear (&a_this->font_size.av) ;
1832 a_this->inherited_props_resolved = FALSE ;
1842 *@param a_this the current instance of #CRStyle.
1846 cr_style_set_props_to_initial_values (CRStyle *a_this)
1850 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
1855 cr_num_set (&a_this->num_props[i].sv, 800,
1862 cr_num_set (&a_this->num_props[i].sv, 0, NUM_AUTO);
1877 cr_num_set (&a_this->num_props[i].sv,
1892 cr_rgb_set (&a_this->rgb_props[i].sv, 0, 0, 0, FALSE);
1897 cr_rgb_set (&a_this->rgb_props[i].sv,
1899 cr_rgb_set_to_transparent (&a_this->rgb_props[i].sv,
1903 cr_rgb_set (&a_this->rgb_props[i].sv, 0, 0, 0, FALSE);
1909 a_this->border_style_props[i] = BORDER_STYLE_NONE;
1912 a_this->display = DISPLAY_BLOCK;
1913 a_this->position = POSITION_STATIC;
1914 a_this->float_type = FLOAT_NONE;
1915 a_this->font_style = FONT_STYLE_NORMAL;
1916 a_this->font_variant = FONT_VARIANT_NORMAL;
1917 a_this->font_weight = FONT_WEIGHT_NORMAL;
1918 a_this->font_stretch = FONT_STRETCH_NORMAL;
1919 a_this->white_space = WHITE_SPACE_NORMAL;
1921 (&a_this->font_size.sv, FONT_SIZE_MEDIUM) ;
1922 a_this->inherited_props_resolved = FALSE ;
1933 *@param a_this the instance where
1938 cr_style_resolve_inherited_properties (CRStyle *a_this)
1943 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
1944 g_return_val_if_fail (a_this->parent_style, CR_BAD_PARAM_ERROR) ;
1946 if (a_this->inherited_props_resolved == TRUE)
1950 if (a_this->num_props[i].sv.type == NUM_INHERIT) {
1951 cr_num_copy (&a_this->num_props[i].cv,
1952 &a_this->parent_style->num_props[i].cv);
1956 if (cr_rgb_is_set_to_inherit (&a_this->rgb_props[i].sv) == TRUE) {
1958 &a_this->rgb_props[i].cv,
1959 &a_this->parent_style->rgb_props[i].cv);
1963 if (a_this->border_style_props[i] == BORDER_STYLE_INHERIT) {
1964 a_this->border_style_props[i] =
1965 a_this->parent_style->border_style_props[i];
1969 if (a_this->display == DISPLAY_INHERIT) {
1970 a_this->display = a_this->parent_style->display;
1972 if (a_this->position == POSITION_INHERIT) {
1973 a_this->position = a_this->parent_style->position;
1975 if (a_this->float_type == FLOAT_INHERIT) {
1976 a_this->float_type = a_this->parent_style->float_type;
1978 if (a_this->font_style == FONT_STYLE_INHERIT) {
1979 a_this->font_style = a_this->parent_style->font_style;
1981 if (a_this->font_variant == FONT_VARIANT_INHERIT) {
1982 a_this->font_variant = a_this->parent_style->font_variant;
1984 if (a_this->font_weight == FONT_WEIGHT_INHERIT) {
1985 a_this->font_weight = a_this->parent_style->font_weight;
1987 if (a_this->font_stretch == FONT_STRETCH_INHERIT) {
1988 a_this->font_stretch = a_this->parent_style->font_stretch;
1991 if (a_this->font_family == NULL) {
1992 a_this->font_family = a_this->parent_style->font_family;
1994 if (a_this->font_size.sv.type == INHERITED_FONT_SIZE) {
1995 cr_font_size_copy (&a_this->font_size.cv,
1996 &a_this->parent_style->font_size.cv) ;
1998 a_this->inherited_props_resolved = TRUE ;
2008 *@param a_this the instance of #CRStyle to set.
2013 cr_style_set_style_from_decl (CRStyle * a_this, CRDeclaration * a_decl)
2020 g_return_val_if_fail (a_this && a_decl
2034 (a_this, value, DIR_TOP);
2039 (a_this, value, DIR_RIGHT);
2043 (a_this, value, DIR_BOTTOM);
2048 (a_this, value, DIR_LEFT);
2052 status = set_prop_padding_from_value (a_this, value) ;
2056 status = set_prop_border_x_width_from_value (a_this, value,
2061 status = set_prop_border_x_width_from_value (a_this, value,
2066 status = set_prop_border_x_width_from_value (a_this, value,
2071 status = set_prop_border_x_width_from_value (a_this, value,
2076 status = set_prop_border_width_from_value (a_this, value) ;
2080 status = set_prop_border_x_style_from_value (a_this, value,
2085 status = set_prop_border_x_style_from_value (a_this, value,
2090 status = set_prop_border_x_style_from_value (a_this, value,
2095 status = set_prop_border_x_style_from_value (a_this, value,
2100 status = set_prop_border_style_from_value (a_this, value) ;
2104 status = set_prop_border_x_color_from_value (a_this, value,
2109 status = set_prop_border_x_color_from_value (a_this, value,
2114 status = set_prop_border_x_color_from_value (a_this, value,
2119 status = set_prop_border_x_color_from_value (a_this, value,
2124 status = set_prop_border_x_from_value (a_this, value,
2129 status = set_prop_border_x_from_value (a_this, value,
2134 status = set_prop_border_x_from_value (a_this, value,
2139 status = set_prop_border_x_from_value (a_this, value,
2144 status = set_prop_margin_x_from_value (a_this, value,
2149 status = set_prop_border_from_value (a_this, value);
2153 status = set_prop_margin_x_from_value (a_this, value,
2158 status = set_prop_margin_x_from_value (a_this, value,
2163 status = set_prop_margin_x_from_value (a_this, value,
2168 status = set_prop_margin_from_value (a_this, value);
2172 status = set_prop_display_from_value (a_this, value);
2176 status = set_prop_position_from_value (a_this, value);
2180 status = set_prop_x_from_value (a_this, value, DIR_TOP);
2184 status = set_prop_x_from_value (a_this, value, DIR_RIGHT);
2188 status = set_prop_x_from_value (a_this, value, DIR_BOTTOM);
2192 status = set_prop_x_from_value (a_this, value, DIR_LEFT);
2196 status = set_prop_float (a_this, value);
2200 status = set_prop_width (a_this, value);
2204 status = set_prop_color (a_this, value);
2208 status = set_prop_background_color (a_this, value);
2212 status = set_prop_font_family_from_value (a_this, value);
2216 status = set_prop_font_size_from_value (a_this, value);
2220 status = set_prop_font_style_from_value (a_this, value);
2224 status = set_prop_font_weight_from_value (a_this, value);
2228 status = set_prop_white_space_from_value(a_this, value);
2242 *@param a_this the current instance of #CRStyle.
2247 cr_style_ref (CRStyle * a_this)
2249 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
2251 a_this->ref_count++;
2260 *@param a_this the current instance of #CRStyle.
2265 cr_style_unref (CRStyle * a_this)
2267 g_return_val_if_fail (a_this, FALSE);
2269 if (a_this->ref_count)
2270 a_this->ref_count--;
2272 if (!a_this->ref_count) {
2273 cr_style_destroy (a_this);
2284 *@param a_this the current instance of #CRStyle.
2288 cr_style_dup (CRStyle * a_this)
2292 g_return_val_if_fail (a_this, NULL);
2299 cr_style_copy (result, a_this);
2652 *@param a_this the instance of #CRStyle to serialize
2660 cr_style_to_string (CRStyle * a_this, GString ** a_str, guint a_nb_indent)
2668 g_return_val_if_fail (a_this && a_str, CR_BAD_PARAM_ERROR);
2693 cr_style_num_prop_val_to_string (&a_this->num_props[i], str,
2708 cr_style_rgb_prop_val_to_string (&a_this->rgb_props[i], str,
2723 cr_style_border_style_to_string (a_this->
2730 cr_style_display_type_to_string (a_this->display, str, 0);
2735 cr_style_position_type_to_string (a_this->position, str, 0);
2740 cr_style_float_type_to_string (a_this->float_type, str, 0);
2745 cr_style_white_space_type_to_string (a_this->white_space, str, 0);
2750 tmp_str = cr_font_family_to_string (a_this->font_family, TRUE);
2761 tmp_str = cr_font_size_to_string (&a_this->font_size.sv);
2768 tmp_str = cr_font_size_to_string (&a_this->font_size.cv);
2774 tmp_str = cr_font_size_to_string (&a_this->font_size.av);
2785 tmp_str = cr_font_size_adjust_to_string (a_this->font_size_adjust);
2795 tmp_str = (gchar *) cr_font_style_to_string (a_this->font_style);
2805 tmp_str = (gchar *) cr_font_variant_to_string (a_this->font_variant);
2815 tmp_str = (gchar *) cr_font_weight_to_string (a_this->font_weight);
2825 tmp_str = (gchar *) cr_font_stretch_to_string (a_this->font_stretch);
2843 *@param a_this the instance to destroy.
2846 cr_style_destroy (CRStyle * a_this)
2848 g_return_if_fail (a_this);
2850 g_free (a_this);