nr-arena-item.cpp revision 1f67c2bae7e121b1ed8cc11a201d6fabdbdd467f
5488N/A#define __NR_ARENA_ITEM_C__
5488N/A#define noNR_ARENA_ITEM_VERBOSE
5488N/A#include "display/cairo-utils.h"
5488N/A#include "nr-arena.h"
5488N/A#include "nr-arena-item.h"
5488N/A#include "nr-filter.h"
5488N/A#include "nr-arena-group.h"
5488N/A#include "preferences.h"
5488N/A sizeof (NRArenaItemClass),
5488N/A sizeof (NRArenaItem),
5488N/A (void (*)(NRObjectClass *))
return NULL;
if (ref)
return ref;
return item;
return NULL;
#ifdef NR_ARENA_ITEM_DEBUG_CASCADE
#ifdef NR_ARENA_ITEM_VERBOSE
if (outline) {
item->arena->outlinecolor = prefs->getInt("/options/wireframecolors/clips", 0x00ff00ff); // green clips
item->arena->outlinecolor = prefs->getInt("/options/wireframecolors/masks", 0x0000ffff); // blue masks
TRUE);
unsigned int state = NR_ARENA_ITEM_VIRTUAL (item->mask, render) (ct, item->mask, &carea, &tpb, flags);
(NR_PREMUL_123 (d[0], m));
d[0] = NR_PREMUL_111 (d[0], a);
unsigned int state = NR_ARENA_ITEM_VIRTUAL (item, render) (ct, item, const_cast<NRRectL*>(area), dpb, flags);
using namespace Inkscape;
unsigned int state;
state = NR_ARENA_ITEM_VIRTUAL (item->mask, render) (ct, item->mask, const_cast<NRRectL*>(area), pb, flags);
if (mask) {
if (mask) {
#ifdef NR_ARENA_ITEM_VERBOSE
unsigned int sticky)
// Sometimes there's no BBOX in item->state, reason unknown (bug 992817); I made this not an assert to remove the warning
return NULL;
return NULL;
const double x = p[Geom::X];
const double y = p[Geom::Y];
return NULL;
unsigned int propagate)
return NULL;
if (clip)
if (mask)
int pos = 0;
return NULL;
return NULL;
return NULL;
if (depth > 0)
return pb;
if (prev)
if (next)
return child;
if (prev)
if (next)
return next;