+/*{{{ Attributes */
+
+
+void debrush_init_attr(DEBrush *brush, const GrStyleSpec *spec)
+{
+ gr_stylespec_unalloc(&brush->current_attr);
+
+ if(spec!=NULL)
+ gr_stylespec_append(&brush->current_attr, spec);
+}
+
+
+void debrush_set_attr(DEBrush *brush, GrAttr attr)
+{
+ gr_stylespec_set(&brush->current_attr, attr);
+}
+
+
+void debrush_unset_attr(DEBrush *brush, GrAttr attr)
+{
+ gr_stylespec_unset(&brush->current_attr, attr);
+}
+
+
+GrStyleSpec *debrush_get_current_attr(DEBrush *brush)
+{
+ return &brush->current_attr;
+}
+
+
+/*}}}*/
+
+
+