curve.h revision 76addc201c409e81eaaa73fe27cc0f79c4db097c
/**
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 2000 Lauris Kaplinski
* Copyright (C) 2000-2001 Ximian, Inc.
* Copyright (C) 2002 Lauris Kaplinski
* Copyright (C) 2008 Johan Engelen
*
* Released under GNU GPL, see file 'COPYING' for more information
*/
#ifndef SEEN_DISPLAY_CURVE_H
#define SEEN_DISPLAY_CURVE_H
#include <cstddef>
#include <boost/optional.hpp>
/**
* Wrapper around a Geom::PathVector object.
*/
/* Constructors */
size_t get_segment_count() const;
size_t nodes_in_path() const;
bool is_empty() const;
bool is_closed() const;
void reset();
void moveto(double x, double y);
void lineto(double x, double y);
void closepath();
void closepath_current();
void backspace();
SPCurve * create_reverse() const;
// Don't implement these:
};
#endif // !SEEN_DISPLAY_CURVE_H
/*
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:fileencoding=utf-8 :