}
}
-static void
-conical_gradient_property_changed (pixman_image_t *image)
-{
-}
-
static uint32_t *
conical_get_scanline_narrow (pixman_iter_t *iter, const uint32_t *mask)
{
conical->center = *center;
conical->angle = (pixman_fixed_to_double (angle) / 180.0) * M_PI;
- image->common.property_changed = conical_gradient_property_changed;
-
return image;
}
common->component_alpha = FALSE;
common->ref_count = 1;
common->classify = NULL;
+ common->property_changed = NULL;
common->client_clip = FALSE;
common->destroy_func = NULL;
common->destroy_data = NULL;
* property_changed() can make use of the flags
* to set up accessors etc.
*/
- image->common.property_changed (image);
+ if (image->common.property_changed)
+ image->common.property_changed (image);
image->common.dirty = FALSE;
}
}
}
-static void
-linear_gradient_property_changed (pixman_image_t *image)
-{
-}
-
static uint32_t *
linear_get_scanline_narrow (pixman_iter_t *iter,
const uint32_t *mask)
image->type = LINEAR;
image->common.classify = linear_gradient_classify;
- image->common.property_changed = linear_gradient_property_changed;
return image;
}
}
}
-static void
-radial_gradient_property_changed (pixman_image_t *image)
-{
-}
-
static uint32_t *
radial_get_scanline_narrow (pixman_iter_t *iter, const uint32_t *mask)
{
radial->mindr = -1. * pixman_fixed_1 * radial->c1.radius;
- image->common.property_changed = radial_gradient_property_changed;
-
return image;
}
return SOURCE_IMAGE_CLASS_HORIZONTAL;
}
-static void
-solid_fill_property_changed (pixman_image_t *image)
-{
-}
-
void
_pixman_solid_fill_iter_init (pixman_image_t *image,
pixman_iter_t *iter,
img->solid.color_64 = color_to_uint64 (color);
img->common.classify = solid_fill_classify;
- img->common.property_changed = solid_fill_property_changed;
return img;
}