connector-context.h revision 83836224b6afd15833c05adbee09475dfde201af
#ifndef SEEN_CONNECTOR_CONTEXT_H
#define SEEN_CONNECTOR_CONTEXT_H
/*
* Connector creation tool
*
* Authors:
* Michael Wybrow <mjwybrow@users.sourceforge.net>
*
* Copyright (C) 2005 Michael Wybrow
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <stddef.h>
#include <sigc++/connection.h>
#include "event-context.h"
#include "libavoid/connector.h"
#define SP_IS_CONNECTOR_CONTEXT(obj) (dynamic_cast<const SPConnectorContext*>((const SPEventContext*)obj))
struct SPKnot;
{
}
enum {
};
/** \invar npoints in {0, 2}. */
unsigned int state : 4;
// Red curve
// Green curve
// The new connector
bool isOrthogonal;
// The active shape
// Same as above, but for the active connector
// The activehandle
// The selected handle, used in editing mode
};
void cc_selection_set_avoid(bool const set_ignore);
#endif /* !SEEN_CONNECTOR_CONTEXT_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 :