Location:
bitdev.h
Link against: bitgdi.lib
CFbsScreenDevice
Supported from 5.0
A Font Bitmap Server (FBSERV) device that also provides sprite support.
|
Defined in CFbsScreenDevice:
CancelSprite(), ChangeScreenDevice(), DrawSpriteBegin(), DrawSpriteEnd(), GetPalette(), GetPixel(), GetScanLine(), HideSprite(), HorizontalPixelsToTwips(), HorizontalTwipsToPixels(), NewL(), PaletteAttributes(), SetAutoUpdate(), SetPalette(), ShowSprite(), SizeInTwips(), Update(), VerticalPixelsToTwips(), VerticalTwipsToPixels(), ~CFbsScreenDevice()
Inherited from CBase:
operator new()
Inherited from CBitmapDevice:
CreateBitmapContext()
Inherited from CFbsDevice:
AddFile(),
CreateContext(),
DisplayMode(),
FontHeightInPixels(),
FontHeightInTwips(),
GetFontById(),
GetNearestFontInPixels(),
GetNearestFontInTwips(),
NumTypefaces(),
RectCompare(),
ReleaseFont(),
RemoveFile(),
SetCustomPalette(),
SizeInPixels(),
TypefaceSupport()
Inherited from MGraphicsDeviceMap:
PixelsToTwips(),
TwipsToPixels()
static CFbsScreenDevice* NewL(const TDesC& aLibname,TDisplayMode aDispMode,TRgb aWhite=TRgb(255,255,255));
Creates a new CFbsScreenDevice object.
|
|
virtual ~CFbsScreenDevice();
Frees all resources owned by the object prior to its destruction.
void SetAutoUpdate(TBool aValue);
Sets or unsets auto-update for the screen.
|
void Update(const TRegion& aRegion);
Forces the specified region to update.
|
TSpriteBase* HideSprite() const;
Hides the sprite over the whole screen.
|
TSpriteBase* HideSprite(const TRect& aRect,const TRegion* aClippingRegion) const;
Hides the sprite within a particular region.
|
|
void ShowSprite(TSpriteBase* aSprite) const;
Shows the specified sprite over the whole screen.
|
void ShowSprite(TSpriteBase* aSprite,const TRect& aRect,const TRegion* aClippingRegion) const;
Shows the specified sprite within a particular region.
|
void ChangeScreenDevice(CFbsScreenDevice* aOldDevice);
Changes the screen device.
|
void GetPixel(TRgb& aColor,const TPoint& aPixel) const;
Gets the RGB colour of an individual pixel on a bitmapped graphics device.
This implements the pure virtual function
CBitmapDevice::GetPixel().
void GetScanLine(TDes8& aBuf,const TPoint& aStartPixel,TInt aLength,TDisplayMode aDispMode) const;
Copies a scanline into a buffer.
This implements the pure virtual function
CBitmapDevice::GetScanLine().
TSize SizeInTwips() const;
Gets the size of the device area, in twips.
This implements the pure virtual function
CGraphicsDevice::SizeInTwips().
void PaletteAttributes(TBool& aModifiable,TInt& aNumEntries) const;
Gets the palette attributes of the device.
|
void SetPalette(CPalette* aPalette);
Sets the device’s palette to the specified palette.
|
TInt GetPalette(CPalette*& aPalette) const;
Gets the device’s current palette.
|
|
TInt HorizontalPixelsToTwips(TInt aPixels) const;
Converts a horizontal dimension from pixels to twips.
This implements the pure virtual function
MGraphicsDeviceMap::HorizontalPixelsToTwips().
TInt HorizontalTwipsToPixels(TInt aTwips) const;
Converts a horizontal dimension from twips to pixels.
This implements the pure virtual function
MGraphicsDeviceMap::HorizontalTwipsToPixels().
TInt VerticalPixelsToTwips(TInt aPixels) const;
Converts a vertical dimension from pixels to twips.
This implements the pure virtual function
MGraphicsDeviceMap::VerticalPixelsToTwips().
TInt VerticalTwipsToPixels(TInt aTwips) const;
Converts a vertical dimension from twips to pixels.
This implements the pure virtual function
MGraphicsDeviceMap::VerticalTwipsToPixels().