Goo::Ca...emSimple(3)
π Goo::Canvas::ItemSimple β the manual, but make it cute π
okay bestie, welcome to the User Contributed Perl Documentation page for Goo::Canvas::ItemSimple β¨ this is the whole thing, every flag, every enum, every lil' default, nothing skipped, periodt.
πΈ NAME πΈ
Goo::Canvas::ItemSimple β it's a wrapper for GooCanvasItemSimple. that's it, that's the vibe. it wraps the thing so you don't have to touch the thing directly π«Ά
π¦ HIERARCHY π¦
the family tree, and it's giving nepo baby:
Glib::Object
+----Goo::Canvas::ItemSimple
π INTERFACES π
it also does this interface, so it's got range:
Goo::Canvas::Item
β¨ METHODS β¨
here's every method, no gatekeeping π
$item->goo_canvas_item_simple_changed ($recompute_bounds)β tells the item "hey, something changed, pls update". takes:$recompute_boundsβ a boolean. yes or no, true or false, iconic or not.
boolean = $item->goo_canvas_item_simple_check_in_path ($x, $y, $cr, $pointer_events)β checks whether a point is inside the path. returns a boolean. args:$xβ a double$yβ a double$crβ acairo_t$pointer_eventsβ aGoo::Canvas::PointerEvents
$item->goo_canvas_item_simple_check_styleβ checks the style. no args, no notes, just vibes.GooCanvasBounds = $item->goo_canvas_item_simple_get_path_bounds ($cr)β hands you the path bounds back as aGooCanvasBounds. args:$crβ acairo_t
$item->goo_canvas_item_simple_paint_path ($cr)β paints the path. args:$crβ acairo_t
$item->goo_canvas_item_simple_set_model ($model)β sets the model. args:$modelβ aGoo::Canvas::ItemModel
GooCanvasBounds = $item->goo_canvas_item_simple_user_bounds_to_device ($cr)β converts user bounds β device bounds, returnsGooCanvasBounds. args:$crβ acairo_t
GooCanvasBounds = $item->goo_canvas_item_simple_user_bounds_to_parent ($cr)β converts user bounds β parent bounds, returnsGooCanvasBounds. args:$crβ acairo_t
π PROPERTIES π
the full lineup, all 21 of them, no skips. format is 'name' (type : default : readable / writable) and then what it actually does π
'antialias'(Goo::Cairo::Antialias: default"gray": readable / writable) β the antialiasing mode to use.'clip-fill-rule'(Goo::Cairo::FillRule: default"winding": readable / writable) β the fill rule that decides which parts of the item get clipped.'clip-path'(string: defaultundef: writable) β the sequence of path commands that specify the clip path.'fill-color'(string: defaultundef: writable) β the color used to paint the inside of the item. wanna turn painting OFF? set the'fill-pattern'property toNULL.'fill-color-rgba'(Glib::UInt: default0: readable / writable) β same deal, the color for the item's interior, but given as a 32-bit integer value. and again: to disable painting, set'fill-pattern'toNULL.'fill-pattern'(Goo::Cairo::Pattern: defaultundef: readable / writable) β the pattern used to paint the interior, orNULLto disable painting entirely.'fill-pixbuf'(Gtk2::Gdk::Pixbuf: defaultundef: writable) β the pixbuf used to paint the interior. yep, you guessed it: set'fill-pattern'toNULLto disable painting.'fill-rule'(Goo::Cairo::FillRule: default"winding": readable / writable) β the fill rule that decides which parts of the item get filled.'font'(string: defaultundef: readable / writable) β the base font used for the text.'font-desc'(Pango::FontDescription: defaultundef: readable / writable) β the attributes specifying which font to use.'hint-metrics'(GooCairoHintMetrics: default"off": readable / writable) β the hinting used for font metrics.'line-cap'(Goo::Cairo::LineCap: default"butt": readable / writable) β the line cap style to use.'line-dash'(Goo::Canvas::LineDash: defaultundef: readable / writable) β the dash pattern to use.'line-join'(Goo::Cairo::LineJoin: default"miter": readable / writable) β the line join style to use.'line-join-miter-limit'(double: default10: readable / writable) β the smallest angle to use with miter joins, in degrees. below this limit it switches to bevel joins.'line-width'(double: default2: readable / writable) β the line width for the item's perimeter.'operator'(Goo::Cairo::Operator: default"over": readable / writable) β the compositing operator to use.'stroke-color'(string: defaultundef: writable) β the color for the item's perimeter. to disable painting, set the'stroke-pattern'property toNULL.'stroke-color-rgba'(Glib::UInt: default0: readable / writable) β the perimeter color, but as a 32-bit integer value. disable painting by setting'stroke-pattern'toNULL.'stroke-pattern'(Goo::Cairo::Pattern: defaultundef: readable / writable) β the pattern used to paint the item's perimeter, orNULLto disable painting.'stroke-pixbuf'(Gtk2::Gdk::Pixbuf: defaultundef: writable) β the pixbuf used to draw the item's perimeter. disable painting by setting'stroke-pattern'toNULL.
π ENUMS AND FLAGS π
the full menu of allowed values, both the pretty perl name and the screaming C name π
enum Goo::Cairo::Antialias
'default'/CAIRO_ANTIALIAS_DEFAULT'none'/CAIRO_ANTIALIAS_NONE'gray'/CAIRO_ANTIALIAS_GRAY'subpixel'/CAIRO_ANTIALIAS_SUBPIXEL
enum Goo::Cairo::FillRule
'winding'/CAIRO_FILL_RULE_WINDING'even-odd'/CAIRO_FILL_RULE_EVEN_ODD
enum Goo::Cairo::LineCap
'butt'/CAIRO_LINE_CAP_BUTT'round'/CAIRO_LINE_CAP_ROUND'square'/CAIRO_LINE_CAP_SQUARE
enum Goo::Cairo::LineJoin
'miter'/CAIRO_LINE_JOIN_MITER'round'/CAIRO_LINE_JOIN_ROUND'bevel'/CAIRO_LINE_JOIN_BEVEL
enum Goo::Cairo::Operator
'clear'/CAIRO_OPERATOR_CLEAR'source'/CAIRO_OPERATOR_SOURCE'over'/CAIRO_OPERATOR_OVER'in'/CAIRO_OPERATOR_IN'out'/CAIRO_OPERATOR_OUT'atop'/CAIRO_OPERATOR_ATOP'dest'/CAIRO_OPERATOR_DEST'dest-over'/CAIRO_OPERATOR_DEST_OVER'dest-in'/CAIRO_OPERATOR_DEST_IN'dest-out'/CAIRO_OPERATOR_DEST_OUT'dest-atop'/CAIRO_OPERATOR_DEST_ATOP'xor'/CAIRO_OPERATOR_XOR'add'/CAIRO_OPERATOR_ADD'saturate'/CAIRO_OPERATOR_SATURATE
flags Goo::Canvas::PointerEvents
'visible-mask'/GOO_CANVAS_EVENTS_VISIBLE_MASK'painted-mask'/GOO_CANVAS_EVENTS_PAINTED_MASK'fill-mask'/GOO_CANVAS_EVENTS_FILL_MASK'stroke-mask'/GOO_CANVAS_EVENTS_STROKE_MASK'none'/GOO_CANVAS_EVENTS_NONE'visible-painted'/GOO_CANVAS_EVENTS_VISIBLE_PAINTED'visible-fill'/GOO_CANVAS_EVENTS_VISIBLE_FILL'visible-stroke'/GOO_CANVAS_EVENTS_VISIBLE_STROKE'visible'/GOO_CANVAS_EVENTS_VISIBLE'painted'/GOO_CANVAS_EVENTS_PAINTED'fill'/GOO_CANVAS_EVENTS_FILL'stroke'/GOO_CANVAS_EVENTS_STROKE'all'/GOO_CANVAS_EVENTS_ALL
enum GooCairoHintMetrics
'default'/CAIRO_HINT_METRICS_DEFAULT'off'/CAIRO_HINT_METRICS_OFF'on'/CAIRO_HINT_METRICS_ON
π SEE ALSO π
Glib::Object
π COPYRIGHT π
Copyright (C) 2025 Gtk2-Perl Team
okay that's the whole page bestie, you ate it, no crumbs πβ¨ and real quick, the sign-off deets: this was perl v5.42.0, dated 2025-07-25, from the Goo::Ca...emSimple(3) page in the User Contributed Perl Documentation. go forth and canvas, my main character π¦π
π¦ where this page comes from
- fedora 43: perl-Goo-Canvas 0.06-60.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms