Lines Matching refs:query
978 SPStyle query(_desktop->getDocument());
995 // query style from desktop. This returns a result flag and fills query with the style of subselection, if any, or selection
996 int result = sp_desktop_query_style (_desktop, &query,
1021 paint = &(query.fill);
1023 paint = &(query.stroke);
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));
1102 // Now query opacity
1106 int result = sp_desktop_query_style (_desktop, &query, QUERY_STYLE_PROPERTY_MASTEROPACITY);
1123 _opacity_adjustment->set_value(SP_SCALE24_TO_FLOAT(query.opacity.value) * 100);
1125 _opacity_adjustment.set_value(SP_SCALE24_TO_FLOAT(query.opacity.value) * 100);
1131 // Now query stroke_width
1132 int result_sw = sp_desktop_query_style (_desktop, &query, QUERY_STYLE_PROPERTY_STROKEWIDTH);
1144 w = Inkscape::Util::Quantity::convert(query.stroke_width.computed, "px", _sw_unit);
1146 w = query.stroke_width.computed;