marker.h revision 895229950881e4c5be06fc7999ed0ef9aea62e92
#ifndef __SP_MARKER_H__
#define __SP_MARKER_H__
/*
* SVG <marker> implementation
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 1999-2003 Lauris Kaplinski
* Copyright (C) 2008 Johan Engelen
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
/*
* This is quite similar in logic to <svg>
* Maybe we should merge them somehow (Lauris)
*/
#define SP_TYPE_MARKER (sp_marker_get_type ())
struct SPMarkerView;
#include "svg/svg-length.h"
#include "enums.h"
#include "sp-item-group.h"
#include "sp-marker-loc.h"
#include "uri-references.h"
#include "viewbox.h"
SPMarker();
/* units */
unsigned int markerUnits_set : 1;
unsigned int markerUnits : 1;
/* reference point */
/* dimensions */
/* orient */
unsigned int orient_set : 1;
unsigned int orient_auto : 1;
float orient;
/* Private views */
virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags);
virtual Inkscape::DrawingItem* show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags);
};
}
return SP_IS_MARKER(obj);
}
};
const gchar *generate_marker (GSList *reprs, Geom::Rect bounds, SPDocument *document, Geom::Point center, Geom::Affine move);
#endif