nr-arena-group.cpp revision 776877aa300b25ef93a53a1c2a451ddb1ca78250
#define __NR_ARENA_GROUP_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-group.h"
static void nr_arena_group_set_child_position (NRArenaItem *item, NRArenaItem *child, NRArenaItem *ref);
static unsigned int nr_arena_group_update (NRArenaItem *item, NRRectL *area, NRGC *gc, unsigned int state, unsigned int reset);
static unsigned int nr_arena_group_render (NRArenaItem *item, NRRectL *area, NRPixBlock *pb, unsigned int flags);
static NRArenaItem *nr_arena_group_pick (NRArenaItem *item, NR::Point p, double delta, unsigned int sticky);
static NRArenaItemClass *parent_class;
nr_arena_group_get_type (void)
{
if (!type) {
"NRArenaGroup",
sizeof (NRArenaGroupClass),
sizeof (NRArenaGroup),
(void (*) (NRObjectClass *)) nr_arena_group_class_init,
(void (*) (NRObject *)) nr_arena_group_init);
}
return type;
}
static void
{
}
static void
{
#ifdef arena_item_tile_cache
group->skipCaching=true;
#endif
}
static NRArenaItem *
{
}
static NRArenaItem *
{
}
static void
{
if (!ref) {
} else {
}
}
static void
{
} else {
}
}
static void
{
} else {
}
if (!ref) {
} else {
}
}
static unsigned int
nr_arena_group_update (NRArenaItem *item, NRRectL *area, NRGC *gc, unsigned int state, unsigned int reset)
{
unsigned int newstate;
unsigned int beststate = NR_ARENA_ITEM_STATE_ALL;
}
if (beststate & NR_ARENA_ITEM_STATE_BBOX) {
}
}
return beststate;
}
static unsigned int
{
/* Just compose children into parent buffer */
if (ret & NR_ARENA_ITEM_STATE_INVALID) break;
}
return ret;
}
static unsigned int
{
/* Just compose children into parent buffer */
if (ret & NR_ARENA_ITEM_STATE_INVALID) break;
}
return ret;
}
static NRArenaItem *
{
if (picked)
}
return NULL;
}
void
{
}
{
}
{
if (!t) t = &NR_MATRIX_IDENTITY;
group->child_transform = *t;
}
}