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

NAME

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

ENUMS AND FLAGS

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

SEE ALSO

223       Glib::Object
224
226       Copyright (C) 2023 Gtk2-Perl Team
227
228
229
230perl v5.36.0                      2023-01-20        Goo::Canvas::ItemSimple(3)
Impressum