Searched refs:query (Results 1 - 23 of 23) sorted by relevance

/inkscape/src/widgets/
H A Dtext-toolbar.cpp79 static void sp_print_font( SPStyle *query ) {
81 bool family_set = query->font_family.set;
82 bool style_set = query->font_style.set;
83 bool fontspec_set = query->font_specification.set;
90 << (query->font_family.value ? query->font_family.value : "No value")
91 << " Style: " << query->font_style.computed
92 << " Weight: " << query->font_weight.computed
94 << (query->font_specification.value ? query
[all...]
H A Dfill-style.cpp251 SPStyle query(desktop->doc());
253 // query style from desktop into it. This returns a result flag and fills query with the style of subselection, if any, or selection
254 int result = sp_desktop_query_style(desktop, &query, (kind == FILL) ? QUERY_STYLE_PROPERTY_FILL : QUERY_STYLE_PROPERTY_STROKE);
256 SPIPaint &targPaint = (kind == FILL) ? query.fill : query.stroke;
257 SPIScale24 &targOpacity = (kind == FILL) ? query.fill_opacity : query.stroke_opacity;
271 SPPaintSelector::Mode pselmode = SPPaintSelector::getModeForStyle(query, kind);
275 psel->setFillrule(query
[all...]
H A Dstroke-style.cpp895 SPStyle query(SP_ACTIVE_DOCUMENT);
896 // query into it
897 int result_sw = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_STROKEWIDTH);
898 int result_ml = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_STROKEMITERLIMIT);
899 int result_cap = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_STROKECAP);
900 int result_join = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_STROKEJOIN);
902 int result_order = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_PAINTORDER);
904 SPIPaint &targPaint = (kind == FILL) ? query.fill : query.stroke;
929 double avgwidth = Inkscape::Util::Quantity::convert(query
[all...]
/inkscape/src/ui/widget/
H A Dobject-composite-settings.cpp223 SPStyle query(desktop->getDocument());
224 int result = _subject->queryStyle(&query, QUERY_STYLE_PROPERTY_MASTEROPACITY);
235 _opacity_scale.get_adjustment()->set_value(100 * SP_SCALE24_TO_FLOAT(query.opacity.value));
239 //query now for current filter mode and average blurring of selection
240 const int blend_result = _subject->queryStyle(&query, QUERY_STYLE_PROPERTY_BLEND);
247 _fe_cb.set_blend_mode(query.filter_blend_mode.value);
257 int blur_result = _subject->queryStyle(&query, QUERY_STYLE_PROPERTY_BLUR);
270 float radius = query.filter_gaussianBlur_deviation.value;
H A Dstyle-subject.h45 virtual int queryStyle(SPStyle *query, int property) = 0;
68 virtual int queryStyle(SPStyle *query, int property);
89 virtual int queryStyle(SPStyle *query, int property);
H A Dstyle-subject.cpp74 int StyleSubject::Selection::queryStyle(SPStyle *query, int property) { argument
77 return sp_desktop_query_style(desktop, query, property);
150 int StyleSubject::CurrentLayer::queryStyle(SPStyle *query, int property) { argument
155 return sp_desktop_query_style_from_list(list, query, property);
H A Dstyle-swatch.cpp271 void StyleSwatch::setStyle(SPStyle *query) argument
283 paint = &(query->fill);
285 paint = &(query->stroke);
289 SPPaintServer *server = (i == SS_FILL)? SP_STYLE_FILL_SERVER (query) : SP_STYLE_STROKE_SERVER (query);
306 guint32 color = paint->value.color.toRGBA32( SP_SCALE24_TO_FLOAT ((i == SS_FILL)? query->fill_opacity.value : query->stroke_opacity.value) );
331 // Now query stroke_width
335 w = Inkscape::Util::Quantity::convert(query->stroke_width.computed, "px", _sw_unit);
337 w = query
[all...]
H A Dfont-variants.cpp316 // Update GUI based on query.
318 FontVariants::update( SPStyle const *query, bool different_features, Glib::ustring& font_spec ) { argument
320 _ligatures_all = query->font_variant_ligatures.computed;
321 _ligatures_mix = query->font_variant_ligatures.value;
333 _position_all = query->font_variant_position.computed;
334 _position_mix = query->font_variant_position.value;
344 _caps_all = query->font_variant_caps.computed;
345 _caps_mix = query->font_variant_caps.value;
363 _numeric_all = query->font_variant_numeric.computed;
364 _numeric_mix = query
[all...]
H A Dfont-variants.h128 * Update GUI based on query results.
130 void update( SPStyle const *query, bool different_features, Glib::ustring& font_spec );
H A Dselected-style.cpp978 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
[all...]
/inkscape/share/extensions/
H A Ddimension.py107 # query inkscape about the bounding box
117 for query in q.keys():
119 p = Popen('inkscape --query-%s --query-id=%s "%s"' % (query,id,file), shell=True, stdout=PIPE, stderr=PIPE)
121 q[query] = scale*float(p.stdout.read())
124 f,err = os.popen3('inkscape --query-%s --query-id=%s "%s"' % (query,id,file))[1:]
125 q[query]
[all...]
H A Dperspective.py75 #query inkscape about the bounding box of obj
79 for query in q.keys():
81 p = Popen('inkscape --query-%s --query-id=%s "%s"' % (query,id,file), shell=True, stdout=PIPE, stderr=PIPE)
83 q[query] = scale*float(p.stdout.read())
86 f,err = os.popen3('inkscape --query-%s --query-id=%s "%s"' % (query,id,file))[1:]
87 q[query]
[all...]
H A Dsummersnight.py70 #query inkscape about the bounding box of obj
74 for query in self.q.keys():
76 p = Popen('inkscape --query-%s --query-id=%s "%s"' % (query,id,file), shell=True, stdout=PIPE, stderr=PIPE)
78 self.q[query] = scale*float(p.stdout.read())
81 f,err = os.popen3('inkscape --query-%s --query-id=%s "%s"' % (query,id,file))[1:]
82 self.q[query]
[all...]
H A Dgenerate_voronoi.py99 q = {'x':0,'y':0,'width':0,'height':0} # query the bounding box of ids[0]
100 for query in q.keys():
101 p = Popen('inkscape --query-%s --query-id=%s "%s"' % (query, self.options.ids[0], self.args[-1]), shell=True, stdout=PIPE, stderr=PIPE)
103 q[query] = scale*float(p.stdout.read())
/inkscape/src/ui/dialog/
H A Dtext-edit.cpp346 SPStyle query(SP_ACTIVE_DOCUMENT);
347 // query style from desktop into it. This returns a result flag and fills query with the style of subselection, if any, or selection
348 //int result_fontspec = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONT_SPECIFICATION);
349 int result_family = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTFAMILY);
350 int result_style = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTSTYLE);
351 int result_numbers = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTNUMBERS);
357 query.readFromPrefs("/tools/text");
372 double size = sp_style_css_size_px_to_units(query.font_size.computed, unit);
377 if (query
[all...]
H A Dswatches.cpp128 SPStyle query( desktop->doc() );
129 int result = objects_query_fillstroke((items), &query, true);
132 if (query.fill.isPaintserver()) {
133 SPPaintServer* server = query.getFillPaintServer();
/inkscape/share/filters/
H A Dsamplify.py86 #query inkscape about the bounding box of obj
90 for query in q.keys():
91 f,err = os.popen3('inkscape --query-%s --query-id=%s "%s"' % (query,id,file))[1:]
92 q[query] = float(f.read())
/inkscape/src/
H A Ddesktop-style.h29 enum { // what kind of a style the query is returning
88 bool sp_desktop_query_style_all (SPDesktop *desktop, SPStyle *query);
H A Ddesktop-style.cpp1931 sp_desktop_query_style_all (SPDesktop *desktop, SPStyle *query) argument
1933 int result_family = sp_desktop_query_style (desktop, query, QUERY_STYLE_PROPERTY_FONTFAMILY);
1934 int result_fstyle = sp_desktop_query_style (desktop, query, QUERY_STYLE_PROPERTY_FONTSTYLE);
1935 int result_fnumbers = sp_desktop_query_style (desktop, query, QUERY_STYLE_PROPERTY_FONTNUMBERS);
1936 int result_fill = sp_desktop_query_style (desktop, query, QUERY_STYLE_PROPERTY_FILL);
1937 int result_stroke = sp_desktop_query_style (desktop, query, QUERY_STYLE_PROPERTY_STROKE);
1938 int result_strokewidth = sp_desktop_query_style (desktop, query, QUERY_STYLE_PROPERTY_STROKEWIDTH);
1939 int result_strokemiterlimit = sp_desktop_query_style (desktop, query, QUERY_STYLE_PROPERTY_STROKEMITERLIMIT);
1940 int result_strokecap = sp_desktop_query_style (desktop, query, QUERY_STYLE_PROPERTY_STROKECAP);
1941 int result_strokejoin = sp_desktop_query_style (desktop, query, QUERY_STYLE_PROPERTY_STROKEJOI
[all...]
H A Duri.cpp125 return (gchar *)_uri->query;
/inkscape/src/libnrtype/
H A Dfont-lister.cpp387 SPStyle query(SP_ACTIVE_DOCUMENT);
391 sp_desktop_query_style(SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONT_SPECIFICATION);
394 if (result != QUERY_STYLE_NOTHING && query.font_specification.set) {
395 fontspec = query.font_specification.value;
396 //std::cout << " fontspec from query :" << fontspec << ":" << std::endl;
402 int rfamily = sp_desktop_query_style(SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTFAMILY);
403 int rstyle = sp_desktop_query_style(SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTSTYLE);
407 fontspec = fontspec_from_style(&query);
415 query.readFromPrefs("/tools/text");
416 fontspec = fontspec_from_style(&query);
[all...]
/inkscape/
H A Dbuildtool.cpp1901 query = "";
1918 query = other.query;
1938 String query; member in class:buildtool::URI
2000 if (query.size() > 0)
2003 str.append(query);
2093 return query;
2116 other.query.size() == 0 )
2128 newUri.query = other.query;
3467 bool query(String &res) function in class:buildtool::BzrRevno
3530 bool query(const String &name, String &res) function in class:buildtool::SvnInfo
4443 pkgConfigRecursive(const String packageName, const String &path, const String &prefix, int query, String &result, std::set<String> &deplist) argument
4483 pkgConfigQuery(const String &packageName, int query, String &result) argument
5574 bool PkgConfig::query(const String &pkgName) function in class:buildtool::PkgConfig
8408 String query = parent.eval(queryOpt, "all"); local
[all...]
/inkscape/packaging/macosx/
H A Dosx-app.sh600 gtk-query-immodules-2.0 "$pkglib/gtk-2.0/$gtk_version"/immodules/*.so \
605 GDK_PIXBUF_MODULEDIR="$pkglib/gdk-pixbuf-2.0/$gtk_version/"loaders gdk-pixbuf-query-loaders \

Completed in 152 milliseconds