canvas-arena.cpp revision c919ade54667c1d7b77d581d58762881e7250ff5
309N/A#include "display/sp-canvas-util.h"
309N/A#include "helper/sp-marshal.h"
309N/A#include "display/canvas-arena.h"
309N/A#include "display/cairo-utils.h"
309N/A#include "display/drawing-context.h"
309N/A#include "display/drawing-item.h"
309N/A#include "display/drawing-group.h"
309N/A#include "display/drawing-surface.h"
309N/A#include "preferences.h"
309N/Astatic void sp_canvas_arena_update (SPCanvasItem *item, Geom::Affine const &affine, unsigned int flags);
309N/Astatic double sp_canvas_arena_point (SPCanvasItem *item, Geom::Point p, SPCanvasItem **actual_item);
911N/Astatic void sp_canvas_arena_viewbox_changed (SPCanvasItem *item, Geom::IntRect const &new_area);
for (unsigned i=0; i<v.size(); ++i) {
notify(v[i]);
sp_canvas_arena_get_type (void)
if (!type) {
sizeof (SPCanvasArenaClass),
sizeof (SPCanvasArena),
return type;
arena));
arena));
arena));
if (!r || r->hasZeroArea()) return;
arena->drawing.update(Geom::IntRect::infinite(), arena->ctx, DrawingItem::STATE_PICK | DrawingItem::STATE_BBOX);
if (picked) {
static gint
case GDK_ENTER_NOTIFY:
case GDK_LEAVE_NOTIFY:
case GDK_MOTION_NOTIFY:
case GDK_SCROLL: {
return FALSE;
return ret;
static gint
return ret;
sp_canvas_arena_render_surface (SPCanvasArena *ca, cairo_surface_t *surface, Geom::IntRect const &r)