nr-arena.cpp revision 208e5a33acc4a8ad9d8c0488f047c260346f1258
#define __NR_ARENA_C__
/*
* RGBA display list system for inkscape
*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 2001-2002 Lauris Kaplinski
* Copyright (C) 2001 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "nr-arena-item.h"
#include "nr-arena.h"
static NRActiveObjectClass *parent_class;
nr_arena_get_type (void)
{
if (!type) {
"NRArena",
sizeof (NRArenaClass),
sizeof (NRArena),
(void (*) (NRObjectClass *)) nr_arena_class_init,
(void (*) (NRObject *)) nr_arena_init);
}
return type;
}
static void
{
}
static void
{
}
static void
{
}
void
{
}
}
}
}
void
{
}
}
}
}
void
nr_arena_render_paintserver_fill (NRPixBlock *pb, NRRectL *area, SPPainter *painter, float opacity, NRPixBlock *mask)
{
nr_pixblock_setup_fast (&cb, NR_PIXBLOCK_MODE_R8G8B8A8N, area->x0, area->y0, area->x1, area->y1, TRUE);
nr_pixblock_setup_fast (&cb_opa, NR_PIXBLOCK_MODE_R8G8B8A8N, area->x0, area->y0, area->x1, area->y1, TRUE);
// if memory allocation failed, abort
if ((cb.size != NR_PIXBLOCK_SIZE_TINY && cb.data.px == NULL) || (cb_opa.size != NR_PIXBLOCK_SIZE_TINY && cb_opa.data.px == NULL)) {
return;
}
/* Need separate gradient buffer (lauris)*/
// do the filling
// do the fill-opacity and mask composite
if (opacity < 1.0) {
} else {
}
}
/*
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 :