Module gears.surface

Info:

  • Copyright: 2012 Uli Schlachter
  • Release: v3.5.9
  • Author: Uli Schlachter

Functions

load_uncached (_surface) Try to convert the argument into an lgi cairo surface.
get_size (surf) Get the size of a cairo surface


Functions

load_uncached (_surface)
Try to convert the argument into an lgi cairo surface. This is usually needed for loading images by file name.

Parameters:

  • _surface
get_size (surf)
Get the size of a cairo surface

Parameters:

  • surf The surface you are interested in

Returns:

    The surface's width and height
generated by LDoc 1.4.3 Last updated 2016-04-28 15:07:03