path-string.h revision 117336bcc334c1d380b7592f1639c1a586a28559
/*
* 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"
PathString();
// default copy
// default assign
}
return ustring();
}
char const *c_str() const {
}
}
_appendPoint(p, true);
return *this;
}
}
_appendPoint(p, true);
return *this;
}
_appendX(x, true);
return *this;
}
_appendY(y, true);
return *this;
}
}
_appendPoint(c, false);
_appendPoint(p, true);
return *this;
}
{
}
_appendPoint(c0, false);
_appendPoint(c1, false);
_appendPoint(p, true);
return *this;
}
{
_appendPoint(p, true);
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);
}
double rx;
}
double ry;
}
}
struct State {
}
}
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 :