guideline.cpp revision 627d5932965a686f0c1aa9083cab4429f3ba7abb
#define __SP_GUIDELINE_C__
/*
* Infinite horizontal/vertical line
*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 2000-2002 Lauris Kaplinski
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <libnr/nr-pixops.h>
#include "display-forward.h"
#include "sp-canvas-util.h"
#include "guideline.h"
static void sp_guideline_class_init(SPGuideLineClass *c);
static SPCanvasItemClass *parent_class;
{
static GType guideline_type = 0;
if (!guideline_type) {
static GTypeInfo const guideline_info = {
sizeof (SPGuideLineClass),
sizeof (SPGuideLine),
16,
NULL,
};
guideline_type = g_type_register_static(SP_TYPE_CANVAS_ITEM, "SPGuideLine", &guideline_info, (GTypeFlags) 0);
}
return guideline_type;
}
static void sp_guideline_class_init(SPGuideLineClass *c)
{
}
{
}
{
}
{
unsigned char *d;
return;
}
} else {
return;
}
step = 3;
}
d[0] = NR_COMPOSEN11_1111(r, a, d[0]);
d += step;
}
}
{
}
} else {
}
}
{
return NR_HUGE;
}
*actual_item = item;
} else {
}
}
{
return item;
}
{
}
{
}
{
}
/*
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:encoding=utf-8:textwidth=99 :