filters

KisTIFFReaderBase Class Reference

Inheritance diagram for KisTIFFReaderBase:

KisTIFFReaderFromPalette KisTIFFReaderTarget16bit KisTIFFReaderTarget8bit KisTIFFYCbCrReaderTarget16Bit KisTIFFYCbCrReaderTarget8Bit List of all members.

Detailed Description

Definition at line 121 of file kis_tiff_reader.h.


Public Member Functions

 KisTIFFReaderBase (KisPaintDeviceSP device, Q_UINT8 *poses, int8 alphapos, uint8 sourceDepth, uint8 nbcolorssamples, uint8 extrasamplescount, cmsHTRANSFORM transformProfile, KisTIFFPostProcessor *postprocessor)
virtual uint copyDataToChannels (Q_UINT32 x, Q_UINT32 y, Q_UINT32 dataWidth, TIFFStreamBase *tiffstream)=0
virtual void finalize ()

Protected Member Functions

KisPaintDeviceSP paintDevice ()
Q_UINT8 alphaPos ()
Q_UINT8 sourceDepth ()
Q_UINT8 nbColorsSamples ()
Q_UINT8 nbExtraSamples ()
Q_UINT8 * poses ()
cmsHTRANSFORM transform ()
KisTIFFPostProcessorpostProcessor ()

Member Function Documentation

virtual uint KisTIFFReaderBase::copyDataToChannels ( Q_UINT32  x,
Q_UINT32  y,
Q_UINT32  dataWidth,
TIFFStreamBase tiffstream 
) [pure virtual]

This function copy data from the tiff stream to the paint device starting at the given position.

Parameters:
x horizontal start position
y vertical start position
dataWidth width of the data to copy
tiffstream source of data
Returns:
the number of line which were copied

Implemented in KisTIFFReaderTarget8bit, KisTIFFReaderTarget16bit, KisTIFFReaderFromPalette, KisTIFFYCbCrReaderTarget8Bit, and KisTIFFYCbCrReaderTarget16Bit.

virtual void KisTIFFReaderBase::finalize (  )  [inline, virtual]

This function is called when all data has been read and should be used for any postprocessing.

Reimplemented in KisTIFFYCbCrReaderTarget8Bit, and KisTIFFYCbCrReaderTarget16Bit.

Definition at line 141 of file kis_tiff_reader.h.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys