Logo Search packages:      
Sourcecode: inkscape version File versions

Writer & Inkscape::IO::BasicWriter::printf ( char const *  fmt,
  ... 
) [virtual, inherited]

Provide printf()-like formatting

Reimplemented from Inkscape::IO::Writer.

Definition at line 512 of file inkscapestream.cpp.

References Inkscape::IO::BasicWriter::writeString().

{
    va_list args;
    va_start(args, fmt);
    gchar *buf = g_strdup_vprintf(fmt, args);
    va_end(args);
    if (buf) {
        writeString(buf);
        g_free(buf);
    }
    return *this;
}


Generated by  Doxygen 1.6.0   Back to index