Lines Matching refs:psel

79     static void paintModeChangeCB(SPPaintSelector *psel, SPPaintSelector::Mode mode, FillNStroke *self);
80 static void paintChangedCB(SPPaintSelector *psel, FillNStroke *self);
81 static void paintDraggedCB(SPPaintSelector *psel, FillNStroke *self);
84 static void fillruleChangedCB( SPPaintSelector *psel, SPPaintSelector::FillRule mode, FillNStroke *self );
96 SPPaintSelector *psel;
132 psel(0),
142 psel = sp_paint_selector_new(kind);
143 gtk_widget_show(GTK_WIDGET(psel));
144 gtk_container_add(GTK_CONTAINER(gobj()), GTK_WIDGET(psel));
145 g_signal_connect( G_OBJECT(psel), "mode_changed",
149 g_signal_connect( G_OBJECT(psel), "dragged",
153 g_signal_connect( G_OBJECT(psel), "changed",
157 g_signal_connect( G_OBJECT(psel), "fillrule_changed",
171 psel = 0;
263 psel->setMode(SPPaintSelector::MODE_EMPTY);
272 psel->setMode(pselmode);
275 psel->setFillrule(query.fill_rule.computed == ART_WIND_RULE_NONZERO?
280 psel->setColorAlpha(targPaint.value.color, SP_SCALE24_TO_FLOAT(targOpacity.value));
287 psel->setSwatch( vector );
290 psel->setGradientLinear( vector );
293 psel->setGradientProperties( lg->getUnits(),
297 psel->setGradientRadial( vector );
300 psel->setGradientProperties( rg->getUnits(),
304 psel->updatePatternList( pat );
312 psel->setMode(SPPaintSelector::MODE_MULTIPLE);
323 void FillNStroke::paintModeChangeCB( SPPaintSelector * /*psel*/,
328 g_message("paintModeChangeCB(psel, mode, self:%p)", self);
335 void FillNStroke::fillruleChangedCB( SPPaintSelector * /*psel*/,
370 void FillNStroke::paintDraggedCB(SPPaintSelector * /*psel*/, FillNStroke *self)
373 g_message("paintDraggedCB(psel, spw:%p)", self);
433 switch (psel->mode) {
438 psel->setFlatColor( desktop, (kind == FILL) ? "fill" : "stroke", (kind == FILL) ? "fill-opacity" : "stroke-opacity" );
446 __FILE__, __LINE__, psel->mode );
459 void FillNStroke::paintChangedCB( SPPaintSelector * /*psel*/, FillNStroke *self )
462 g_message("paintChangedCB(psel, spw:%p)", self);
481 switch (psel->mode) {
485 __FILE__, __LINE__, psel->mode);
514 psel->setFlatColor( desktop,
541 SPGradientType const gradient_type = ( psel->mode != SPPaintSelector::MODE_GRADIENT_RADIAL
544 bool createSwatch = (psel->mode == SPPaintSelector::MODE_SWATCH);
553 SPGradient *vector = psel->getGradientVector();
606 psel->pushAttrsToGradient( gr );
624 SPPattern *pattern = psel->getPattern();
711 psel->mode );