Inkscape
Vector Graphics Editor
|
#include <stringstream.h>
Public Member Functions | |
SVGOStringStream () | |
template<typename T , typename std::enable_if<!std::is_floating_point< T >::value, int >::type = 0> | |
SVGOStringStream & | operator<< (T const &arg) |
SVGOStringStream & | operator<< (double) |
SVGOStringStream & | operator<< (Geom::Point const &) |
std::string | str () const |
void | str (std::string &s) |
std::streamsize | precision () const |
std::streamsize | precision (std::streamsize p) |
std::ios::fmtflags | setf (std::ios::fmtflags fmtfl) |
std::ios::fmtflags | setf (std::ios::fmtflags fmtfl, std::ios::fmtflags mask) |
void | unsetf (std::ios::fmtflags mask) |
Private Attributes | |
std::ostringstream | ostr |
Definition at line 21 of file stringstream.h.
Inkscape::SVGOStringStream::SVGOStringStream | ( | ) |
Definition at line 15 of file stringstream.cpp.
References Inkscape::Preferences::get(), Inkscape::Preferences::getInt(), and ostr.
Inkscape::SVGOStringStream & Inkscape::SVGOStringStream::operator<< | ( | double | d | ) |
Definition at line 29 of file stringstream.cpp.
References strip_trailing_zeros().
Inkscape::SVGOStringStream & Inkscape::SVGOStringStream::operator<< | ( | Geom::Point const & | p | ) |
Definition at line 52 of file stringstream.cpp.
|
inline |
Definition at line 31 of file stringstream.h.
References ostr.
|
inline |
Definition at line 49 of file stringstream.h.
References ostr.
|
inline |
Definition at line 53 of file stringstream.h.
References ostr.
|
inline |
Definition at line 57 of file stringstream.h.
References ostr.
Referenced by Inkscape::Extension::Internal::PrintLatex::begin(), Inkscape::Extension::Internal::PrintLatex::fill(), Inkscape::Extension::Internal::LaTeXTextRenderer::setupDocument(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::Extension::Internal::PrintLatex::stroke(), and Inkscape::Extension::Internal::LaTeXTextRenderer::writeGraphicPage().
|
inline |
Definition at line 61 of file stringstream.h.
References ostr.
|
inline |
Definition at line 41 of file stringstream.h.
References ostr.
Referenced by Inkscape::Extension::Internal::Emf::add_clips(), Inkscape::Extension::Internal::Wmf::add_clips(), Inkscape::Extension::Internal::Emf::add_gradient(), Inkscape::UI::Tools::PencilTool::addPowerStrokePencil(), Inkscape::Extension::Internal::PrintLatex::begin(), Inkscape::ObjectSet::cloneOriginalPathLPE(), Inkscape::Extension::Internal::Wmf::common_bm16_to_image(), Inkscape::Extension::Internal::Wmf::common_dib_to_image(), Inkscape::Extension::Internal::Emf::common_image_extraction(), Proj::Pt2::coord_string(), Proj::Pt3::coord_string(), Inkscape::Extension::Internal::Emf::current_matrix(), Inkscape::Extension::Internal::Wmf::current_matrix(), Inkscape::Extension::Internal::PrintLatex::fill(), NumberOptNumber::getValueString(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::UI::Widget::RegisteredText::on_activate(), Inkscape::UI::Widget::RegisteredUnitMenu::on_changed(), Inkscape::LivePathEffect::PathArrayParam::on_link_button_click(), Inkscape::UI::Widget::RegisteredScalarUnit::on_value_changed(), Inkscape::UI::Widget::RegisteredScalar::on_value_changed(), Inkscape::UI::Widget::RegisteredInteger::on_value_changed(), Inkscape::UI::Widget::RegisteredTransformedPoint::on_value_changed(), Inkscape::UI::Widget::RegisteredVector::on_value_changed(), Inkscape::UI::Widget::RegisteredRandom::on_value_changed(), Inkscape::UI::Widget::RegisteredFontButton::on_value_changed(), Inkscape::Extension::Internal::Emf::output_style(), Inkscape::Extension::Internal::Wmf::output_style(), Inkscape::LivePathEffect::PointParam::param_getDefaultSVGValue(), Inkscape::LivePathEffect::ScalarParam::param_getDefaultSVGValue(), Inkscape::LivePathEffect::RandomParam::param_getDefaultSVGValue(), Inkscape::LivePathEffect::ScalarArrayParam::param_getDefaultSVGValue(), Inkscape::LivePathEffect::TransformedPointParam::param_getDefaultSVGValue(), Inkscape::LivePathEffect::VectorParam::param_getDefaultSVGValue(), Inkscape::LivePathEffect::PointParam::param_getSVGValue(), Inkscape::LivePathEffect::ArrayParam< StorageType >::param_getSVGValue(), Inkscape::LivePathEffect::ScalarParam::param_getSVGValue(), Inkscape::LivePathEffect::PathArrayParam::param_getSVGValue(), Inkscape::LivePathEffect::RandomParam::param_getSVGValue(), Inkscape::LivePathEffect::TransformedPointParam::param_getSVGValue(), Inkscape::LivePathEffect::VectorParam::param_getSVGValue(), Inkscape::LivePathEffect::FontButtonParam::param_readSVGValue(), Inkscape::LivePathEffect::ArrayParam< StorageType >::param_set_and_write_new_value(), Inkscape::LivePathEffect::PointParam::param_setValue(), Inkscape::Extension::Internal::Emf::pix_to_xy(), Inkscape::Extension::Internal::Wmf::pix_to_xy(), Proj::TransfMat3x4::pt_to_str(), Inkscape::XML::Node::setAttributePoint(), Inkscape::XML::Node::setAttributeSvgDouble(), Inkscape::Extension::Internal::LaTeXTextRenderer::setupDocument(), Inkscape::Extension::Internal::Metafile::setViewBoxIfMissing(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), sp_svg_length_write_with_units(), sp_svg_write_polygon(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::UI::Tools::spdc_apply_bend_shape(), Inkscape::UI::Tools::spdc_paste_curve_as_freehand_shape(), Inkscape::Extension::Internal::PrintLatex::stroke(), Path::svg_dump_path(), SVGLength::toString(), Persp3D::write(), SPTextPath::write(), SPViewBox::write_viewBox(), Inkscape::Extension::Internal::LaTeXTextRenderer::writeGraphicPage(), and Inkscape::LivePathEffect::ArrayParam< StorageType >::writesvgData().
|
inline |
Definition at line 45 of file stringstream.h.
References ostr.
|
inline |
Definition at line 65 of file stringstream.h.
References ostr.
|
private |
Definition at line 23 of file stringstream.h.
Referenced by operator<<(), precision(), precision(), setf(), setf(), str(), str(), SVGOStringStream(), and unsetf().