1Gtk2::Curve(3)        User Contributed Perl Documentation       Gtk2::Curve(3)
2
3
4

NAME

6       Gtk2::Curve
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::DrawingArea
14                             +----Gtk2::Curve
15

INTERFACES

17         Glib::Object::_Unregistered::AtkImplementorIface
18

METHODS

20       widget = Gtk2::Curve->new
21
22       $curve->set_curve_type ($type)
23
24           * $type (Gtk2::CurveType)
25
26       $curve->set_gamma ($gamma)
27
28           * $gamma (double)
29
30       $curve->set_range ($min_x, $max_x, $min_y, $max_y)
31
32           * $min_x (double)
33           * $max_x (double)
34           * $min_y (double)
35           * $max_y (double)
36
37       $curve->reset
38
39       list = $curve->get_vector ($veclen=32)
40
41           * $veclen (integer)
42
43           Returns a list of real numbers, the curve's vector.
44
45       $curve->set_vector (...)
46
47           * ... (list) of float's, the points of the curve
48

PROPERTIES

50       'curve-type' (Gtk2::CurveType : readable / writable / private)
51           Is this curve linear, spline interpolated, or free-form
52
53       'max-x' (Glib::Float : readable / writable / private)
54           Maximum possible X value
55
56       'max-y' (Glib::Float : readable / writable / private)
57           Maximum possible value for Y
58
59       'min-x' (Glib::Float : readable / writable / private)
60           Minimum possible value for X
61
62       'min-y' (Glib::Float : readable / writable / private)
63           Minimum possible value for Y
64

SIGNALS

66       curve-type-changed (Gtk2::Curve)
67

ENUMS AND FLAGS

69       enum Gtk2::CurveType
70
71       * 'linear' / 'GTK_CURVE_TYPE_LINEAR'
72       * 'spline' / 'GTK_CURVE_TYPE_SPLINE'
73       * 'free' / 'GTK_CURVE_TYPE_FREE'
74

SEE ALSO

76       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
77       Gtk2::DrawingArea
78
80       Copyright (C) 2003-2007 by the gtk2-perl team.
81
82       This software is licensed under the LGPL.  See Gtk2 for a full notice.
83
84
85
86perl v5.8.8                       2007-03-18                    Gtk2::Curve(3)
Impressum