Class: Fox::FXXBMImage

Inherits:
FXImage show all
Defined in:
rdoc-sources/FXXBMImage.rb

Overview

X Bitmap (XBM) image

Instance Attribute Summary

Attributes inherited from FXImage

#data, #dataPtr, #options, #pixels

Attributes inherited from FXDrawable

#height, #visual, #width

Attributes inherited from FXId

#app, #userData, #xid

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from FXImage

#blend, #crop, #fade, #fill, #getPixel, #gradient, #hasAlpha?, #hgradient, #initialize_without_data_string, #loadPixels, #mirror, #pixel_string, #release, #render, #restore, #rotate, #savePixels, #scale, #setPixel, #setPixels, #setPixels_without_data_string, #vgradient, #xshear, #yshear

Methods inherited from FXDrawable

#resize

Methods inherited from FXId

#create, #created?, #destroy, #detach, #runOnUiThread

Methods inherited from FXObject

#bind, #handle, #load, #save, subclasses

Constructor Details

#initialize(a, pixels = nil, mask = nil, opts = 0, width = 1, height = 1) ⇒ FXXBMImage

Return an initialized FXXBMImage instance.

Parameters:

a

an application instance Fox::FXApp

pixels

a memory buffer formatted in XBM file format [String]

mask

a memory buffer formatted in XBM file format [String]

opts

options [Integer]

width

width [Integer]

height

height [Integer]



28
29
# File 'rdoc-sources/FXXBMImage.rb', line 28

def initialize(a, pixels=nil, mask=nil, opts=0, width=1, height=1) # :yields: theXBMImage
end

Class Method Details

.fileExtObject

Return the suggested file extension for this image type (“xbm”).



9
# File 'rdoc-sources/FXXBMImage.rb', line 9

def FXXBMImage.fileExt; end

.mimeTypeObject

Return the MIME type for this image type



14
# File 'rdoc-sources/FXXBMImage.rb', line 14

def FXXBMImage.mimeType; end