sp-rect.h revision e918c2e4dcbcd27cf2a8259e53ba7b1196edb291
#ifndef SEEN_SP_RECT_H
#define SEEN_SP_RECT_H
/*
* SVG <rect> implementation
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Abhishek Sharma
*
* Copyright (C) 1999-2002 Lauris Kaplinski
* Copyright (C) 2000-2001 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "svg/svg-length.h"
#include "sp-shape.h"
#define SP_TYPE_RECT (sp_rect_get_type ())
SVGLength x;
SVGLength y;
/* If SET if FALSE, VALUE is just ignored */
gdouble getVisibleRx() const;
gdouble getVisibleRy() const;
gdouble getVisibleWidth() const;
gdouble getVisibleHeight() const;
};
struct SPRectClass {
};
virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags);
void set_shape();
void snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs);
void convert_to_guides();
};
/* Standard GType function */
#endif // SEEN_SP_RECT_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:textwidth=99 :