Searched defs:format (Results 1 - 17 of 17) sorted by relevance

/inkscape/src/util/
H A Dformat.h2 * Inkscape::Util::format - g_strdup_printf wrapper producing shared strings
23 inline ptr_shared<char> vformat(char const *format, va_list args) { argument
24 char *temp=g_strdup_vprintf(format, args);
31 ptr_shared<char> format(char const *format, ...) G_GNUC_PRINTF(1,2);
32 inline ptr_shared<char> format(char const *format, ...) { argument
35 va_start(args, format);
36 ptr_shared<char> result=vformat(format, args);
/inkscape/src/
H A Dmessage-context.cpp37 void MessageContext::setF(MessageType type, gchar const *format, ...) argument
40 va_start(args, format);
41 setVF(type, format, args);
45 void MessageContext::setVF(MessageType type, gchar const *format, va_list args) argument
47 gchar *message=g_strdup_vprintf(format, args);
59 void MessageContext::flashF(MessageType type, gchar const *format, ...) { argument
61 va_start(args, format);
62 flashVF(type, format, args);
66 void MessageContext::flashVF(MessageType type, gchar const *format, va_list args) { argument
67 gchar *message=g_strdup_vprintf(format, arg
[all...]
H A Dmessage-stack.cpp36 MessageId MessageStack::pushF(MessageType type, gchar const *format, ...) argument
39 va_start(args, format);
40 MessageId id=pushVF(type, format, args);
45 MessageId MessageStack::pushVF(MessageType type, gchar const *format, va_list args) argument
48 gchar *message=g_strdup_vprintf(format, args);
92 MessageId MessageStack::flashF(MessageType type, gchar const *format, ...) { argument
94 va_start(args, format);
95 MessageId id = flashVF(type, format, args);
100 MessageId MessageStack::flashVF(MessageType type, gchar const *format, va_list args) argument
102 gchar *message=g_strdup_vprintf(format, arg
[all...]
H A Drdf.h75 RDF_Format format; /* in what format is this data edited? */ member in struct:rdf_work_entity_t
/inkscape/src/debug/
H A Dsimple-event.h71 void _addFormattedProperty(Util::ptr_shared<char> name, char const *format, ...) argument
74 va_start(args, format);
75 gchar *value=g_strdup_vprintf(format, args);
/inkscape/src/widgets/
H A Dege-paint-def.cpp152 void PaintDef::getMIMEData(std::string const & type, char*& dest, int& len, int& format) argument
159 format = 8;
168 format = 16;
200 format = 8;
208 bool PaintDef::fromMIMEData(std::string const & type, char const * data, int len, int /*format*/)
H A Dege-adjustment-action.cpp107 gchar* format; member in struct:_EgeAdjustmentActionPrivate
264 action->private_data->format = g_strdup_printf("%%0.%df%%s%%s", action->private_data->digits);
288 g_free( action->private_data->format );
413 if ( action->private_data->format ) {
414 g_free( action->private_data->format );
416 action->private_data->format = g_strdup_printf("%%0.%df%%s%%s", action->private_data->digits);
643 str = g_strdup_printf( act->private_data->format, num,
/inkscape/src/svg/
H A Dpath-string.cpp29 Inkscape::SVG::PATHSTRING_FORMAT Inkscape::SVG::PathString::format; member in class:Inkscape::SVG::PathString
35 format = (PATHSTRING_FORMAT)prefs->getIntLimited("/options/svgoutput/pathstring_format", 1, 0, PATHSTRING_FORMAT_SIZE - 1 );
47 switch (format) {
H A Dpath-string.h241 return ( (format == PATHSTRING_ABSOLUTE) ||
242 (format == PATHSTRING_OPTIMIZE && _abs_state <= _rel_state ) ?
246 static PATHSTRING_FORMAT format; member in class:Inkscape::SVG::PathString
/inkscape/src/ui/dialog/
H A Dfiledialog.cpp67 Gdk::PixbufFormat format = formats[i]; local
68 std::vector<Glib::ustring>extensions = format.get_extensions();
H A Dcolor-item.cpp410 int format = 0; local
411 item->def.getMIMEData(key, tmp, len, format);
414 gtk_selection_data_set( data, dataAtom, format, (guchar*)tmp, len );
/inkscape/src/ui/widget/
H A Dimageicon.cpp359 Gdk::PixbufFormat format = formats[i]; local
360 std::vector<Glib::ustring>extensions = format.get_extensions();
H A Dlayer-selector.cpp560 gchar *format = g_strdup_printf ( local
583 gchar *text = g_markup_printf_escaped(format, gr_ellipsize_text (label, 50).c_str());
586 g_free(format);
/inkscape/src/ui/tool/
H A Dcontrol-point.cpp153 Glib::ustring ControlPoint::format_tip(char const *format, ...) argument
156 va_start(args, format);
157 char *dyntip = g_strdup_vprintf(format, args);
/inkscape/src/ui/
H A Dclipboard.cpp211 // set the color as clipboard content (text in RRGGBBAA format)
1107 // there is no specific plain SVG input extension, so if we can paste the Inkscape SVG format,
1327 UINT format = EnumClipboardFormats(0); local
1328 while (format) {
1329 if (format == CF_ENHMETAFILE || format == CF_DIB || format == CF_BITMAP) {
1332 format = EnumClipboardFormats(format);
1336 if (format
[all...]
/inkscape/src/display/
H A Dcairo-utils.cpp146 * the pixels are converted in place to the Cairo or the GdkPixbuf format.
328 // from the file. This can be done by using format-specific libraries e.g. libpng.
337 * Converts the pixbuf to GdkPixbuf pixel format.
349 * Converts the pixbuf to Cairo pixel format and returns an image surface
439 void Pixbuf::_setMimeData(guchar *data, gsize len, Glib::ustring const &format) argument
443 if (format == "jpeg") {
445 } else if (format == "jpeg2000") {
447 } else if (format == "png") {
456 //g_message("Not setting Cairo MIME data: unknown format %s", name.c_str());
1140 * Converts the Cairo surface to a GdkPixbuf pixel format,
[all...]
/inkscape/src/extension/internal/
H A Dcairo-render-context.cpp220 bool CairoRenderContext::setImageTarget(cairo_format_t format) argument
222 // format cannot be set on an already initialized surface
226 switch (format) {
231 _target_format = format;

Completed in 62 milliseconds