/inkscape/src/ui/widget/ |
H A D | text.cpp | 15 #include "text.h" 37 void Text::setText(const char* text) argument 41 static_cast<Gtk::Entry*>(_widget)->set_text(text); // FIXME: set correctly
|
H A D | color-entry.cpp | 46 return; // Typing text into entry box 49 Glib::ustring text = get_text(); local 53 if (!text.empty() && text[0] == '#') { 55 text.erase(0, 1); 56 if (text.size() == 6) { 59 text += Glib::ustring::format(std::hex, std::setw(2), std::setfill(L'0'), alpha); 63 gchar *str = g_strdup(text.c_str()); 93 Glib::ustring text = Glib::ustring::format(std::hex, std::setw(8), std::setfill(L'0'), rgba); local 96 if (old_text != text) { [all...] |
H A D | entity-entry.cpp | 79 const gchar *text = rdf_get_work_entity (doc, _entity); local 80 prefs->setString(PREFS_METADATA + Glib::ustring(_entity->name), Glib::ustring(text ? text : "")); 99 const char *text = rdf_get_work_entity (doc, _entity); local 101 if ( !text && !strcmp(_entity->name, "title") && doc->getRoot() ) { 102 text = doc->getRoot()->title(); 103 rdf_set_work_entity(doc, _entity, text); 105 static_cast<Gtk::Entry*>(_packable)->set_text (text ? text : ""); 112 Glib::ustring text local 125 Glib::ustring text = static_cast<Gtk::Entry*>(_packable)->get_text(); local 156 const char *text = rdf_get_work_entity (doc, _entity); local 171 Glib::ustring text = prefs->getString(PREFS_METADATA + Glib::ustring(_entity->name)); local 189 Glib::ustring text = tv->get_buffer()->get_text(); local [all...] |
H A D | unit-tracker.cpp | 46 Glib::ustring text = m_iter->first; local 48 gtk_list_store_set(_store, &iter, COLUMN_STRING, text.c_str(), -1);
|
/inkscape/src/widgets/ |
H A D | sp-attribute-widget.cpp | 266 Glib::ustring text=""; local 270 text = e->get_text (); 271 if (val || !text.empty()) { 272 if (text != val) { 295 Glib::ustring text = e->get_text (); local 297 spat->_object->getRepr()->setAttribute(attributes[i].c_str(), text.c_str(), false);
|
H A D | sp-xmlview-content.cpp | 32 void sp_xmlview_content_changed (GtkTextBuffer *tb, SPXMLViewContent *text); 47 SPXMLViewContent *text = SP_XMLVIEW_CONTENT(g_object_new(SP_TYPE_XMLVIEW_CONTENT, NULL)); local 48 gtk_text_view_set_buffer (GTK_TEXT_VIEW (text), tb); 49 gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text), GTK_WRAP_CHAR); 51 g_signal_connect (G_OBJECT (tb), "changed", G_CALLBACK (sp_xmlview_content_changed), text); local 55 sp_xmlview_content_set_repr (text, repr); 57 return GTK_WIDGET(text); 61 sp_xmlview_content_set_repr (SPXMLViewContent * text, Inkscape::XML::Node * repr) argument 63 if ( repr == text->repr ) return; 64 if (text 93 sp_xmlview_content_init(SPXMLViewContent *text) argument 105 SPXMLViewContent * text = SP_XMLVIEW_CONTENT (object); local 119 SPXMLViewContent * text; local 137 sp_xmlview_content_changed(GtkTextBuffer *tb, SPXMLViewContent *text) argument [all...] |
H A D | ink-comboboxentry-action.h | 6 * Displaying a warning if text isn't in list. 53 gchar *text; // Text of active menu item or entry box. member in struct:_Ink_ComboBoxEntry_Action 90 gboolean ink_comboboxentry_action_set_active_text( Ink_ComboBoxEntry_Action* action, const gchar* text, int row=-1 );
|
H A D | dash-selector.cpp | 265 * Fill a pixbuf with a text label using standard cairo drawing 267 GdkPixbuf* SPDashSelector::sp_text_to_pixbuf(char *text) argument 276 cairo_show_text (ct, text);
|
/inkscape/src/display/ |
H A D | canvas-text.h | 5 * Canvas text. 45 SPDesktop *desktop; // the desktop to which this text is attached; needed for coordinate transforms (TODO: these should be eliminated) 47 gchar* text; member in struct:SPCanvasText 61 SPCanvasText *sp_canvastext_new(SPCanvasGroup *parent, SPDesktop *desktop, Geom::Point pos, gchar const *text);
|
/inkscape/src/extension/implementation/ |
H A D | implementation.h | 135 * Tell the printing engine whether text should be text or path. 137 * paths more than they'll support text. (at least they do today) 138 * \retval true Render the text as a path 139 * \retval false Render text using the text function (above) 179 virtual unsigned text(Inkscape::Extension::Print * /*module*/, function in class:Inkscape::Extension::Implementation::Implementation 180 char const * /*text*/,
|
/inkscape/src/extension/ |
H A D | print.cpp | 100 Print::text (char const *text, Geom::Point const &p, SPStyle const *style) argument 102 return imp->text (this, text, p, style);
|
/inkscape/src/libuemf/ |
H A D | symbol_convert.c | 857 void UC_log_message(char *text){ argument 860 fprintf(fp,"%s",text); 866 void msdepua (uint32_t *text) argument 868 while(*text){ 869 if(*text >= 0xF020 && *text <= 0xF0FF){ *text -= 0xF000; } 870 text++; 875 void msrepua (uint16_t *text) argument 877 while(*text){ 919 NonToUnicode(uint32_t *text, char *font) argument 947 UnicodeToNon(uint16_t *text, int *ecount, int *edest) argument 970 SingleUnicodeToNon(uint16_t text) argument [all...] |
/inkscape/src/ |
H A D | print.cpp | 71 unsigned int sp_print_text(SPPrintContext *ctx, char const *text, Geom::Point p, argument 74 return ctx->module->text(text, p, style);
|
H A D | sp-style-elem.cpp | 28 is_css = ( g_ascii_strncasecmp(value, "text/css", 8) == 0 90 repr->setAttribute("type", "text/css"); 100 /** Returns the concatenation of the content of the text children of the specified object. */ 269 GString *const text = concat_children(*getRepr()); local 270 CRParser *parser = cr_parser_new_from_buf(reinterpret_cast<guchar *>(text->str), text->len,
|
H A D | selection-describer.cpp | 210 SPText *text = dynamic_cast<SPText *>(item); local 211 if (text && text->firstChild() && dynamic_cast<SPText *>(text->firstChild())) {
|
H A D | sp-flowregion.cpp | 12 #include "sp-text.h" 180 // TRANSLATORS: "Flow region" is an area where text is allowed to flow 330 /* TRANSLATORS: A region "cut out of" a flow region; text is not allowed to flow inside the 375 SPText *text = dynamic_cast<SPText *>(u_child); local 376 if ( text ) { 377 curve = text->getNormalizedBpath();
|
H A D | sp-tspan.cpp | 2 * SVG <text> and <tspan> implementation 41 #include "text-editing.h" 140 // find out the ancestor text which holds our layout 455 SPObject *text = tp->parent; local 457 Geom::OptRect bbox = SP_ITEM(text)->geometricBounds(SP_ITEM(text)->i2doc_affine()); 475 Inkscape::XML::Node *copy = ((Inkscape::XML::Node *) i->data)->duplicate(text->getRepr()->document()); 478 // put its copy under text 479 text->getRepr()->addChild(copy, NULL); // fixme: copy id 486 // set x/y on text (t [all...] |
H A D | text-chemistry.cpp | 33 #include "text-editing.h" 34 #include "text-chemistry.h" 85 SPItem *text = text_or_flowtext_in_selection(selection); local 90 if (!text || !shape || selection->itemList().size() != 2) { 91 desktop->getMessageStack()->flash(Inkscape::WARNING_MESSAGE, _("Select <b>a text and a path</b> to put text on path.")); 95 if (SP_IS_TEXT_TEXTPATH(text)) { 96 desktop->getMessageStack()->flash(Inkscape::ERROR_MESSAGE, _("This text object is <b>already put on a path</b>. Remove it from the path first. Use <b>Shift+D</b> to look up its path.")); 101 // rect is the only SPShape which is not <path> yet, and thus SVG forbids us from putting text on it 102 desktop->getMessageStack()->flash(Inkscape::ERROR_MESSAGE, _("You cannot put text o 296 SPItem *text = text_or_flowtext_in_selection(selection); local 443 SPText *text = SP_TEXT(text_object); local [all...] |
H A D | rdf.cpp | 326 static unsigned int setWorkEntity(SPDocument * doc, struct rdf_work_entity_t & entity, gchar const * text); 331 * Pull the text out of an RDF entity, depends on how it's stored. 342 gchar const * text ); 557 gchar const * text ) 560 g_return_val_if_fail ( text != NULL, 0); 575 doc->getRoot()->setTitle(text); 583 temp = xmldoc->createTextNode( text ); 592 temp->setContent(text); 619 temp = xmldoc->createTextNode( text ); 628 temp->setContent(text); 906 rdf_set_work_entity(SPDocument * doc, struct rdf_work_entity_t * entity, const gchar * text) argument 919 setWorkEntity(SPDocument * doc, struct rdf_work_entity_t & entity, const gchar * text) argument 1168 gchar const * text; member in struct:rdf_entity_default_t 1238 Glib::ustring text = prefs->getString(PREFS_METADATA + Glib::ustring(entity->name)); local [all...] |
/inkscape/src/ui/tools/ |
H A D | text-tool.h | 46 SPItem *text; // the text we're editing, or NULL if none selected member in class:Inkscape::UI::Tools::TextTool 65 bool nascent_object; // true if we're clicked on canvas to put cursor, but no text typed yet so ->text is still NULL 67 bool over_text; // true if cursor is over a text object 69 guint dragging : 2; // dragging selection over text 98 void sp_text_context_place_cursor (TextTool *tc, SPObject *text, Inkscape::Text::Layout::iterator where); 99 void sp_text_context_place_cursor_at (TextTool *tc, SPObject *text, Geom::Point const p); 100 Inkscape::Text::Layout::iterator *sp_text_context_get_cursor_position(TextTool *tc, SPObject *text);
|
/inkscape/src/extension/param/ |
H A D | enum.cpp | 39 enumentry (Glib::ustring &val, Glib::ustring &text) : argument 41 guitext(text) 229 * Respond to the text box changing. 232 * from the text box and putting it in the parameter. 263 Glib::ustring text = entr->guitext; local 264 combo->append(text);
|
H A D | radiobutton.cpp | 47 optionentry (Glib::ustring * val, Glib::ustring * text) { argument 49 guitext = text; 233 * from the text box and putting it in the parameter. 333 Glib::ustring * text = entr->guitext; local 337 cbt->append(*text); 339 cbt->set_active_text(*text); 347 ParamRadioButtonWdg * radio = Gtk::manage(new ParamRadioButtonWdg(group, *text, this, doc, node, changeSignal));
|
/inkscape/src/libnrtype/ |
H A D | Layout-TNG-Input.cpp | 2 * Inkscape::Text::Layout - text layout engine input functions 43 void Layout::appendText(Glib::ustring const &text, SPStyle *style, void *source_cookie, OptionalTextTagAttrs const *optional_attributes, unsigned optional_attributes_offset, Glib::ustring::const_iterator text_begin, Glib::ustring::const_iterator text_end) argument 50 new_source->text = &text; 57 for ( ; text_begin != text_end && text_begin != text.end() ; ++text_begin) 61 // we need to fill in x and y even if the text is empty so that empty paragraphs can be positioned correctly 174 // there's no way to tell the difference between text-anchor set higher up the cascade to the default and 175 // text-anchor never set anywhere in the cascade, so in order to detect which of text-anchor or text [all...] |
/inkscape/share/filters/ |
H A D | samplify.py | 43 e_text = addNS('text', 'svg') 82 b.text = a.text 116 text = etree.Element(e_text, nsmap=NSS) variable 117 text.attrib['x']=str(q['x'] - q['width'] * 0.2) 118 text.attrib['y']=str( q['y'] + q['height'] * (menus.index(menu) + 1.4) ) 119 text.attrib['style']="font-size:%d;text-anchor:end;" % (q['height']*0.2) 120 text.text 133 text = etree.Element(e_text, nsmap=NSS) variable 144 text = etree.Element(e_text, nsmap=NSS) variable [all...] |
/inkscape/src/extension/internal/ |
H A D | latex-text-renderer.cpp | 22 #include "latex-text-renderer.h" 37 #include "sp-text.h" 40 #include "text-editing.h" 205 " \\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package \'color.sty\' is not loaded}%\n" 209 " \\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package \'transparent.sty\' is not loaded}%\n" 263 // so only PDF backend gets interleaved text/graphics 329 os << "\\smash{"; // smash the text, to be able to put the makebox coordinates at the baseline 331 // Walk through all spans in the text object. 399 // so only PDF backend gets interleaved text/graphics 408 g_warning("LaTeX export: non-rectangular flowed text shape 571 SPText *text = dynamic_cast<SPText *>(item); local [all...] |