#include <bitmap.h>
Link against: fbscli.lib
class CBitwiseBitmap |
BitGdi bitmap class (pseudo-CXxx class). WARNING: Class for internal use ONLY. Compatibility is not guaranteed in future releases.
IMPORT_C TInt | CheckBackgroundCompressData | ( | ) |
Set a flag to indicate that this bitmap has to be compressed in the FBServer background thread
IMPORT_C TInt | CompressData | ( | ) |
Compress a bitmap if possible. If the bitmap is already compressed, or if compression yields no decrease in size, do nothing, but return success (KErrNone).
IMPORT_C TInt | CompressData | ( | TBitmapfileCompressionScheme | aScheme | ) |
Compress a bitmap if possible. If the bitmap is already compressed, or if compression yields no decrease in size, do nothing, but return success (KErrNone).
Parameters | |
---|---|
aScheme | The type of bitmap file compression. |
IMPORT_C TInt | DataStride | ( | ) | const |
IMPORT_C TDisplayMode | DisplayMode | ( | ) | const |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream, |
const CFbsBitmap & | aHandleBitmap | |||
) | const |
IMPORT_C void | ExternalizeRectangleL | ( | RWriteStream & | aStream, |
const TRect & | aRect, | |||
const CFbsBitmap & | aHandleBitmap | |||
) | const |
IMPORT_C void | GetPixel | ( | TRgb & | aColor, |
const TPoint & | aPos, | |||
TUint32 * | aBase, | |||
CFbsRasterizer * | aRasterizer | |||
) | const |
Parameters | |
---|---|
aColor | It will be initialized with the pixel color value on success, otherwise aColor value will be left unchanged. |
aPos | Pixel coordinates. |
aBase | It points to the beginning of the bitmap data. |
IMPORT_C void | GetScanLine | ( | TDes8 & | aBuf, |
const TPoint & | aPixel, | |||
TInt | aLength, | |||
TBool | aDither, | |||
const TPoint & | aDitherOffset, | |||
TDisplayMode | aDispMode, | |||
TUint32 * | aBase, | |||
TLineScanningPosition & | aLineScanningPosition | |||
) | const |
IMPORT_C void | GetScanLine | ( | TUint32 *& | aSlptr, |
TDes8 & | aBuf, | |||
const TPoint & | aPixel, | |||
TInt | aLength, | |||
TBool | aDither, | |||
const TPoint & | aDitherOffset, | |||
TDisplayMode | aDispMode | |||
) | const |
IMPORT_C void | GetScanLine | ( | TDes8 & | aBuf, |
const TPoint & | aPixel, | |||
TInt | aLength, | |||
TBool | aDither, | |||
const TPoint & | aDitherOffset, | |||
TDisplayMode | aDispMode, | |||
TUint32 * | aBase | |||
) | const |
IMPORT_C TInt | GetScanLinePtr | ( | TUint32 *& | aSlptr, |
TPoint & | aPixel, | |||
TInt | aLength, | |||
TUint32 * | aBase, | |||
TLineScanningPosition & | aLineScanningPosition | |||
) | const |
IMPORT_C TInt | GetScanLinePtr | ( | TUint32 *& | aSlptr, |
TInt & | aLength, | |||
TPoint & | aPixel, | |||
TUint32 * | aBase, | |||
TLineScanningPosition & | aLineScanningPosition | |||
) | const |
IMPORT_C void | GetVerticalScanLine | ( | TDes8 & | aBuf, |
TInt | aX, | |||
TBool | aDither, | |||
const TPoint & | aDitherOffset, | |||
TDisplayMode | aDispMode, | |||
TUint32 * | aBase, | |||
CFbsRasterizer * | aRasterizer | |||
) | const |
Gets the bitmaps vertical scanline starting at the specified x co-ordinate and using the specified dither offset. Note: The method works for uncompressed bitmaps only.
Parameters | |
---|---|
aBuf | The buffer in which the vertical scanline will be returned. |
aX | The x co-ordinate of the vertical scanline to get. |
aDitherOffset | The dither offset of the bitmap. |
aDispMode | Format to be used to write the data to the buffer. |
aBase | The bitmap's data start address. |
IMPORT_C TInt | HardwareBitmapHandle | ( | ) | const |
IMPORT_C SEpocBitmapHeader | Header | ( | ) | const |
The header is exposed by CFbsBitmap so this doesn't break encapsulation. Specifically added to allow CBitmapObject to see compression information.
IMPORT_C void | InternalizeHeaderL | ( | RReadStream & | aStream, |
SEpocBitmapHeader & | aHeader | |||
) | [static] |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
Internalizes the bit map contents from a stream.
Parameters | |
---|---|
aStream | The read stream containing the bit map. |
IMPORT_C TBool | IsCompressed | ( | ) | const |
Check for a bitmap if it is compressed in some manner.
IMPORT_C TBool | IsCompressedInRAM | ( | ) | const |
IMPORT_C TBool | IsLargeBitmap | ( | ) | const |
Tests whether or not the bitmap is monochrome. Monochrome bitmaps have a display-mode of 1 bit-per-pixel. Note: The method works for uncompressed bitmaps only.
Parameters | |
---|---|
aBase | Bitmap's data base address |
IMPORT_C void | SetCompressionBookmark | ( | TLineScanningPosition & | aLineScanningPosition, |
TUint32 * | aBase, | |||
const CFbsBitmap * | aFbsBitmap | |||
) |
IMPORT_C TSize | SizeInPixels | ( | ) | const |
IMPORT_C TSize | SizeInTwips | ( | ) | const |
IMPORT_C void | StretchScanLine | ( | TDes8 & | aBuf, |
const TPoint & | aPixel, | |||
TInt | aClipStrchX, | |||
TInt | aClipStrchLen, | |||
TInt | aStretchLength, | |||
TInt | aOrgX, | |||
TInt | aOrgLen, | |||
const TPoint & | aDitherOffset, | |||
TDisplayMode | aDispMode, | |||
TUint32 * | aBase | |||
) | const |