---
name: "Clutter::Texture::Cairo"
section: "3pm"
platform: "linux"
package: "libclutter-perl"
version: "0.8.0.1-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Clutter::Texture::Cairo"
---

# Clutter::Texture::Cairo(3pm)

## NAME

Clutter::Texture::Cairo

## HIERARCHY

```
  Glib::Object
  +----Glib::InitiallyUnowned
       +----Clutter::Actor
            +----Clutter::Texture
                 +----Clutter::Texture::Cairo
```

## INTERFACES

```
  Glib::Object::_Unregistered::ClutterScriptable
```

## METHODS

**actor = Clutter::Texture::Cairo-\>new ($width, $height)**

- •

  `$width` (integer)

- •

  `$height` (integer)

**scalar = $texture**-\>**create\_context**

**scalar = $texture**-\>**create\_region\_context** ($x\_offset, `$y_offset`, `$width`, `$height)`

- •

  `$x_offset` (integer)

- •

  `$y_offset` (integer)

- •

  `$width` (integer)

- •

  `$height` (integer)

**$cr**-\>**set\_source\_color ($color)**

- •

  `$color` (Clutter::Color)

**$texture**-\>**surface\_resize** ($width, `$height)`

- •

  `$width` (integer)

- •

  `$height` (integer)

## PROPERTIES

- 'surface-height' (integer : readable / writable / construct-only / private)

  Surface Height

- 'surface-width' (integer : readable / writable / construct-only / private)

  Surface Width

## SEE ALSO

Clutter, Glib::Object, Glib::InitiallyUnowned, Clutter::Actor, Clutter::Texture

## COPYRIGHT

Copyright (C) 2006  OpenedHand Ltd.

This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Library version 2.1, or under the terms of the Artistic License.  See Clutter for the full copyright notice.
