ConvertShapeFrame Struct Reference

#include <ConvertShape.h>

List of all members.

Public Member Functions

void Free ()
void Read (IDataSource *source, const ConvertShapeFormat *csf, uint32 frame_length)
void ReadCmpFrame (IDataSource *source, const ConvertShapeFormat *csf, const uint8 special[256], ConvertShapeFrame *prev)
void GetPixels (uint8 *buf, sint32 count, sint32 x, sint32 y)

Public Attributes

uint8 header_unknown [2]
uint8 unknown [8]
uint32 compression
sint32 width
sint32 height
sint32 xoff
sint32 yoff
uint32line_offsets
sint32 bytes_rle
uint8rle_data


Detailed Description

Definition at line 59 of file ConvertShape.h.


Member Function Documentation

void ConvertShapeFrame::Free (  )  [inline]

Definition at line 75 of file ConvertShape.h.

References line_offsets, and rle_data.

Referenced by ConvertShape::Check(), ConvertShape::CheckUnsafe(), and ShapeFrame::LoadU8CMPFormat().

void ConvertShapeFrame::GetPixels ( uint8 buf,
sint32  count,
sint32  x,
sint32  y 
)

Definition at line 315 of file ConvertShape.cpp.

References compression, dlen, height, line_offsets, linedata, rle_data, width, xoff, xpos, and yoff.

void ConvertShapeFrame::Read ( IDataSource source,
const ConvertShapeFormat csf,
uint32  frame_length 
)

Definition at line 136 of file ConvertShape.cpp.

References ConvertShapeFormat::bytes_frame_compression, ConvertShapeFormat::bytes_frame_height, ConvertShapeFormat::bytes_frame_unknown, ConvertShapeFormat::bytes_frame_width, ConvertShapeFormat::bytes_frame_xoff, ConvertShapeFormat::bytes_frame_yoff, ConvertShapeFormat::bytes_line_offset, bytes_rle, compression, height, ConvertShapeFormat::len_frameheader2, ConvertShapeFormat::line_offset_absolute, line_offsets, perr, pout, IDataSource::read(), IDataSource::readX(), IDataSource::readXS(), rle_data, shapenum, unknown, width, xoff, and yoff.

void ConvertShapeFrame::ReadCmpFrame ( IDataSource source,
const ConvertShapeFormat csf,
const uint8  special[256],
ConvertShapeFrame prev 
)

Definition at line 207 of file ConvertShape.cpp.

References ConvertShapeFormat::bytes_frame_compression, ConvertShapeFormat::bytes_frame_height, ConvertShapeFormat::bytes_frame_unknown, ConvertShapeFormat::bytes_frame_width, ConvertShapeFormat::bytes_frame_xoff, ConvertShapeFormat::bytes_frame_yoff, bytes_rle, OAutoBufferDataSource::clear(), compression, dlen, OAutoBufferDataSource::getBuf(), OAutoBufferDataSource::getPos(), height, line_offsets, perr, prev, IDataSource::read(), IDataSource::read1(), IDataSource::readX(), IDataSource::readXS(), rle_data, OAutoBufferDataSource::skip(), IDataSource::skip(), NS_TIMIDITY::skip(), unknown, width, OAutoBufferDataSource::write(), OAutoBufferDataSource::write1(), xoff, xpos, y, and yoff.

Referenced by ShapeFrame::LoadU8CMPFormat().


Member Data Documentation

sint32 ConvertShapeFrame::bytes_rle

Definition at line 72 of file ConvertShape.h.

Referenced by ShapeFrame::getConvertShapeFrame(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().

uint32 ConvertShapeFrame::compression

Definition at line 64 of file ConvertShape.h.

Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().

uint8 ConvertShapeFrame::header_unknown[2]

Definition at line 61 of file ConvertShape.h.

sint32 ConvertShapeFrame::height

Definition at line 66 of file ConvertShape.h.

Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().

uint32* ConvertShapeFrame::line_offsets

Definition at line 70 of file ConvertShape.h.

Referenced by Free(), ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().

uint8* ConvertShapeFrame::rle_data

Definition at line 73 of file ConvertShape.h.

Referenced by Free(), ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().

uint8 ConvertShapeFrame::unknown[8]

Definition at line 63 of file ConvertShape.h.

Referenced by Read(), and ReadCmpFrame().

sint32 ConvertShapeFrame::width

Definition at line 65 of file ConvertShape.h.

Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().

sint32 ConvertShapeFrame::xoff

Definition at line 67 of file ConvertShape.h.

Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().

sint32 ConvertShapeFrame::yoff

Definition at line 68 of file ConvertShape.h.

Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().


The documentation for this struct was generated from the following files:
Generated on Fri Jul 27 22:28:58 2007 for pentagram by  doxygen 1.4.7