sp-namedview.h revision d3521b41ea04dd65dff95af5291c942fcc72f3a3
#ifndef INKSCAPE_SP_NAMEDVIEW_H
#define INKSCAPE_SP_NAMEDVIEW_H
/*
* <sodipodi:namedview> implementation
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Abhishek Sharma
*
* Copyright (C) 2006 Johan Engelen <johan@shouraizou.nl>
* Copyright (C) Lauris Kaplinski 2000-2002
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "sp-object-group.h"
#include "snap.h"
#include "document.h"
}
}
enum {
};
SPNamedView();
virtual ~SPNamedView();
unsigned int editable : 1;
unsigned int showguides : 1;
unsigned int showborder : 1;
unsigned int showpageshadow : 1;
unsigned int borderlayer : 2;
unsigned int antialiasing : 1;
double zoom;
double cx;
double cy;
bool grids_visible;
double connector_spacing;
GSList const *getViewList() const;
bool getSnapGlobal() const;
void setSnapGlobal(bool v);
void setGuides(bool v);
bool getGuides();
double getMarginLength(gchar const * const key,Inkscape::Util::Unit const * const margin_units,Inkscape::Util::Unit const * const return_units,double const width,double const height,bool const use_width);
virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags);
};
#endif /* !INKSCAPE_SP_NAMEDVIEW_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 :