Searched refs:descr (Results 1 - 25 of 26) sorted by relevance

12

/inkscape/src/
H A Dverbs-test.h41 std::string descr(tmp);
44 TSM_ASSERT( descr, verb );
47 TSM_ASSERT_EQUALS( descr, verb->get_code(), static_cast<unsigned int>(i) );
51 TSM_ASSERT( descr, verb->get_id() );
52 TSM_ASSERT( descr, verb->get_name() );
56 //TSM_ASSERT( descr, bounced );
59 TSM_ASSERT_EQUALS( descr, bounced->get_code(), static_cast<unsigned int>(i) );
63 TS_FAIL( std::string("Unable to getbyid() for ") + descr + std::string(" ID: '") + std::string(verb->get_id()) + std::string("'") );
H A Dcolor-profile-test.h82 std::string descr(cases[i].attr);
84 TSM_ASSERT_EQUALS( descr, prof->rendering_intent, (guint)cases[i].intVal );
H A Dsp-guide.cpp482 char *descr = NULL; local
485 descr = g_strdup(_("Deleted"));
498 descr = g_strdup_printf(_("vertical, at %s"), position_string_x->str);
501 descr = g_strdup_printf(_("horizontal, at %s"), position_string_y->str);
506 descr = g_strdup_printf(_("at %d degrees, through (%s,%s)"),
514 gchar *oldDescr = descr;
515 descr = g_strconcat(oldDescr, shortcuts, NULL);
522 return descr;
H A Ddesktop-style.cpp203 const char * descr = box3d_side_axes_string(side); local
204 if (descr != NULL) {
205 prefs->mergeStyle(Glib::ustring("/desktop/") + descr + "/style", css_write);
/inkscape/src/libnrtype/
H A DFontFactory.cpp172 pangoString = ConstructFontSpecification(font->descr);
567 PangoFontDescription *descr = pango_font_description_from_string(pangoString); local
569 if (descr) {
570 if (sp_font_description_get_family(descr) != NULL) {
571 fontInstance = Face(descr);
573 pango_font_description_free(descr);
614 font_instance *font_factory::Face(PangoFontDescription *descr, bool canFail) argument
618 pango_font_description_set_size(descr, (int) (fontSize*PANGO_SCALE*72/GetDeviceCaps(pango_win32_get_dc(),LOGPIXELSY))); // mandatory huge size (hinting workaround)
620 pango_font_description_set_size(descr, (int) (fontSize*PANGO_SCALE)); // mandatory huge size (hinting workaround)
626 if ( loadedFaces.find(descr)
[all...]
H A DLayout-TNG-Input.cpp239 PangoFontDescription *descr = styleGetFontDescription(); local
240 if (descr == NULL) return NULL;
241 font_instance *res = (font_factory::Default())->Face(descr);
242 pango_font_description_free(descr);
248 PangoFontDescription *descr = pango_font_description_new(); local
267 pango_font_description_set_family(descr,family.c_str());
268 pango_font_description_set_weight(descr,(PangoWeight)_enum_converter(style->font_weight.computed, enum_convert_spstyle_weight_to_pango_weight, sizeof(enum_convert_spstyle_weight_to_pango_weight)/sizeof(enum_convert_spstyle_weight_to_pango_weight[0])));
269 pango_font_description_set_style(descr,(PangoStyle)_enum_converter(style->font_style.computed, enum_convert_spstyle_style_to_pango_style, sizeof(enum_convert_spstyle_style_to_pango_style)/sizeof(enum_convert_spstyle_style_to_pango_style[0])));
270 pango_font_description_set_variant(descr,(PangoVariant)_enum_converter(style->font_variant.computed, enum_convert_spstyle_variant_to_pango_variant, sizeof(enum_convert_spstyle_variant_to_pango_variant)/sizeof(enum_convert_spstyle_variant_to_pango_variant[0])));
273 pango_font_description_set_size(descr, (in
[all...]
H A Dnr-type-primitives.h32 const char *descr; member in struct:NRStyleRecord
H A Dfont-instance.h28 PangoFontDescription* descr; member in class:font_instance
H A Dfont-lister.cpp313 PangoFontDescription *descr = pango_font_description_from_string(fontspec.c_str()); local
314 gchar *canonized = pango_font_description_to_string(descr);
317 pango_font_description_free(descr);
335 PangoFontDescription *descr = pango_font_description_from_string(fontspec.c_str()); local
336 font_instance *res = (font_factory::Default())->Face(descr);
341 pango_font_description_free(descr);
348 PangoFontDescription *descr = pango_font_description_from_string(fontspec.c_str()); local
349 const gchar *family = pango_font_description_get_family(descr);
369 pango_font_description_unset_fields(descr, PANGO_FONT_MASK_FAMILY);
370 gchar *style = pango_font_description_to_string(descr);
[all...]
H A DFontFactory.h128 font_instance* Face(PangoFontDescription *descr, bool canFail=true);
H A DFontInstance.cpp178 descr(0),
217 if ( descr ) {
218 pango_font_description_free(descr);
219 descr = 0;
241 //char *tc=pango_font_description_to_string(descr);
249 //char *tc=pango_font_description_to_string(descr);
825 // const gchar *family = pango_font_description_get_family(descr);
H A DLayout-TNG-Output.cpp567 return sp_font_description_get_family(_spans[span_index].font->descr);
612 result += Glib::ustring::compose(" font '%1' %2 %3 %4\n", sp_font_description_get_family(_spans[span_index].font->descr), _spans[span_index].font_size, style_to_text(pango_font_description_get_style(_spans[span_index].font->descr)), weight_to_text(pango_font_description_get_weight(_spans[span_index].font->descr)));
H A DTextWrapper.cpp217 //char *tc = pango_font_description_to_string(default_font->descr);
221 pango_layout_set_font_description(pLayout, default_font->descr);
H A DLayout-TNG-Compute.cpp1069 PangoAttribute *attribute_font_description = pango_attr_font_desc_new(font->descr);
/inkscape/src/widgets/
H A Dege-paint-def.cpp66 descr(_("none")),
77 descr(),
87 descr = _("remove");
90 descr = _("none");
93 descr = "";
99 descr(description),
128 descr = other.descr;
184 tmp += std::string("<color name=\"") + descr + "\">";
259 descr
[all...]
H A Dege-adjustment-action.cpp96 gchar* descr; member in struct:_EgeAdjustmentDescr
507 EgeAdjustmentDescr* descr = (EgeAdjustmentDescr*)data; local
508 if ( descr->descr ) {
509 g_free( descr->descr );
510 descr->descr = 0;
512 g_free( descr );
552 EgeAdjustmentDescr* descr local
614 EgeAdjustmentDescr* descr = (EgeAdjustmentDescr*)g_list_nth_data( act->private_data->descriptions, index ); local
631 EgeAdjustmentDescr* descr = (EgeAdjustmentDescr*)cur->data; local
677 EgeAdjustmentDescr* descr = (EgeAdjustmentDescr*)cur->data; local
[all...]
H A Dege-paint-def.h82 std::string descr; member in class:ege::PaintDef
H A Dtoolbox.cpp1203 gchar const *descr,
1216 gtk_ui_manager_add_ui_from_string( mgr, descr, -1, &errVal );
1320 gchar const * descr = local
1368 setupToolboxCommon( toolbox, desktop, descr,
1516 gchar const * descr = local
1556 setupToolboxCommon( toolbox, desktop, descr,
1694 gchar const * descr = local
1902 setupToolboxCommon( toolbox, desktop, descr,
1201 setupToolboxCommon( GtkWidget *toolbox, SPDesktop *desktop, gchar const *descr, gchar const* toolbarName, gchar const* sizePref ) argument
/inkscape/src/ui/dialog/
H A Dfont-substitution.cpp266 PangoFontDescription *descr = pango_font_description_new(); local
267 pango_font_description_set_family(descr,font.c_str());
268 font_instance *res = (font_factory::Default())->Face(descr);
273 pango_font_description_free(descr);
H A Dcolor-item.cpp128 item->def.descr.c_str());
366 //def.descr = name;
569 Gtk::Label *lbl = new Gtk::Label(def.descr);
586 newBlot->set_tooltip_text(def.descr);
670 Glib::ustring descr; local
675 descr = secondary? _("Remove stroke color") : _("Remove fill color");
680 descr = secondary? _("Set stroke color to none") : _("Set fill color to none");
698 descr = secondary? _("Set stroke color from swatch") : _("Set fill color from swatch");
705 DocumentUndo::done( desktop->getDocument(), SP_VERB_DIALOG_SWATCHES, descr.c_str() );
715 std::string::size_type pos = it->def.descr
[all...]
H A Dinput.cpp1464 Glib::ustring descr = (*deviceIter)[getCols().description]; local
1468 deviceRow[getCols().description] = descr;
1489 Glib::ustring descr = (*deviceIter)[getCols().description]; local
1493 deviceRow[getCols().description] = descr;
1506 descr = (*linkIter)[getCols().description];
1510 deviceRow[getCols().description] = descr;
H A Dswatches.cpp173 std::string targetName(bounceTarget->def.descr);
215 sp_gradient_unset_swatch(desktop, bounceTarget->def.descr);
1131 bool isFill = (fillId == item->def.descr);
1132 bool isStroke = (strokeId == item->def.descr);
/inkscape/src/ui/tools/
H A Dbox3d-tool.cpp528 Glib::ustring descr = "/desktop/"; local
529 descr += box3d_side_axes_string(side);
530 descr += "/style";
532 Glib::ustring cur_style = prefs->getString(descr);
/inkscape/src/2geom/
H A Dconicsec.cpp216 double descr = c[1]*c[1] - c[0]*c[2];
217 if (descr < 0) {
221 } else if (descr == 0) {
223 } else if (descr > 0) {
/inkscape/src/extension/internal/pdfinput/
H A Dsvg-builder.cpp1312 PangoFontDescription *descr = pango_font_description_from_string(glyph.font_specification); local
1313 Glib::ustring properFontSpec = font_factory::Default()->ConstructFontSpecification(descr);
1314 pango_font_description_free(descr);

Completed in 905 milliseconds

12