Location:
bitdev.h
Link against: bitgdi.lib
CFbsBitmapDevice
Supported from 5.0
A Font Bitmap server managed bitmap as a graphics device
|
Defined in CFbsBitmapDevice:
DrawingBegin(), DrawingEnd(), GetPalette(), GetPixel(), GetScanLine(), HorizontalPixelsToTwips(), HorizontalTwipsToPixels(), NewL(), PaletteAttributes(), Resize(), SetPalette(), SizeInTwips(), VerticalPixelsToTwips(), VerticalTwipsToPixels(), ~CFbsBitmapDevice()
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 CFbsBitmapDevice* NewL(CFbsBitmap* aFbsBitmap);
Constructs the object from the specified Font and Bitmap server managed bitmap.
|
|
virtual ~CFbsBitmapDevice();
Frees all resources owned by the object prior to its destruction.
TInt Resize(const TSize& aSize);
Resizes the bitmap device to the new specified size.
|
|
virtual TSize SizeInTwips() const;
Gets the size of the bitmap device, in twips.
|
virtual void DrawingBegin(TBool aAlways);
Starts drawing.
|
virtual void DrawingEnd(TBool aAlways);
Ends drawing
|
virtual void GetPixel(TRgb& aColor,const TPoint& aPixel) const;
Gets the RGB colour of an individual pixel on a bitmapped graphics device.
The function provides a concrete implementation of the pure
virtual function CBitmapDevice::GetPixel().
virtual void GetScanLine(TDes8& aBuf,const TPoint& aStartPixel,TInt aLength,TDisplayMode iDispMode) const;
Copies a scanline into a buffer.
The function provides a concrete implementation of the pure
virtual function CBitmapDevice::GetScanLine().
virtual TInt HorizontalPixelsToTwips(TInt aPixels) const=0;
Converts a horizontal dimension of a device in pixels to a horizontal dimension in twips.
The function provides a concrete implementation of the pure
virtual function
MGraphicsDeviceMap::HorizontalPixelsToTwips().
virtual TInt HorizontalTwipsToPixels(TInt aTwips) const;
Converts a horizontal dimension of a device in twips to a horizontal dimension in pixels.
The function provides a concrete implementation of the pure
virtual function
MGraphicsDeviceMap::HorizontalTwipsToPixels().
virtual TInt VerticalTwipsToPixels(TInt aTwips) const;
Converts a vertical dimension of a device in twips to a vertical dimension in pixels.
The function provides a concrete implementation of the pure
virtual function
MGraphicsDeviceMap::VerticalTwipsToPixels().
virtual TInt VerticalPixelsToTwips(TInt aPixels) const;
Converts a vertical dimension of a device in pixels to a vertical dimension in twips.
The function provides a concrete implementation of the pure
virtual function MGraphicsDeviceMap::VerticalPixelsToTwips().
virtual TInt GetPalette(CPalette*& aPalette) const;
Gets the device's current palette.
The function provides a concrete implementation of the pure
virtual function CGraphicsDevice::GetPalette().
virtual void PaletteAttributes(TBool& aModifiable,TInt& aNumEntries) const;
Gets the palette attributes of the device.
The function provides a concrete implementation of the pure
virtual function CGraphicsDevice::PaletteAttributes().
virtual void SetPalette(CPalette* aPalette);
Sets the device's palette to the specified palette.
The function provides a concrete implementation of the pure
virtual function CGraphicsDevice::SetPalette().