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         Gtk2::Buildable
19

METHODS

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

PROPERTIES

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

SIGNALS

63       curve-type-changed (Gtk2::Curve)
64

ENUMS AND FLAGS

66   enum Gtk2::CurveType
67       ·   'linear' / 'GTK_CURVE_TYPE_LINEAR'
68
69       ·   'spline' / 'GTK_CURVE_TYPE_SPLINE'
70
71       ·   'free' / 'GTK_CURVE_TYPE_FREE'
72

SEE ALSO

74       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
75       Gtk2::DrawingArea
76
78       Copyright (C) 2003-2008 by the gtk2-perl team.
79
80       This software is licensed under the LGPL.  See Gtk2 for a full notice.
81
82
83
84perl v5.12.0                      2010-05-02                    Gtk2::Curve(3)
Impressum