sp-ctrlline.cpp revision 4657fa530af64b240cf26727008666847885a3ad
/*
* Simple straight line
*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
* Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2007 Johan Engelen
* Copyright (C) 1999-2002 Lauris Kaplinski
*
* Released under GNU GPL
*/
/*
* TODO:
* Draw it by hand - we really do not need aa stuff for it
*
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "display/sp-ctrlline.h"
#include "display/sp-canvas-util.h"
#include "display/cairo-utils.h"
#include "color.h"
static void sp_ctrlline_update (SPCanvasItem *item, Geom::Affine const &affine, unsigned int flags);
static SPCanvasItemClass *parent_class;
sp_ctrlline_get_type (void)
{
if (!type) {
sizeof(SPCtrlLineClass),
sizeof(SPCtrlLine),
0,
};
}
return type;
}
static void
{
}
static void
{
}
static void
{
}
static void
{
return;
return;
}
static void
{
if (parent_class->update)
} else {
}
}
void
{
}
}
#define EPSILON 1e-6
void
{
if (DIFFER (x0, cl->s[Geom::X]) || DIFFER (y0, cl->s[Geom::Y]) || DIFFER (x1, cl->e[Geom::X]) || DIFFER (y1, cl->e[Geom::Y])) {
}
}
void
{
}
/*
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 :