/inkscape/src/widgets/ |
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 | sp-xmlview-content.h | 5 * Specialization of GtkTextView for editing XML node text 39 #define SP_XMLVIEW_CONTENT_GET_REPR(text) (SP_XMLVIEW_CONTENT (text)->repr) 41 void sp_xmlview_content_set_repr (SPXMLViewContent * text, Inkscape::XML::Node * repr);
|
/inkscape/share/extensions/ |
H A D | text_lowercase.py | 5 def process_chardata(self,text, line=False, par=False): 6 return text.lower()
|
H A D | text_uppercase.py | 5 def process_chardata(self,text, line=False, par=False): 6 return text.upper()
|
H A D | text_flipcase.py | 6 def process_chardata(self,text, line, par): 8 for i in range(len(text)): 9 c = text[i]
|
H A D | text_randomcase.py | 8 def process_chardata(self,text, line, par): 11 for i in range(len(text)): 12 c = text[i]
|
H A D | split.py | 47 inkex.debug("This type of text element isn't supported. First remove text from path.") 52 text = inkex.etree.Element(inkex.addNS("text", "svg"), node.attrib) 54 #handling flowed text nodes 68 text.set("x", flowref.get("x")) 69 text.set("y", str(float(flowref.get("y")) + fs * count)) 72 inkex.debug("This type of text element isn't supported. First unflow text.") 78 tspan.text [all...] |
H A D | inkwebeffect.py | 28 if not scriptEl.text: return True 29 if len(scriptEl.text) == 0: return True 30 if re.search(self.reUpdateJS, scriptEl.text): return True 36 scriptEl.text = \ 41 scriptEl.text = \ 50 if re.search(self.reUpdateJS, s.text): 57 scriptEl.set( "type", "text/javascript" )
|
H A D | render_barcode.py | 43 self.OptionParser.add_option("-d", "--text", 45 dest="text", default='', 53 text=self.options.text, 66 for (kind, text) in ( 82 bargen = getBarcode(kind, text=text)
|
H A D | text_titlecase.py | 8 def process_chardata(self,text, line, par): 10 for i in range(len(text)): 11 c = text[i]
|
H A D | nicechart.py | 86 with optional drop shadow, from a csv file or from pasted text 182 self.OptionParser.add_option("-o", "--text-offset", action="store", 406 # If keys are given, create text elements 408 text = inkex.etree.Element(inkex.addNS('text', 'svg')) 410 text.set("transform", "matrix(0,-1,1,0,0,0)") 412 text.set("x", "-" + str(height/2 + text_offset)) 414 text.set("y", str(width/2 + offset + bar_width/2 + font_size/3)) 416 text.set("y", str(width/2 + offset + bar_width/2 + font_size/3)) 417 text [all...] |
/inkscape/share/extensions/Barcode/ |
H A D | Code39.py | 72 """Convert a text into string binary of black and white markers""" 73 def encode(self, text): 74 self.text = text.upper() 79 for char in '*' + self.text + '*':
|
H A D | Rm4scc.py | 71 def encode(self, text): 74 text = text.upper() 75 text.replace('(', '') 76 text.replace(')', '') 78 text = '(' + text + self.checksum(text) + ')' 81 for char in text: 89 def checksum(self, text) [all...] |
H A D | Code93.py | 63 def encode(self, text): 68 text = self.encode_ascii(text) 71 text.append(self.checksum(text, 20)) # C 72 text.append(self.checksum(text, 15)) # K 74 # Now convert text into the ENCODE bits (black and white stripes) 75 for char in text: 81 def checksum(self, text, mo [all...] |
H A D | Base.py | 28 TEXT_TEMPLATE = 'font-size:%dpx;text-align:center;text-anchor:middle;' 38 def error(self, text, msg): 41 "Error encoding '%s' as %s barcode: %s\n" % (text, self.name, msg)) 44 def encode(self, text): 59 self.text = param.get('text', None) 67 if not self.text: 89 string = self.encode(self.text) 136 # Add text a [all...] |
H A D | Ean13.py | 35 self.text = self.space(n[0:1], 4, n[1:7], 5, n[7:], 7)
|
H A D | Ean2.py | 35 self.text = ' '.join(self.space(number))
|
H A D | Ean8.py | 32 self.text = self.space(n[:4], 3, n[4:])
|
H A D | Upca.py | 33 self.text = self.space(n[0:1], 3, n[1:6], 4, n[6:11], 3, n[11:])
|
/inkscape/src/libuemf/ |
H A D | symbol_convert.h | 24 void msdepua(uint32_t *text); //translate down from Microsoft Private Use Area 25 void msrepua(uint16_t *text); //translate up to Microsoft Private Use Area 28 int NonToUnicode(uint32_t *text, char *font); //nonunicode to Unicode translation 30 int SingleUnicodeToNon(uint16_t text); //retuns the enum value for this translation 31 void UnicodeToNon(uint16_t *text, int *ecount, int *edest); //translate Unicode to NonUnicode
|
/inkscape/src/ui/widget/ |
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...] |
/inkscape/share/extensions/test/ |
H A D | render_barcode.test.py | 27 (btype, text, code) = line.split(':') 30 self.data[btype].append( [ text, code ] ) 62 (text, code) = datum 63 if not text or not code: 65 coder = getBarcode( name, text=text) 66 code2 = coder.encode( text )
|
/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/ui/tools/ |
H A D | text-tool.cpp | 37 #include "pixmaps/cursor-text-insert.xpm" 38 #include "pixmaps/cursor-text.xpm" 46 #include "sp-text.h" 48 #include "ui/tools/text-tool.h" 49 #include "text-editing.h" 77 const std::string TextTool::prefsPath = "/tools/text"; 83 , text(NULL) 190 if (prefs->getBool("/tools/text/selcue")) { 193 if (prefs->getBool("/tools/text/gradientdrag")) { 263 if (this->text) { 1688 sp_text_context_place_cursor(TextTool *tc, SPObject *text, Inkscape::Text::Layout::iterator where) argument 1696 sp_text_context_place_cursor_at(TextTool *tc, SPObject *text, Geom::Point const p) argument 1702 sp_text_context_get_cursor_position(TextTool *tc, SPObject *text) argument [all...] |