View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Emmanuele Bassi > Clutter-0.820 > xs/ClutterUnits.xs

Download:
Clutter-0.820.tar.gz

Annotate this POD

CPAN RT

New  4
Open  2
View/Report Bugs
Source   Latest Release: Clutter-1.002

DESCRIPTION ^

Clutter uses device independent units, internally, to provide sub-pixel positioning and sizing. While the public API does not always expose this for convenience of the developer, when writing new Clutter::Actor classes you will be exposed to this kind of units.

The following package methods are useful for converting device dependent units, like pixels and percentages, into device independent units and vice versa.

syntax highlighting: