/inkscape/src/ |
H A D | verbs-test.h | 41 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 D | color-profile-test.h | 82 std::string descr(cases[i].attr); 84 TSM_ASSERT_EQUALS( descr, prof->rendering_intent, (guint)cases[i].intVal );
|
H A D | sp-guide.cpp | 482 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 D | desktop-style.cpp | 203 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 D | FontFactory.cpp | 172 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 D | Layout-TNG-Input.cpp | 239 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 D | nr-type-primitives.h | 32 const char *descr; member in struct:NRStyleRecord
|
H A D | font-instance.h | 28 PangoFontDescription* descr; member in class:font_instance
|
H A D | font-lister.cpp | 313 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 D | FontFactory.h | 128 font_instance* Face(PangoFontDescription *descr, bool canFail=true);
|
H A D | FontInstance.cpp | 178 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 D | Layout-TNG-Output.cpp | 567 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 D | TextWrapper.cpp | 217 //char *tc = pango_font_description_to_string(default_font->descr); 221 pango_layout_set_font_description(pLayout, default_font->descr);
|
H A D | Layout-TNG-Compute.cpp | 1069 PangoAttribute *attribute_font_description = pango_attr_font_desc_new(font->descr);
|
/inkscape/src/widgets/ |
H A D | ege-paint-def.cpp | 66 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 D | ege-adjustment-action.cpp | 96 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 D | ege-paint-def.h | 82 std::string descr; member in class:ege::PaintDef
|
H A D | toolbox.cpp | 1203 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 D | font-substitution.cpp | 266 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 D | color-item.cpp | 128 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 D | input.cpp | 1464 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 D | swatches.cpp | 173 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 D | box3d-tool.cpp | 528 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 D | conicsec.cpp | 216 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 D | svg-builder.cpp | 1312 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);
|