Class SelDCSurfaceImages

Methods

SelDCSurfaceImages:createFromPNG (filename) Create an image surface from a PNG file.


Methods

SelDCSurfaceImages:createFromPNG (filename)
Create an image surface from a PNG file.

Due to inheritances problem with Lua's metatables, those surface are exposed as SelDCSurface. Dedicated methods have to rely on field 'type' to check if there are applicable or not.

Parameters:

Returns:

    SelDCSurface surface.
generated by LDoc 1.4.6 Last updated 2022-09-05 22:24:51