Pike v8.1 release 6

Class GTK2.Gnome2Canvas

Inheritance graph
Description

Gnome2.Canvas is an engine for structured graphics that offers a rich imaging model, high performance rendering, and a powerful, high level API. It offers a choice of two rendering back-ends, one based on Xlib for extremely fast display, and another based on Libart, a sophisticated, antialiased, alpha-compositing engine. This widget can be used for flexible display of graphics and for creating interactive user interface elements.

A Gnome2.Canvas widget contains one or more Gnome2.CanvasItem objects. Items consist of graphing elements like lines, ellipses, polygons, images, text, and curves. These items are organized using Gnome2.CanvasGroup objects, which are themselves derived from Gnome2.CanvasItem. Since a group is an item it can be contained within other groups, forming a tree of canvas items. Certain operations, like translating and scaling, can be performed on all items in a group. See http://developer.gnome.org/doc/API/2.0/libgnomecanvas/GnomeCanvas.html for more information. Properties: int aa

Signals: draw_background

render_background


Inherit Layout

inherit GTK2.Layout : Layout


Method create

GTK2.Gnome2Canvas GTK2.Gnome2Canvas(int|void anti_alias)

Description

Create a new Gnome2.Canvas widget. Set anti_alias to true to create a canvas in antialias mode.