Horus Doc || Java GUI Reference || Doxygen's quick Index  

NoBufferTxManager Class Reference

NoBufferTxTransfer is an RgbTransferManager that transfers RGB data without using an RgbBuffer object. More...

Inheritance diagram for NoBufferTxManager::

RgbTransferManager List of all members.

Public Methods

void transferData (HxCorba.RgbSourceOperations src, int[] dest, int offset)
 Transfer pixels provided by src to dest, start filling the array at position offset. More...


Detailed Description

NoBufferTxTransfer is an RgbTransferManager that transfers RGB data without using an RgbBuffer object.

Instead, it just asks the RgbSource for an array of RGB values and copies that. It is used, for instance, to get pixels from a local Java image.


Member Function Documentation

void NoBufferTxManager::transferData HxCorba.RgbSourceOperations    src,
int    dest[],
int    offset
[inline, virtual]
 

Transfer pixels provided by src to dest, start filling the array at position offset.

Reimplemented from RgbTransferManager.

00022 {
00023     int[] pixels = src.getRgb();
00024     System.arraycopy(pixels, 0, dest, offset, pixels.length);
00025 }


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 15:11:23 2003 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001