path-string.h revision d85ca554385107417c9547ff865c2345c23af18d
/*
* Inkscape::SVG::PathString - builder for SVG path strings
*
* Copyright 2007 MenTaLguY <mental@rydia.net>
* Copyright 2008 Jasper van de Gronde <th.v.d.gronde@hccnet.nl>
*
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* See the file COPYING for details.
*
*/
#ifndef SEEN_INKSCAPE_SVG_PATH_STRING_H
#define SEEN_INKSCAPE_SVG_PATH_STRING_H
#include "libnr/nr-point.h"
#include "libnr/nr-point-ops.h"
#include "svg/stringstream.h"
PathString();
// default copy
// default assign
}
return ustring();
}
char const *c_str() const {
}
}
_appendPoint(p);
_current_point = _initial_point = p;
return *this;
}
}
_appendPoint(p);
_current_point = p;
return *this;
}
}
_appendPoint(c);
_appendPoint(p);
_current_point = p;
return *this;
}
{
}
_appendPoint(p);
_current_point = p;
return *this;
}
{
_appendPoint(p);
_current_point = p;
return *this;
}
PathString &closePath() {
return *this;
}
void _appendFlag(bool flag) {
}
_abs_state.append(v);
_rel_state.append(v);
}
_abs_state.append(p);
_rel_state.append(p);
}
_abs_state.append(x);
}
_abs_state.append(y);
}
_abs_state.append(p);
}
struct State {
}
}
os << ' ' << v;
}
}
return true;
}
unsigned int switches;
char prevop;
bool const allow_relative_coordinates;
bool const force_repeat_commands;
};
}
}
#endif
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :