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:
- filename string
Returns:
-
SelDCSurface
surface.