nr-arena-group.cpp revision ccbda4ddb052e3a9ae76e544c3f9af6ebc220531
#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 "display/nr-arena-group.h"
#include "display/nr-filter.h"
#include "display/nr-filter-gaussian.h"
#include "display/nr-filter-types.h"
#include "style.h"
#include "sp-filter.h"
#include "sp-filter-reference.h"
#include "sp-gaussian-blur.h"
#include "sp-feblend.h"
#include "display/nr-filter-blend.h"
#include "libnr/nr-matrix-fns.h"
#include "libnr/nr-matrix-ops.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 (cairo_t *ct, 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
{
}
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;
}
{
//if group has a filter
}
} else {
//no filter set for this group
}
group->background_new = true;
}
}
static unsigned int
nr_arena_group_render (cairo_t *ct, NRArenaItem *item, NRRectL *area, NRPixBlock *pb, unsigned int flags)
{
/* 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;
}
}
/*
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 :