sp-canvas-util.cpp revision 9019e2d48897689f2d18e66c09c6919b5ec888f5
#define __SP_CANVAS_UTILS_C__
/*
* Helper stuff for SPCanvas
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 1999-2002 authors
* Copyright (C) 2001-2002 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "libnr/nr-pixops.h"
#include "sp-canvas-util.h"
#include <string.h> /* for memset */
void
{
sp_canvas_request_redraw (item->canvas, (int)item->x1, (int)item->y1, (int)item->x2, (int)item->y2);
sp_canvas_request_redraw (item->canvas, (int)item->x1, (int)item->y1, (int)item->x2, (int)item->y2);
}
void
{
}
void
{
}
}
void
{
unsigned char r, g, b;
if ((r != g) || (r != b)) {
int x, y;
unsigned char *p;
*p++ = r;
*p++ = g;
*p++ = b;
}
}
} else {
int y;
}
}
}
{
* plausible that this gets called
* with item == 0. */
}
{
}
{
}
{
return;
if (z == current_z)
return;
if (z > current_z)
}
{
return 0;
}
/*
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 :