Lines Matching refs:SS_FILL

135       _fill_place(this, SS_FILL),
176 for (int i = SS_FILL; i <= SS_STROKE; i++) {
183 if (i == SS_FILL) {
190 __none[i] = (i == SS_FILL)? (C_("Fill and stroke", "No fill")) : (C_("Fill and stroke", "No stroke"));
195 __pattern[i] = (i == SS_FILL)? (_("Pattern fill")) : (_("Pattern stroke"));
200 __lgradient[i] = (i == SS_FILL)? (_("Linear gradient fill")) : (_("Linear gradient stroke"));
210 __rgradient[i] = (i == SS_FILL)? (_("Radial gradient fill")) : (_("Radial gradient stroke"));
221 __mgradient[i] = (i == SS_FILL)? (_("Mesh gradient fill")) : (_("Mesh gradient stroke"));
232 __many[i] = (i == SS_FILL)? (_("Different fills")) : (_("Different strokes"));
237 __unset[i] = (i == SS_FILL)? (_("Unset fill")) : (_("Unset stroke"));
240 __color[i] = (i == SS_FILL)? (_("Flat color fill")) : (_("Flat color stroke"));
246 __averaged[i] = (i == SS_FILL)? (_("Fill is averaged over selected objects")) : (_("Stroke is averaged over selected objects"));
252 __multiple[i] = (i == SS_FILL)? (_("Multiple selected objects have the same fill")) : (_("Multiple selected objects have the same stroke"));
254 _popup_edit[i].add(*(new Gtk::Label((i == SS_FILL)? _("Edit fill...") : _("Edit stroke..."), 0.0, 0.5)));
256 (i == SS_FILL)? &SelectedStyle::on_fill_edit : &SelectedStyle::on_stroke_edit ));
260 (i == SS_FILL)? &SelectedStyle::on_fill_lastused : &SelectedStyle::on_stroke_lastused ));
264 (i == SS_FILL)? &SelectedStyle::on_fill_lastselected : &SelectedStyle::on_stroke_lastselected ));
268 (i == SS_FILL)? &SelectedStyle::on_fill_invert : &SelectedStyle::on_stroke_invert ));
272 (i == SS_FILL)? &SelectedStyle::on_fill_white : &SelectedStyle::on_stroke_white ));
276 (i == SS_FILL)? &SelectedStyle::on_fill_black : &SelectedStyle::on_stroke_black ));
280 (i == SS_FILL)? &SelectedStyle::on_fill_copy : &SelectedStyle::on_stroke_copy ));
284 (i == SS_FILL)? &SelectedStyle::on_fill_paste : &SelectedStyle::on_stroke_paste ));
290 _popup_opaque[i].add(*(new Gtk::Label((i == SS_FILL)? _("Make fill opaque") : _("Make stroke opaque"), 0.0, 0.5)));
292 (i == SS_FILL)? &SelectedStyle::on_fill_opaque : &SelectedStyle::on_stroke_opaque ));
295 _popup_unset[i].add(*(new Gtk::Label((i == SS_FILL)? _("Unset fill") : _("Unset stroke"), 0.0, 0.5)));
297 (i == SS_FILL)? &SelectedStyle::on_fill_unset : &SelectedStyle::on_stroke_unset ));
299 _popup_remove[i].add(*(new Gtk::Label((i == SS_FILL)? _("Remove fill") : _("Remove stroke"), 0.0, 0.5)));
301 (i == SS_FILL)? &SelectedStyle::on_fill_remove : &SelectedStyle::on_stroke_remove ));
366 _fill_place.add(_na[SS_FILL]);
367 _fill_place.set_tooltip_text(__na[SS_FILL]);
425 _drop[SS_FILL] = new DropTracker();
426 ((DropTracker*)_drop[SS_FILL])->parent = this;
427 ((DropTracker*)_drop[SS_FILL])->item = SS_FILL;
441 _drop[SS_FILL]);
464 for (int i = SS_FILL; i <= SS_STROKE; i++) {
471 delete (DropTracker*)_drop[SS_FILL];
523 case SS_FILL:
539 sp_repr_css_set_property( css, (tracker->item == SS_FILL) ? "fill":"stroke", c );
637 sp_svg_write_color (c, sizeof(c), _lastselected[SS_FILL]);
658 guint32 color = _thisselected[SS_FILL];
660 if (_mode[SS_FILL] == SS_LGRADIENT || _mode[SS_FILL] == SS_RGRADIENT) {
666 if (_mode[SS_FILL] != SS_COLOR) return;
755 if (_mode[SS_FILL] == SS_COLOR) {
757 sp_svg_write_color (c, sizeof(c), _thisselected[SS_FILL]);
819 switch (_mode[SS_FILL]) {
831 sp_svg_write_color (c, sizeof(c), _thisselected[SS_FILL]);
837 sp_repr_css_set_property (css, "stroke", _paintserver_id[SS_FILL].c_str());
888 _popup[SS_FILL].popup(event->button, event->time);
890 if (_mode[SS_FILL] == SS_NONE) {
980 for (int i = SS_FILL; i <= SS_STROKE; i++) {
981 Gtk::EventBox *place = (i == SS_FILL)? &_fill_place : &_stroke_place;
982 Gtk::EventBox *flag_place = (i == SS_FILL)? &_fill_flag_place : &_stroke_flag_place;
997 (i == SS_FILL)? QUERY_STYLE_PROPERTY_FILL : QUERY_STYLE_PROPERTY_STROKE);
1004 gtk_drag_dest_unset( GTK_WIDGET((i==SS_FILL) ? _fill_place.gobj():_stroke_place.gobj()) );
1012 gtk_drag_dest_set( GTK_WIDGET( (i==SS_FILL) ? _fill_place.gobj():_stroke_place.gobj()),
1020 if (i == SS_FILL) {
1026 SPPaintServer *server = (i == SS_FILL)? SP_STYLE_FILL_SERVER (&query) : SP_STYLE_STROKE_SERVER (&query);
1063 SP_SCALE24_TO_FLOAT ((i == SS_FILL)? query.fill_opacity.value : query.stroke_opacity.value));
1326 sp_repr_css_set_property(css, (fillstroke == SS_FILL) ? "fill-opacity" : "stroke-opacity", osalpha.str().c_str());
1328 sp_repr_css_set_property (css, (fillstroke == SS_FILL) ? "fill" : "stroke", c);