1Gnome2::Canvas::PathDefU(s3e)r Contributed Perl DocumentaGtnioomne2::Canvas::PathDef(3)
2
3
4

NAME

6       Gnome2::Canvas::PathDef
7

HIERARCHY

9         Glib::Boxed
10         +----Gnome2::Canvas::PathDef
11

METHODS

13       pathdef = Gnome2::Canvas::PathDef->new
14
15       pathdef = Gnome2::Canvas::PathDef->new_sized ($length)
16
17           * $length (integer)
18
19       boolean = $path->all_closed
20
21       boolean = $path->all_open
22
23       boolean = $path->any_closed
24
25       boolean = $path->any_open
26
27       pathdef = $path->close_all
28
29       pathdef = $path->closed_parts
30
31       $path->closepath
32
33       $path->closepath_current
34
35       pathdef = Gnome2::Canvas::PathDef->concat (...)
36
37           * ... (list) Gnome2::Canvas::PathDef objects to concatenate
38
39       $dst->copy ($src)
40
41           * $src (Gnome2::Canvas::PathDef)
42
43           Copy the path from $src into $dst.
44
45           Note: this method has very different semantics than the copy pro‐
46           vided by Glib::Boxed.   "duplicate" is the analog there.
47
48       $path->curveto ($x0, $y0, $x1, $y1, $x2, $y2)
49
50           * $x0 (double)
51           * $y0 (double)
52           * $x1 (double)
53           * $y1 (double)
54           * $x2 (double)
55           * $y2 (double)
56
57       pathdef = $path->duplicate
58
59       $path->ensure_space ($space)
60
61           * $space (integer)
62
63       $path->finish
64
65       boolean = $path->has_currentpoint
66
67       boolean = $path->is_empty
68
69       integer = $path->length
70
71       $path->lineto ($x, $y)
72
73           * $x (double)
74           * $y (double)
75
76       $path->lineto_moving ($x, $y)
77
78           * $x (double)
79           * $y (double)
80
81       $path->moveto ($x, $y)
82
83           * $x (double)
84           * $y (double)
85
86       pathdef = $path->open_parts
87
88       $path->reset
89
90       @pathdefs = $path->split
91

SEE ALSO

93       Gnome2::Canvas, Glib::Boxed
94
96       Copyright (C) 2003-2004 by the Gtk2-Perl Team.
97
98       This software is licensed under the LGPL; see Gnome2::Canvas for a full
99       notice.
100
101
102
103perl v5.8.8                       2006-10-04        Gnome2::Canvas::PathDef(3)
Impressum