.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" 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 .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . 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 3pm" .TH Gtk2::Curve 3pm "2019-09-16" "perl v5.28.1" "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" .ie n .IP "'curve\-type' (Gtk2::CurveType : default ""spline"" : readable / writable / private)" 4 .el .IP "'curve\-type' (Gtk2::CurveType : default ``spline'' : readable / writable / private)" 4 .IX Item "'curve-type' (Gtk2::CurveType : default spline : readable / writable / private)" Is this curve linear, spline interpolated, or free-form .IP "'max\-x' (float : default 1 : readable / writable / private)" 4 .IX Item "'max-x' (float : default 1 : readable / writable / private)" Maximum possible X value .IP "'max\-y' (float : default 1 : readable / writable / private)" 4 .IX Item "'max-y' (float : default 1 : readable / writable / private)" Maximum possible value for Y .IP "'min\-x' (float : default 0 : readable / writable / private)" 4 .IX Item "'min-x' (float : default 0 : readable / writable / private)" Minimum possible value for X .IP "'min\-y' (float : default 0 : readable / writable / private)" 4 .IX Item "'min-y' (float : default 0 : readable / writable / private)" 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' / '\s-1GTK_CURVE_TYPE_LINEAR\s0' .IP "\(bu" 4 \&'spline' / '\s-1GTK_CURVE_TYPE_SPLINE\s0' .IP "\(bu" 4 \&'free' / '\s-1GTK_CURVE_TYPE_FREE\s0' .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 \s-1LGPL.\s0 See Gtk2 for a full notice.