diff --git a/src/style.h b/src/style.h
index ad1459a732d2989e001988b21a3f809c1037330d..544bde55778251ae3c9bf978c7cbd67ae3b5757a 100644 (file)
--- a/src/style.h
+++ b/src/style.h
unsigned inherit : 1;
unsigned currentcolor : 1;
unsigned type : 2;
- union {
- SPColor color;
+ struct {
struct {
SPPaintServer *server;
gchar *uri;
} paint;
+ SPColor color;
+ SVGICCColor *iccColor;
} value;
- SVGICCColor *iccColor;
};
/// Filter type internal to SPStyle
/** Filter effect */
SPIFilter filter;
+ SPIEnum filter_blend_mode;
+
+ /** normally not used, but duplicates the Gaussian blur deviation (if any) from the attached
+ filter when the style is used for querying */
+ SPILength filter_gaussianBlur_deviation;
+
+ /** enable-background, used for defining where filter effects get
+ * their background image */
+ SPIEnum enable_background;
+
/// style belongs to a cloned object, must not href anything
bool cloned;
/// style has hreffed its fill/stroke paintservers, needs to release.
bool fill_hreffed;
bool stroke_hreffed;
+ bool filter_hreffed;
+
+ sigc::connection release_connection;
sigc::connection fill_release_connection;
sigc::connection fill_modified_connection;
sigc::connection stroke_release_connection;
sigc::connection stroke_modified_connection;
+
+ sigc::connection filter_release_connection;
+ sigc::connection filter_modified_connection;
};
SPStyle *sp_style_new();
SP_CSS_DISPLAY_TABLE_CAPTION
};
+enum SPEnableBackground {
+ SP_CSS_BACKGROUND_ACCUMULATE,
+ SP_CSS_BACKGROUND_NEW
+};
+
/// An SPTextStyle has a refcount, a font family, and a font name.
struct SPTextStyle {
int refcount;
void sp_style_unset_property_attrs(SPObject *o);
+void sp_style_set_property_url (SPObject *item, gchar const *property, SPObject *linked, bool recursive);
+
+gchar *attribute_unquote(gchar const *val);
+gchar *css2_escape_quote(gchar const *val);
+
#endif