1Goo::Canvas::ItemSimpleU(s3e)r Contributed Perl DocumentaGtoioo:n:Canvas::ItemSimple(3)
2
3
4

NAME

6       Goo::Canvas::ItemSimple
7

HIERARCHY

9         Glib::Object
10         +----Goo::Canvas::ItemSimple
11

INTERFACES

13         Goo::Canvas::Item
14

METHODS

16   $item->goo_canvas_item_simple_changed ($recompute_bounds)
17           ·   $recompute_bounds (boolean)
18
19   boolean = $item->goo_canvas_item_simple_check_in_path ($x, $y, $cr,
20       $pointer_events)
21           ·   $x (double)
22
23           ·   $y (double)
24
25           ·   $cr (cairo_t)
26
27           ·   $pointer_events (Goo::Canvas::PointerEvents)
28
29   $item->goo_canvas_item_simple_check_style
30   GooCanvasBounds = $item->goo_canvas_item_simple_get_path_bounds ($cr)
31           ·   $cr (cairo_t)
32
33   $item->goo_canvas_item_simple_paint_path ($cr)
34           ·   $cr (cairo_t)
35
36   $item->goo_canvas_item_simple_set_model ($model)
37           ·   $model (Goo::Canvas::ItemModel)
38
39   GooCanvasBounds = $item->goo_canvas_item_simple_user_bounds_to_device ($cr)
40           ·   $cr (cairo_t)
41
42   GooCanvasBounds = $item->goo_canvas_item_simple_user_bounds_to_parent ($cr)
43           ·   $cr (cairo_t)
44

PROPERTIES

46       'antialias' (Goo::Cairo::Antialias : readable / writable)
47           The antialiasing mode to use
48
49       'clip-fill-rule' (Goo::Cairo::FillRule : readable / writable)
50           The fill rule used to determine which parts of the item are clipped
51
52       'clip-path' (string : writable)
53           The sequence of path commands specifying the clip path
54
55       'fill-color' (string : writable)
56           The color to use to paint the interior of the item. To disable
57           painting set the 'fill-pattern' property to NULL
58
59       'fill-color-rgba' (Glib::UInt : readable / writable)
60           The color to use to paint the interior of the item, specified as a
61           32-bit integer value. To disable painting set the 'fill-pattern'
62           property to NULL
63
64       'fill-pattern' (Goo::Cairo::Pattern : readable / writable)
65           The pattern to use to paint the interior of the item, or NULL to
66           disable painting
67
68       'fill-pixbuf' (Gtk2::Gdk::Pixbuf : writable)
69           The pixbuf to use to paint the interior of the item. To disable
70           painting set the 'fill-pattern' property to NULL
71
72       'fill-rule' (Goo::Cairo::FillRule : readable / writable)
73           The fill rule used to determine which parts of the item are filled
74
75       'font' (string : readable / writable)
76           The base font to use for the text
77
78       'font-desc' (Gtk2::Pango::FontDescription : readable / writable)
79           The attributes specifying which font to use
80
81       'hint-metrics' (GooCairoHintMetrics : readable / writable)
82           The hinting to be used for font metrics
83
84       'line-cap' (Goo::Cairo::LineCap : readable / writable)
85           The line cap style to use
86
87       'line-dash' (Goo::Canvas::LineDash : readable / writable)
88           The dash pattern to use
89
90       'line-join' (Goo::Cairo::LineJoin : readable / writable)
91           The line join style to use
92
93       'line-join-miter-limit' (double : readable / writable)
94           The smallest angle to use with miter joins, in degrees. Bevel joins
95           will be used below this limit
96
97       'line-width' (double : readable / writable)
98           The line width to use for the item's perimeter
99
100       'operator' (Goo::Cairo::Operator : readable / writable)
101           The compositing operator to use
102
103       'stroke-color' (string : writable)
104           The color to use for the item's perimeter. To disable painting set
105           the 'stroke-pattern' property to NULL
106
107       'stroke-color-rgba' (Glib::UInt : readable / writable)
108           The color to use for the item's perimeter, specified as a 32-bit
109           integer value. To disable painting set the 'stroke-pattern'
110           property to NULL
111
112       'stroke-pattern' (Goo::Cairo::Pattern : readable / writable)
113           The pattern to use to paint the perimeter of the item, or NULL
114           disable painting
115
116       'stroke-pixbuf' (Gtk2::Gdk::Pixbuf : writable)
117           The pixbuf to use to draw the item's perimeter. To disable painting
118           set the 'stroke-pattern' property to NULL
119

