Logo Search packages:      
Sourcecode: inkscape version File versions

sp-canvas.h File Reference


Detailed Description

SPCanvas, SPCanvasBuf, and SPCanvasItem.

Authors: Federico Mena <federico@nuclecu.unam.mx> Raph Levien <raph@gimp.org> Lauris Kaplinski <lauris@kaplinski.com>

Copyright (C) 1998 The Free Software Foundation Copyright (C) 2002 Lauris Kaplinski

Released under GNU GPL, read the file 'COPYING' for more information

Definition in file sp-canvas.h.

#include <glib/gtypes.h>
#include <gdk/gdkevents.h>
#include <gdk/gdkgc.h>
#include <gtk/gtkobject.h>
#include <gtk/gtkwidget.h>
#include <glibmm/ustring.h>
#include <2geom/matrix.h>
#include <libnr/nr-rect-l.h>
#include <2geom/rect.h>

Go to the source code of this file.

Classes

struct  _SPCanvasItemClass
struct  SPCanvas
struct  SPCanvasBuf
struct  SPCanvasItem

Defines

#define sp_canvas_item_set   gtk_object_set

Typedefs

typedef struct _SPCanvasItemClass SPCanvasItemClass

Enumerations

enum  { SP_CANVAS_UPDATE_REQUESTED = 1 << 0, SP_CANVAS_UPDATE_AFFINE = 1 << 1 }

Functions

void sp_canvas_end_forced_full_redraws (SPCanvas *canvas)
void sp_canvas_force_full_redraw_after_interruptions (SPCanvas *canvas, unsigned int count)
void sp_canvas_item_affine_absolute (SPCanvasItem *item, Geom::Matrix const &aff)
int sp_canvas_item_grab (SPCanvasItem *item, unsigned int event_mask, GdkCursor *cursor, guint32 etime)
void sp_canvas_item_grab_focus (SPCanvasItem *item)
void sp_canvas_item_hide (SPCanvasItem *item)
Geom::Matrix sp_canvas_item_i2w_affine (SPCanvasItem const *item)
void sp_canvas_item_lower (SPCanvasItem *item, int positions)
SPCanvasItemsp_canvas_item_new (SPCanvasGroup *parent, GtkType type, const gchar *first_arg_name,...)
gint sp_canvas_item_order (SPCanvasItem *item)
void sp_canvas_item_raise (SPCanvasItem *item, int positions)
void sp_canvas_item_request_update (SPCanvasItem *item)
void sp_canvas_item_show (SPCanvasItem *item)
void sp_canvas_item_ungrab (SPCanvasItem *item, guint32 etime)
GtkWidget * sp_canvas_new_aa ()
void sp_canvas_request_redraw (SPCanvas *canvas, int x1, int y1, int x2, int y2)
SPCanvasGroupsp_canvas_root (SPCanvas *canvas)
void sp_canvas_scroll_to (SPCanvas *canvas, double cx, double cy, unsigned int clear, bool is_scrolling=false)
void sp_canvas_update_now (SPCanvas *canvas)
Geom::Point sp_canvas_window_to_world (SPCanvas const *canvas, Geom::Point const win)
void sp_canvas_window_to_world (SPCanvas const *canvas, double winx, double winy, double *worldx, double *worldy)
bool sp_canvas_world_pt_inside_window (SPCanvas const *canvas, Geom::Point const &world)
Geom::Point sp_canvas_world_to_window (SPCanvas const *canvas, Geom::Point const world)
void sp_canvas_world_to_window (SPCanvas const *canvas, double worldx, double worldy, double *winx, double *winy)


Generated by  Doxygen 1.6.0   Back to index