#include <gxk/gxkglobals.hh>
#include <libgnomecanvas/libgnomecanvas.h>
Go to the source code of this file.
Functions |
GnomeCanvasPoints * | gnome_canvas_points_new0 (guint num_points) |
GnomeCanvasPoints * | gnome_canvas_points_newv (guint num_points,...) |
GnomeCanvasItem * | gnome_canvas_typed_item_at (GnomeCanvas *canvas, GtkType item_type, gdouble world_x, gdouble world_y) |
gboolean | gnome_canvas_item_check_undisposed (GnomeCanvasItem *item) |
guint | gnome_canvas_item_get_stacking (GnomeCanvasItem *item) |
void | gnome_canvas_item_keep_between (GnomeCanvasItem *between, GnomeCanvasItem *item1, GnomeCanvasItem *item2) |
void | gnome_canvas_item_keep_above (GnomeCanvasItem *above, GnomeCanvasItem *item1, GnomeCanvasItem *item2) |
void | gnome_canvas_text_set_zoom_size (GnomeCanvasText *item, gdouble pixels) |
void | gnome_canvas_set_zoom (GnomeCanvas *canvas, gdouble pixels_per_unit) |
void | gnome_canvas_FIXME_hard_update (GnomeCanvas *canvas) |
Detailed Description
Function Documentation
- Parameters:
-
canvas | valid GnomeCanvas |
pixels_per_unit | zoom factor (defaults to 1.0) |
This function calls gnome_canvas_set_pixels_per_unit() with its arguments and in addition adjusts the font sizes of all canvas text items where gnome_canvas_text_set_zoom_size() was used before.
- Parameters:
-
item | canvas text item |
pixels | default font size |
Set the default font size in pixels of a canvas text item. The size will be adjusted when the canvas zoomed via gnome_canvas_set_zoom().