nr-arena.cpp revision daa4041065a08cb62c1f006204d2670840bd83cc
#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 {
}
}