Squeak Class Documentation category index | class index  
 
XBMReadWriter
  category: Graphics-Files
  superclass: ImageReadWriter
  subclasses:

No comment. Sorry.

instance methods
  accessing
  nextImage
understandsImageFormat

  private
  parseByteValue
readHeader

class methods
  class initialization
  initialize

instance methods
  accessing top  
 

nextImage

Read in the next xbm image from the stream.


 

understandsImageFormat

Test to see if the image stream format is understood by this decoder. This should be implemented in each subclass of ImageReadWriter so that a proper decoder can be selected without ImageReadWriter having to know about all possible image file types.


  private top  
 

parseByteValue

skip over separators and return next bytevalue parsed as a C language number:
0ddd is an octal digit.
0xddd is a hex digit.
ddd is decimal.


 

readHeader

Set width and height, and position stream at start of bytes


class methods
  class initialization top  
 

initialize

XBMReadWriter initialize