Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
safe-printf.h File Reference

Go to the source code of this file.

Functions

template<size_t N>
int G_GNUC_PRINTF (2, 3) safeprintf(char(&buf)[N]
 
int const char va_start (args, fmt)
 
 va_end (args)
 

Variables

int const char * fmt
 
auto len = vsnprintf(buf, N, fmt, args)
 

Function Documentation

◆ G_GNUC_PRINTF()

template<size_t N>
int G_GNUC_PRINTF ( ,
 
) )[N] &

◆ va_end()

◆ va_start()

Variable Documentation

◆ fmt

◆ len

return len = vsnprintf(buf, N, fmt, args)

Definition at line 21 of file safe-printf.h.

Referenced by Inkscape::UI::Handle::_getDragTip(), Inkscape::UI::Tools::TextTool::_insertUnichar(), Inkscape::UI::ControlPointSelection::_rotationRadius(), Inkscape::Pixbuf::_setMimeData(), Inkscape::UI::Dialog::InkscapePreferences::add_highlight(), Inkscape::URIReference::attach(), bezier_fit(), Geom::bezier_fit_cubic(), Geom::BezierFitter::bezier_fit_cubic(), Geom::bezier_fit_cubic_full(), Geom::BezierFitter::bezier_fit_cubic_full(), Geom::bezier_fit_cubic_r(), Geom::BezierFitter::bezier_fit_cubic_r(), Geom::chord_length_parameterize(), Geom::BezierFitter::chord_length_parameterize(), Geom::BezierFitter::compute_max_error_ratio(), Geom::compute_max_error_ratio(), Path::ConvertPositionsToForced(), Inkscape::Application::crash_handler(), Inkscape::Pixbuf::create_from_buffer(), Inkscape::Pixbuf::create_from_file(), Path::CurvilignToPosition(), Geom::darray_center_tangent(), Geom::BezierFitter::darray_center_tangent(), Geom::darray_left_tangent(), Geom::BezierFitter::darray_left_tangent(), Geom::darray_left_tangent(), Geom::BezierFitter::darray_left_tangent(), Geom::darray_right_tangent(), Geom::BezierFitter::darray_right_tangent(), Geom::darray_right_tangent(), Geom::BezierFitter::darray_right_tangent(), GrDrag::deleteSelected(), SPGroup::description(), SPSwitch::description(), Inkscape::LivePathEffect::LPEEmbroderyStitch::doEffect_path(), PdfParser::doShowText(), Inkscape::Colors::CMS::Profile::dumpData(), Geom::estimate_bi(), Geom::BezierFitter::estimate_bi(), Geom::estimate_lengths(), Geom::BezierFitter::estimate_lengths(), Geom::SVGPathParser::feed(), Geom::generate_bezier(), Geom::BezierFitter::generate_bezier(), get_program_name(), Inkscape::Extension::WidgetLabel::get_widget(), Inkscape::UI::Widget::StrokeStyle::getDashFromStyle(), SPGroup::getItemCount(), Inkscape::Pixbuf::getMimeData(), Inkscape::UI::Tools::hex_to_printable_utf8_buf(), Geom::Interpolate::SpiroInterpolator::interpolateToPath(), Geom::BezierCurveN< degree >::intersect(), SPIDashArray::is_valid(), Inkscape::Colors::CMS::Profile::isIccFile(), Path::Length(), Inkscape::loadImpl(), Inkscape::Colors::Space::max_chroma_for_lh(), Inkscape::UI::Syntax::minify_css(), Geom::Point::normalize(), Inkscape::UI::Widget::CompletionPopup::onPopoverKeyPressed(), Geom::SVGPathParser::parse(), Inkscape::LivePathEffect::path_from_piecewise_fix_cusps(), Path::PointAndTangentAt(), Path::PointAt(), Inkscape::UI::Syntax::prettify_css(), NodeSatellite::radToLen(), range_approx_equal(), range_equal(), readline_generator(), SPGradient::rebuildVector(), Geom::BezierFitter::reparameterize(), Geom::reparameterize(), Geom::BezierFitter::reparameterize_pts(), SvgFont::scaled_font_text_to_glyphs(), SPFeImage::set(), SPViewBox::set_preserveAspectRatio(), Inkscape::UI::Handle::setLength(), Inkscape::UI::Node::setType(), sp_embed_image(), sp_embed_svg(), sp_get_same_style(), sp_offset_distance_to_original(), sp_repr_qualified_name(), Inkscape::LivePathEffect::sp_spiro_do_effect(), XmlQuoteTest::testXmlQuotedStrlen(), Inkscape::LivePathEffect::LPEPts2Ellipse::unit_arc_path(), bundles::vangle(), SPItem::visualBounds(), xml_quote_strdup(), and xml_quoted_strlen().