#ifndef SEEN_SP_GUIDE_H
#define SEEN_SP_GUIDE_H
/*
* SPGuide
*
* A guideline
*
* Copyright (C) Lauris Kaplinski 2000
* Copyright (C) Johan Engelen 2007
* Abhishek Sharma
* Jon A. Cruz <jon@joncruz.org>
*
*/
#include <vector>
#include "sp-object.h"
#include "sp-guide-attachment.h"
typedef unsigned int guint32;
extern "C" {
typedef void (*GCallback) (void);
}
struct SPCanvas;
struct SPCanvasGroup;
struct SPGuideLine;
/* Represents the constraint on p that dot(g.direction, p) == g.position. */
SPGuide();
void showSPGuide(); // argument-free versions
void hideSPGuide();
char* description(bool const verbose = true) const;
char* label;
std::vector<SPGuideLine *> views; // contains an object of type SPGuideline (see display/guideline.cpp for definition)
bool locked;
};
// These functions rightfully belong to SPDesktop. What gives?!
void sp_guide_pt_pairs_to_guides(SPDocument *doc, std::list<std::pair<Geom::Point, Geom::Point> > &pts);
#endif // SEEN_SP_GUIDE_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 :