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


Annotate this POD


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


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: