.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Curve 3" .TH Gtk2::Curve 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::Curve \- wrapper for GtkCurve .SH HIERARCHY .IX Header "HIERARCHY" .Vb 6 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::DrawingArea \& +\-\-\-\-Gtk2::Curve .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH METHODS .IX Header "METHODS" .SS "widget = Gtk2::Curve\->\fBnew\fP" .IX Subsection "widget = Gtk2::Curve->new" .ie n .SS "$curve\->\fBset_curve_type\fP ($type)" .el .SS "\f(CW$curve\fP\->\fBset_curve_type\fP ($type)" .IX Subsection "$curve->set_curve_type ($type)" .IP \(bu 4 \&\f(CW$type\fR (Gtk2::CurveType) .ie n .SS "$curve\->\fBset_gamma\fP ($gamma)" .el .SS "\f(CW$curve\fP\->\fBset_gamma\fP ($gamma)" .IX Subsection "$curve->set_gamma ($gamma)" .IP \(bu 4 \&\f(CW$gamma\fR (double) .ie n .SS "$curve\->\fBset_range\fP ($min_x, $max_x, $min_y, $max_y)" .el .SS "\f(CW$curve\fP\->\fBset_range\fP ($min_x, \f(CW$max_x\fP, \f(CW$min_y\fP, \f(CW$max_y\fP)" .IX Subsection "$curve->set_range ($min_x, $max_x, $min_y, $max_y)" .IP \(bu 4 \&\f(CW$min_x\fR (double) .IP \(bu 4 \&\f(CW$max_x\fR (double) .IP \(bu 4 \&\f(CW$min_y\fR (double) .IP \(bu 4 \&\f(CW$max_y\fR (double) .ie n .SS $curve\->\fBreset\fP .el .SS \f(CW$curve\fP\->\fBreset\fP .IX Subsection "$curve->reset" .ie n .SS "list = $curve\->\fBget_vector\fP ($veclen=32)" .el .SS "list = \f(CW$curve\fP\->\fBget_vector\fP ($veclen=32)" .IX Subsection "list = $curve->get_vector ($veclen=32)" .IP \(bu 4 \&\f(CW$veclen\fR (integer) .PP Returns a list of real numbers, the curve's vector. .ie n .SS "$curve\->\fBset_vector\fP (...)" .el .SS "\f(CW$curve\fP\->\fBset_vector\fP (...)" .IX Subsection "$curve->set_vector (...)" .IP \(bu 4 \&... (list) of float's, the points of the curve .SH PROPERTIES .IX Header "PROPERTIES" .IP "'curve\-type' (Gtk2::CurveType : default ""spline"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'curve-type' (Gtk2::CurveType : default ""spline"" : readable / writable / private / static-nick / static-blurb)" Is this curve linear, spline interpolated, or free-form .IP "'max\-x' (float : default 1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'max-x' (float : default 1 : readable / writable / private / static-nick / static-blurb)" Maximum possible X value .IP "'max\-y' (float : default 1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'max-y' (float : default 1 : readable / writable / private / static-nick / static-blurb)" Maximum possible value for Y .IP "'min\-x' (float : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'min-x' (float : default 0 : readable / writable / private / static-nick / static-blurb)" Minimum possible value for X .IP "'min\-y' (float : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'min-y' (float : default 0 : readable / writable / private / static-nick / static-blurb)" Minimum possible value for Y .SH SIGNALS .IX Header "SIGNALS" .IP "\fBcurve-type-changed\fR (Gtk2::Curve)" 4 .IX Item "curve-type-changed (Gtk2::Curve)" .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::CurveType" .IX Subsection "enum Gtk2::CurveType" .PD 0 .IP \(bu 4 .PD \&'linear' / 'GTK_CURVE_TYPE_LINEAR' .IP \(bu 4 \&'spline' / 'GTK_CURVE_TYPE_SPLINE' .IP \(bu 4 \&'free' / 'GTK_CURVE_TYPE_FREE' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::DrawingArea .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.