---
name: "Goo::Canvas::ItemSimple"
section: "3pm"
platform: "linux"
package: "libgoo-canvas-perl"
version: "0.06-2+b3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Goo::Canvas::ItemSimple"
---

# Goo::Canvas::ItemSimple(3pm)

wrapper for GooCanvasItemSimple

## NAME

Goo::Canvas::ItemSimple - wrapper for GooCanvasItemSimple

## HIERARCHY

```
  Glib::Object
  +----Goo::Canvas::ItemSimple
```

## INTERFACES

```
  Goo::Canvas::Item
```

## METHODS

### $item-\>goo\_canvas\_item\_simple\_changed ($recompute\_bounds)

- •

  `$recompute_bounds` (boolean)

### boolean = $item-\>goo\_canvas\_item\_simple\_check\_in\_path ($x, $y, $cr, $pointer\_events)

- •

  `$x` (double)

- •

  `$y` (double)

- •

  `$cr` (cairo\_t)

- •

  `$pointer_events` (Goo::Canvas::PointerEvents)

### $item-\>goo\_canvas\_item\_simple\_check\_style

### GooCanvasBounds = $item-\>goo\_canvas\_item\_simple\_get\_path\_bounds ($cr)

- •

  `$cr` (cairo\_t)

### $item-\>goo\_canvas\_item\_simple\_paint\_path ($cr)

- •

  `$cr` (cairo\_t)

### $item-\>goo\_canvas\_item\_simple\_set\_model ($model)

- •

  `$model` (Goo::Canvas::ItemModel)

### GooCanvasBounds = $item-\>goo\_canvas\_item\_simple\_user\_bounds\_to\_device ($cr)

- •

  `$cr` (cairo\_t)

### GooCanvasBounds = $item-\>goo\_canvas\_item\_simple\_user\_bounds\_to\_parent ($cr)

- •

  `$cr` (cairo\_t)

## PROPERTIES

- '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 used to determine which parts of the item are clipped

- 'clip-path' (string : default undef : writable)

  The sequence of path commands specifying the clip path

- 'fill-color' (string : default undef : writable)

  The color to use to paint the interior of the item. To disable painting set the 'fill-pattern' property to NULL

- 'fill-color-rgba' (Glib::UInt : default 0 : readable / writable)

  The color to use to paint the interior of the item, specified as a 32-bit integer value. To disable painting set the 'fill-pattern' property to NULL

- 'fill-pattern' (Goo::Cairo::Pattern : default undef : readable / writable)

  The pattern to use to paint the interior of the item, or NULL to disable painting

- 'fill-pixbuf' (Gtk2::Gdk::Pixbuf : default undef : writable)

  The pixbuf to use to paint the interior of the item. To disable painting set the 'fill-pattern' property to NULL

- 'fill-rule' (Goo::Cairo::FillRule : default "winding" : readable / writable)

  The fill rule used to determine which parts of the item are filled

- 'font' (string : default undef : readable / writable)

  The base font to use for the text

- 'font-desc' (Pango::FontDescription : default undef : readable / writable)

  The attributes specifying which font to use

- 'hint-metrics' (GooCairoHintMetrics : default "off" : readable / writable)

  The hinting to be used for font metrics

- 'line-cap' (Goo::Cairo::LineCap : default "butt" : readable / writable)

  The line cap style to use

- 'line-dash' (Goo::Canvas::LineDash : default undef : 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 : default 10 : readable / writable)

  The smallest angle to use with miter joins, in degrees. Bevel joins will be used below this limit

- 'line-width' (double : default 2 : readable / writable)

  The line width to use for the item's perimeter

- 'operator' (Goo::Cairo::Operator : default "over" : readable / writable)

  The compositing operator to use

- 'stroke-color' (string : default undef : writable)

  The color to use for the item's perimeter. To disable painting set the 'stroke-pattern' property to NULL

- 'stroke-color-rgba' (Glib::UInt : default 0 : readable / writable)

  The color to use for the item's perimeter, specified as a 32-bit integer value. To disable painting set the 'stroke-pattern' property to NULL

- 'stroke-pattern' (Goo::Cairo::Pattern : default undef : readable / writable)

  The pattern to use to paint the perimeter of the item, or NULL disable painting

- 'stroke-pixbuf' (Gtk2::Gdk::Pixbuf : default undef : writable)

  The pixbuf to use to draw the item's perimeter. To disable painting set the 'stroke-pattern' property to NULL

## ENUMS AND FLAGS

### 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) 2014 Gtk2-Perl Team
