canvas-text.h revision f8307d2d97a6e202153ae676f974f79e1b0ec5cd
4116N/A#ifndef SEEN_SP_CANVASTEXT_H
4116N/A#define SEEN_SP_CANVASTEXT_H
4116N/A#include "sp-canvas-item.h"
5588N/A#define SP_CANVASTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_CANVASTEXT, SPCanvasText))
4116N/A SPItem *item; // the item to which this line belongs in some sense; may be NULL for some users
5680N/A bool background;
4116N/A SPDesktop *desktop; // the desktop to which this text is attached; needed for coordinate transforms (TODO: these should be eliminated)
4116N/ASPCanvasItem *sp_canvastext_new(SPCanvasGroup *parent, SPDesktop *desktop, Geom::Point pos, gchar const *text);