class CFbsScreenDevice : public CFbsDevice |
A graphics device interface that provides direct access to the screen, without the mediation of the window server.
Private Member Functions | |
---|---|
CFbsScreenDevice(TInt) | |
void | ConstructL(TInt, TDisplayMode) |
Private Attributes | |
---|---|
TInt | iScreenNo |
TInt | iSpare1_CFbsScreenDevice |
TInt | iSpare2_CFbsScreenDevice |
IMPORT_C void | CancelSprite | ( | ) | const [virtual] |
This method has been deprecated. Sprites are no longer supported in BitGDI. Calling this method has no effect.
IMPORT_C void | ChangeScreenDevice | ( | CFbsScreenDevice * | aOldDevice | ) |
CFbsScreenDevice * aOldDevice |
void | ConstructL | ( | TInt | aScreenNo, |
TDisplayMode | aDispMode | |||
) | [private] |
TInt aScreenNo | |
TDisplayMode aDispMode |
IMPORT_C TDeviceOrientation | DeviceOrientation | ( | ) | const |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.
IMPORT_C TUint | DeviceOrientationsAvailable | ( | ) | const |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.
IMPORT_C TInt | GetPalette | ( | CPalette *& | aPalette | ) | const [virtual] |
Gets the device's current palette.
This function is only supported if the device has a modifiable palette, which can be determined by calling PaletteAttributes().
KErrNone, if successful; otherwise, another of the system-wide error codes.
CPalette *& aPalette | On return, holds the device's current palette. |
IMPORT_C void | GetPixel | ( | TRgb & | aColor, |
const TPoint & | aPixel | |||
) | const [virtual] |
Gets the RGB colour of an individual pixel on a bitmapped graphics device.
This pure virtual function is implemented in derived classes.
IMPORT_C void | GetScanLine | ( | TDes8 & | aBuf, |
const TPoint & | aStartPixel, | |||
TInt | aLength, | |||
TDisplayMode | aDispMode | |||
) | const [virtual] |
Copies a scanline into a buffer.
The pixels are converted from the display mode format on the bitmapped graphics device to the format of the specified device display mode.
By specifying the start pixel and the number of pixels, either the whole or a portion of a bitmapped graphics device pixel row may be copied.
This pure virtual function is implemented in derived classes.
TDes8 & aBuf | An 8 bit modifiable descriptor buffer into which pixels are copied; it must be sufficiently large to store all the scanline pixels. |
const TPoint & aStartPixel | The (x,y) co-ordinates of the first pixel of the bitmap scanline to be put into the buffer. |
TInt aLength | The number of pixels to put into the buffer. |
TDisplayMode aDispMode | The display mode into which to convert the pixels. |
IMPORT_C void | GetSurface | ( | TSurfaceId & | aSurface | ) | const |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.
TSurfaceId & aSurface |
IMPORT_C TSpriteBase * | HideSprite | ( | ) | const [virtual] |
This method has been deprecated. Sprites are no longer supported in BitGDI. Calling this method has no effect. TSpriteBase* NULL.
IMPORT_C TSpriteBase * | HideSprite | ( | const TRect & | , |
const TRegion * | ||||
) | const [virtual] |
This method has been deprecated. Sprites are no longer supported in BitGDI. Calling this method has no effect. TSpriteBase* NULL.
IMPORT_C TInt | HorizontalPixelsToTwips | ( | TInt | aPixels | ) | const |
TInt aPixels |
IMPORT_C TInt | HorizontalTwipsToPixels | ( | TInt | aTwips | ) | const |
TInt aTwips |
IMPORT_C CFbsScreenDevice * | NewL | ( | const TDesC & | aLibname, |
TDisplayMode | aDispMode | |||
) | [static] |
const TDesC & aLibname | |
TDisplayMode aDispMode |
IMPORT_C CFbsScreenDevice * | NewL | ( | const TDesC & | aLibname, |
TDisplayMode | aDispMode, | |||
TRgb | aWhite | |||
) | [static] |
const TDesC & aLibname | |
TDisplayMode aDispMode | |
TRgb aWhite |
IMPORT_C CFbsScreenDevice * | NewL | ( | TInt | aScreenNo, |
TDisplayMode | aDispMode | |||
) | [static] |
TInt aScreenNo | |
TDisplayMode aDispMode |
IMPORT_C void | PaletteAttributes | ( | TBool & | aModifiable, |
TInt & | aNumEntries | |||
) | const [virtual] |
Gets the palette attributes of the device.
IMPORT_C TBool | SetDeviceOrientation | ( | TDeviceOrientation | aOrientation | ) | const |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.
TDeviceOrientation aOrientation |
IMPORT_C void | SetPalette | ( | CPalette * | aPalette | ) | [virtual] |
Sets the device's palette.
Setting the palette is only possible if the device has a modifiable palette, which can be determined by calling PaletteAttributes().
CPalette * aPalette | The new palette for the device. |
IMPORT_C void | ShowSprite | ( | TSpriteBase * | ) | const [virtual] |
This method has been deprecated. Sprites are no longer supported in BitGDI. Calling this method has no effect.
TSpriteBase * |
IMPORT_C void | ShowSprite | ( | TSpriteBase * | , |
const TRect & | , | |||
const TRegion * | ||||
) | const [virtual] |
This method has been deprecated. Sprites are no longer supported in BitGDI. Calling this method has no effect.
TSpriteBase * | |
const TRect & | |
const TRegion * |
IMPORT_C TSize | SizeInTwips | ( | ) | const [virtual] |
Gets the size of the device area in twips.
The width and height of the device area, in twips
IMPORT_C void | Update | ( | const TRegion & | aRegion | ) |
const TRegion & aRegion |
IMPORT_C TInt | VerticalPixelsToTwips | ( | TInt | aPixels | ) | const |
TInt aPixels |
IMPORT_C TInt | VerticalTwipsToPixels | ( | TInt | aTwips | ) | const |
TInt aTwips |