ENUMS AND FLAGS

121   enum Goo::Cairo::Antialias
122       ·   'default' / 'CAIRO_ANTIALIAS_DEFAULT'
123
124       ·   'none' / 'CAIRO_ANTIALIAS_NONE'
125
126       ·   'gray' / 'CAIRO_ANTIALIAS_GRAY'
127
128       ·   'subpixel' / 'CAIRO_ANTIALIAS_SUBPIXEL'
129
130   enum Goo::Cairo::FillRule
131       ·   'winding' / 'CAIRO_FILL_RULE_WINDING'
132
133       ·   'even-odd' / 'CAIRO_FILL_RULE_EVEN_ODD'
134
135   enum Goo::Cairo::LineCap
136       ·   'butt' / 'CAIRO_LINE_CAP_BUTT'
137
138       ·   'round' / 'CAIRO_LINE_CAP_ROUND'
139
140       ·   'square' / 'CAIRO_LINE_CAP_SQUARE'
141
142   enum Goo::Cairo::LineJoin
143       ·   'miter' / 'CAIRO_LINE_JOIN_MITER'
144
145       ·   'round' / 'CAIRO_LINE_JOIN_ROUND'
146
147       ·   'bevel' / 'CAIRO_LINE_JOIN_BEVEL'
148
149   enum Goo::Cairo::Operator
150       ·   'clear' / 'CAIRO_OPERATOR_CLEAR'
151
152       ·   'source' / 'CAIRO_OPERATOR_SOURCE'
153
154       ·   'over' / 'CAIRO_OPERATOR_OVER'
155
156       ·   'in' / 'CAIRO_OPERATOR_IN'
157
158       ·   'out' / 'CAIRO_OPERATOR_OUT'
159
160       ·   'atop' / 'CAIRO_OPERATOR_ATOP'
161
162       ·   'dest' / 'CAIRO_OPERATOR_DEST'
163
164       ·   'dest-over' / 'CAIRO_OPERATOR_DEST_OVER'
165
166       ·   'dest-in' / 'CAIRO_OPERATOR_DEST_IN'
167
168       ·   'dest-out' / 'CAIRO_OPERATOR_DEST_OUT'
169
170       ·   'dest-atop' / 'CAIRO_OPERATOR_DEST_ATOP'
171
172       ·   'xor' / 'CAIRO_OPERATOR_XOR'
173
174       ·   'add' / 'CAIRO_OPERATOR_ADD'
175
176       ·   'saturate' / 'CAIRO_OPERATOR_SATURATE'
177
178   flags Goo::Canvas::PointerEvents
179       ·   'visible-mask' / 'GOO_CANVAS_EVENTS_VISIBLE_MASK'
180
181       ·   'painted-mask' / 'GOO_CANVAS_EVENTS_PAINTED_MASK'
182
183       ·   'fill-mask' / 'GOO_CANVAS_EVENTS_FILL_MASK'
184
185       ·   'stroke-mask' / 'GOO_CANVAS_EVENTS_STROKE_MASK'
186
187       ·   'none' / 'GOO_CANVAS_EVENTS_NONE'
188
189       ·   'visible-painted' / 'GOO_CANVAS_EVENTS_VISIBLE_PAINTED'
190
191       ·   'visible-fill' / 'GOO_CANVAS_EVENTS_VISIBLE_FILL'
192
193       ·   'visible-stroke' / 'GOO_CANVAS_EVENTS_VISIBLE_STROKE'
194
195       ·   'visible' / 'GOO_CANVAS_EVENTS_VISIBLE'
196
197       ·   'painted' / 'GOO_CANVAS_EVENTS_PAINTED'
198
199       ·   'fill' / 'GOO_CANVAS_EVENTS_FILL'
200
201       ·   'stroke' / 'GOO_CANVAS_EVENTS_STROKE'
202
203       ·   'all' / 'GOO_CANVAS_EVENTS_ALL'
204
205   enum GooCairoHintMetrics
206       ·   'default' / 'CAIRO_HINT_METRICS_DEFAULT'
207
208       ·   'off' / 'CAIRO_HINT_METRICS_OFF'
209
210       ·   'on' / 'CAIRO_HINT_METRICS_ON'
211

SEE ALSO

213       Glib::Object
214
216       Copyright (C) 2010 Gtk2-Perl Team
217
218
219
220perl v5.12.0                      2010-05-12        Goo::Canvas::ItemSimple(3)
Impressum