class CFbsBitmap : public CBase |
Note that this class is not intended for user derivation. A bitmap managed by the font and bitmap server. The class also defines some palette functionality which is not yet implemented, since none of the modes currently supported by screen or bitmaps require variable palettes. Note that the CFbsBitmap format is internal to Symbian, but the Image Converter API can be used to convert such bitmaps to standard formats. CFbsBitmap instances cannot be shared between different threads. They use some shared thread local storage data. If you want to share a bitmap between threads, use Duplicate(). CFbsBitmap::Duplicate()
Protected Member Functions | |
---|---|
CBitwiseBitmap * | Address() |
CBitwiseBitmap * | BeginDataAccessAndGetCleanAddress(TUint32 *&) |
IMPORT_C CBitwiseBitmap * | CleanAddress() |
TInt | DoCreate(const TSize &, TDisplayMode, TUid, TInt) |
void | DoSaveL(RFile &) |
IMPORT_C void | GetScanLine(TDes8 &, const TPoint &, TInt, const TPoint &, TDisplayMode) |
Private Member Functions | |
---|---|
TInt | DoLoad(RFile &, TInt32, TBool, TUint) |
TInt | DoLoad(const TDesC &, TInt32, TBool, TUint) |
TInt | DoLoadFromRom(TUint32 *, TInt32, TUint, TBool &) |
void | DoStoreL(CDirectFileStore *, CFbsBitmap *, TInt, const TDesC *, TInt32) |
TBool | LoadShiftedRomBmpL(const TDesC &, TInt32, TUint) |
Protected Member Enumerations | |
---|---|
enum | anonymous { EIsRomBitmap = 0x0001, EIsExtendedBitmap = 0x0002, EIsReadOnlyBitmapMask = EIsRomBitmap | EIsExtendedBitmap } |
Protected Attributes | |
---|---|
CBitwiseBitmap * | iAddressPointer |
RFbsSession * | iFbs |
TUint16 | iFlags |
TInt | iHandle |
TInt | iServerHandle |
TInt16 | iUseCount |
CBitwiseBitmap * | BeginDataAccessAndGetCleanAddress | ( | TUint32 *& | aDataAddress | ) | const [protected, inline] |
TUint32 *& aDataAddress |
IMPORT_C TInt | Compress | ( | TBitmapfileCompressionScheme | aScheme | ) |
TBitmapfileCompressionScheme aScheme |
IMPORT_C void | CompressInBackground | ( | TRequestStatus & | aRequestStatus | ) |
TRequestStatus & aRequestStatus |
IMPORT_C void | CompressInBackground | ( | TRequestStatus & | aRequestStatus, |
TBitmapfileCompressionScheme | aScheme | |||
) |
TRequestStatus & aRequestStatus | |
TBitmapfileCompressionScheme aScheme |
IMPORT_C TInt | CompressInBackground | ( | TBitmapfileCompressionScheme | aScheme | ) |
TBitmapfileCompressionScheme aScheme |
IMPORT_C TInt | Create | ( | const TSize & | aSizeInPixels, |
TDisplayMode | aDispMode | |||
) |
const TSize & aSizeInPixels | |
TDisplayMode aDispMode |
IMPORT_C TInt | CreateExtendedBitmap | ( | const TSize & | aSizeInPixels, |
TDisplayMode | aDispMode, | |||
TUid | aType, | |||
const TAny * | aData, | |||
TInt | aDataSize | |||
) |
const TSize & aSizeInPixels | |
TDisplayMode aDispMode | |
TUid aType | |
const TAny * aData | |
TInt aDataSize |
IMPORT_C TInt | CreateExtendedBitmap | ( | const TSize & | aSizeInPixels, |
TDisplayMode | aDispMode, | |||
TUid | aType, | |||
TInt | aDataSize, | |||
MFbsExtendedBitmapInitializer & | aInitializer | |||
) |
const TSize & aSizeInPixels | |
TDisplayMode aDispMode | |
TUid aType | |
TInt aDataSize | |
MFbsExtendedBitmapInitializer & aInitializer |
IMPORT_C TInt | CreateHardwareBitmap | ( | const TSize & | aSizeInPixels, |
TDisplayMode | aDispMode, | |||
TUid | aCreatorUid | |||
) |
const TSize & aSizeInPixels | |
TDisplayMode aDispMode | |
TUid aCreatorUid |
TInt | DoCreate | ( | const TSize & | aSizeInPixels, |
TDisplayMode | aDispMode, | |||
TUid | aUid, | |||
TInt | aDataSize = 0 | |||
) | [protected] |
const TSize & aSizeInPixels | |
TDisplayMode aDispMode | |
TUid aUid | |
TInt aDataSize = 0 |
TInt | DoLoad | ( | RFile & | aFile, |
TInt32 | aId, | |||
TBool | aShareIfLoaded, | |||
TUint | aFileOffset | |||
) | [private] |
TInt | DoLoad | ( | const TDesC & | aFileName, |
TInt32 | aId, | |||
TBool | aShareIfLoaded, | |||
TUint | aFileOffset | |||
) | [private] |
TInt | DoLoadFromRom | ( | TUint32 * | aRomPointer, |
TInt32 | aId, | |||
TUint | aFileOffset, | |||
TBool & | aRomPointerValid | |||
) | [private] |
void | DoStoreL | ( | CDirectFileStore * | aFileStore, |
CFbsBitmap * | aBitmap, | |||
TInt | aNumSources, | |||
const TDesC * | aSources, | |||
TInt32 | aSourceIds | |||
) | [private, static] |
CDirectFileStore * aFileStore | |
CFbsBitmap * aBitmap | |
TInt aNumSources | |
const TDesC * aSources | |
TInt32 aSourceIds |
IMPORT_C void | EndDataAccess | ( | TBool | aReadOnly = EFalse | ) | const |
TBool aReadOnly = EFalse |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
IMPORT_C void | ExternalizeRectangleL | ( | RWriteStream & | aStream, |
const TRect & | aRect | |||
) | const |
RWriteStream & aStream | |
const TRect & aRect |
IMPORT_C TInt | GetAllBitmapHandles | ( | RArray< TInt > & | aBitmapIdArray | ) | const |
IMPORT_C HBufC8 * | GetDecompressionBuffer | ( | TInt | aSize | ) | [static] |
TInt aSize |
IMPORT_C TInt | GetPalette | ( | CPalette *& | aPalette | ) | const |
CPalette *& aPalette |
IMPORT_C void | GetScanLine | ( | TDes8 & | aBuf, |
const TPoint & | aPixel, | |||
TInt | aLength, | |||
TDisplayMode | aDispMode | |||
) | const |
TDes8 & aBuf | |
const TPoint & aPixel | |
TInt aLength | |
TDisplayMode aDispMode |
IMPORT_C void | GetScanLine | ( | TDes8 & | aBuf, |
const TPoint & | aPixel, | |||
TInt | aLength, | |||
const TPoint & | aDitherOffset, | |||
TDisplayMode | aDispMode | |||
) | const [protected] |
TDes8 & aBuf | |
const TPoint & aPixel | |
TInt aLength | |
const TPoint & aDitherOffset | |
TDisplayMode aDispMode |
IMPORT_C void | GetVerticalScanLine | ( | TDes8 & | aBuf, |
TInt | aX, | |||
TDisplayMode | aDispMode | |||
) | const |
TDes8 & aBuf | |
TInt aX | |
TDisplayMode aDispMode |
IMPORT_C void | GetVerticalScanLine | ( | TDes8 & | aBuf, |
TInt | aX, | |||
const TPoint & | aDitherOffset, | |||
TDisplayMode | aDispMode | |||
) | const |
TDes8 & aBuf | |
TInt aX | |
const TPoint & aDitherOffset | |
TDisplayMode aDispMode |
IMPORT_C TInt | HorizontalPixelsToTwips | ( | TInt | aPixels | ) | const |
TInt aPixels |
IMPORT_C TInt | HorizontalTwipsToPixels | ( | TInt | aTwips | ) | const |
TInt aTwips |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
IMPORT_C TBool | IsFileInRom | ( | const TDesC & | aFilename, |
TUint32 *& | aWord | |||
) | [static] |
IMPORT_C TInt | Load | ( | const TDesC & | aFileName, |
TInt32 | aId = 0, | |||
TBool | aShareIfLoaded = ETrue | |||
) |
IMPORT_C TInt | Load | ( | const TDesC & | aFileName, |
TInt32 | aId, | |||
TBool | aShareIfLoaded, | |||
TUint | aFileOffset | |||
) |
IMPORT_C TInt | Load | ( | RFile & | aFile, |
TInt32 | aId = 0, | |||
TBool | aShareIfLoaded = ETrue | |||
) |
IMPORT_C TInt | Load | ( | RFile & | aFile, |
TInt32 | aId, | |||
TBool | aShareIfLoaded, | |||
TUint | aFileOffset | |||
) |
IMPORT_C TInt | LoadAndCompress | ( | const TDesC & | aFileName, |
TInt32 | aId = 0, | |||
TBool | aShareIfLoaded = ETrue | |||
) |
IMPORT_C TInt | LoadAndCompress | ( | const TDesC & | aFileName, |
TInt32 | aId, | |||
TBool | aShareIfLoaded, | |||
TUint | aFileOffset | |||
) |
IMPORT_C TInt | LoadAndCompress | ( | RFile & | aFile, |
TInt32 | aId = 0, | |||
TBool | aShareIfLoaded = ETrue | |||
) |
IMPORT_C TInt | LoadAndCompress | ( | RFile & | aFile, |
TInt32 | aId, | |||
TBool | aShareIfLoaded, | |||
TUint | aFileOffset | |||
) |
TBool | LoadShiftedRomBmpL | ( | const TDesC & | aFileName, |
TInt32 | aId, | |||
TUint | aFileOffset | |||
) | [private] |
IMPORT_C void | LockHeapLC | ( | TBool | aAlways = EFalse | ) | const |
TBool aAlways = EFalse |
IMPORT_C void | PaletteAttributes | ( | TBool & | aModifiable, |
TInt & | aNumEntries | |||
) | const |
IMPORT_C TInt | Resize | ( | const TSize & | aSizeInPixels | ) |
const TSize & aSizeInPixels |
IMPORT_C TInt | ScanLineLength | ( | TInt | aLength, |
TDisplayMode | aDispMode | |||
) | [static] |
TInt aLength | |
TDisplayMode aDispMode |
IMPORT_C TInt | SetDisplayMode | ( | TDisplayMode | aDisplayMode | ) |
TDisplayMode aDisplayMode |
IMPORT_C void | SetRomBitmapL | ( | CBitwiseBitmap * | aRomBitmapPointer, |
TInt & | aBitmapSizeInBytes | |||
) |
CBitwiseBitmap * aRomBitmapPointer | |
TInt & aBitmapSizeInBytes |
IMPORT_C void | SetSizeInTwips | ( | const MGraphicsDeviceMap * | aMap | ) |
const MGraphicsDeviceMap * aMap |
IMPORT_C void | SetSizeInTwips | ( | const TSize & | aSizeInTwips | ) |
const TSize & aSizeInTwips |
IMPORT_C void | StoreL | ( | const TDesC & | aFilename, |
TInt | aNumSources, | |||
const TDesC * | aSources, | |||
TInt32 | aSourceIds | |||
) | [static] |
IMPORT_C void | StoreL | ( | RFile & | aFile, |
TInt | aNumSources, | |||
const TDesC * | aSources, | |||
TInt32 | aSourceIds | |||
) | [static] |
IMPORT_C void | UnlockHeap | ( | TBool | aAlways = EFalse | ) | const |
TBool aAlways = EFalse |
IMPORT_C TInt | VerticalPixelsToTwips | ( | TInt | aPixels | ) | const |
TInt aPixels |
IMPORT_C TInt | VerticalTwipsToPixels | ( | TInt | aTwips | ) | const |
TInt aTwips |
WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.
EIsRomBitmap = 0x0001 | |
EIsExtendedBitmap = 0x0002 | |
EIsReadOnlyBitmapMask = EIsRomBitmap | EIsExtendedBitmap |
CBitwiseBitmap * | iAddressPointer | [protected] |
WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.
RFbsSession * | iFbs | [protected] |
WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.
TUint16 | iFlags | [protected] |
WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.
TInt | iHandle | [protected] |
WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.
TInt | iServerHandle | [protected] |
WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.
TInt16 | iUseCount | [protected] |
WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.