Class
Lxpixmap
Home
In: locana/l_bitmap.rb
Parent: Lbitmap

Currently only Lpixmaps are supported. This is an xpixmap (*.xpm file). This class is based on the Lbitmap class.

Methods

load, new, to_s,
Public Class methods
new(name, str=nil, width=nil, height=nil) src

Creates an empty bitmap. If str is provided it will be loaded.

Public Instance methods
to_s() src

Returns super + the color_count.

load(str) src

Loads str as a xpixmap object, determines the width and height of the xpixmap and confirms that str contains an xpixmap. Raises an ArgumentError if str does not contain an xpixmap.


Seva Software


Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.

http://www.arunadb.org http://www.locana.org http://www.ruby-lang.org http://www.coolwell.org http://www.sevasoftware.com