#define GUPPI_TEXT_BLOCK0 (obj)
#define GUPPI_IS_TEXT_BLOCK0 (obj)
#define g_return_unless_is_guppi_text_block(x)
#define g_return_val_unless_is_guppi_text_block(x,y)
GuppiTextBlock* guppi_text_block_new (void);
void guppi_text_block_add (GuppiTextBlock*,
GuppiTextToken*);
void guppi_text_block_clear (GuppiTextBlock*);
gchar* guppi_text_block_text (GuppiTextBlock *text);
void guppi_text_block_set_text (GuppiTextBlock*,
const gchar*);
GnomeFont* guppi_text_block_font (GuppiTextBlock *text);
void guppi_text_block_set_font (GuppiTextBlock *text,
GnomeFont *font);
double guppi_text_block_angle (GuppiTextBlock *text);
void guppi_text_block_set_angle (GuppiTextBlock *text,
double angle);
void guppi_text_block_bbox (GuppiTextBlock *text,
ArtDRect *bbox);
double guppi_text_block_width (GuppiTextBlock *text);
double guppi_text_block_height (GuppiTextBlock *text);
double guppi_text_block_max_width (GuppiTextBlock *text);
void guppi_text_block_set_max_width (GuppiTextBlock *text,
double);
void (*text_word_fn) (const gchar *str,
GnomeFont *font,
double offset_x,
double offset_y,
gpointer user_data);
void (*text_char_fn) (gint glyph,
const GnomeFontFace *face,
double affine[6],
gpointer user_data);
void guppi_text_block_foreach_word (GuppiTextBlock *text,
text_word_fn fn,
gpointer user_data);
void guppi_text_block_foreach_char (GuppiTextBlock *text,
text_char_fn fn,
gpointer user_data);
void guppi_text_block_print (GuppiTextBlock *text,
GuppiElementPrint *ep,
double x0,
double y0,
GtkAnchorType anchor);
gboolean guppi_text_block_line_dimensions
(GuppiTextBlock *text,
gint line_no,
double *length,
double *height_ascend,
double *height_descend);
void guppi_text_block_changed (GuppiTextBlock*);
void guppi_text_block_changed_delayed
(GuppiTextBlock*);
void guppi_text_block_flush_changes (GuppiTextBlock*);
void guppi_text_block_freeze (GuppiTextBlock*);
void guppi_text_block_thaw (GuppiTextBlock*);
|