Inkscape
Vector Graphics Editor
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
odf.cpp File Reference

OpenDocument (drawing) input and output. More...

Go to the source code of this file.

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::Extension
 Extension support.
 
namespace  Inkscape::Extension::Internal
 

Typedefs

typedef Inkscape::IO::BufferOutputStream Inkscape::Extension::Internal::BufferOutputStream
 
typedef Inkscape::IO::OutputStreamWriter Inkscape::Extension::Internal::OutputStreamWriter
 
typedef Inkscape::IO::StringOutputStream Inkscape::Extension::Internal::StringOutputStream
 

Functions

static double Inkscape::Extension::Internal::svd_hypot (double a, double b)
 
static Glib::ustring Inkscape::Extension::Internal::getAttribute (Inkscape::XML::Node *node, char const *attrName)
 Get the value of a node/attribute pair.
 
static Glib::ustring Inkscape::Extension::Internal::formatTransform (Geom::Affine &tf)
 
static Geom::Affine Inkscape::Extension::Internal::getODFTransform (const SPItem *item)
 Get the general transform from SVG pixels to ODF cm.
 
static Geom::OptRect Inkscape::Extension::Internal::getODFBoundingBox (const SPItem *item)
 Get the bounding box of an item, as mapped onto an ODF document, in cm.
 
static Geom::Affine Inkscape::Extension::Internal::getODFItemTransform (const SPItem *item)
 Get the transform for an item, including parents, but without root viewBox transformation.
 
static void Inkscape::Extension::Internal::analyzeTransform (Geom::Affine &tf, double &rotate, double &, double &, double &xscale, double &yscale)
 Get some fun facts from the transform.
 
static void Inkscape::Extension::Internal::gatherText (Inkscape::XML::Node *node, Glib::ustring &buf)
 
static int Inkscape::Extension::Internal::writePath (Writer &outs, Geom::PathVector const &pathv, Geom::Affine const &tf, double xoff, double yoff)
 Writes an SVG path as an ODF <draw:path> and returns the number of points written.
 

Detailed Description

OpenDocument (drawing) input and output.

Definition in file odf.cpp.