CMyPicture Class Reference
class CMyPicture : public CPicture |
Inherited Functions |
---|
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CPicture::AddCropInPixels(MGraphicsDeviceMap *,const TMargins &) |
| CPicture::CPicture() |
| CPicture::Capability()const |
| CPicture::DetachFromStoreL(TDetach) |
| CPicture::GetCropInTwips(TMargins &)const |
| CPicture::GetSizeInPixels(MGraphicsDeviceMap *,TSize &)const |
| CPicture::GetSizeInTwips(TSize &)const |
| CPicture::LineBreakPossible(TUint,TBool,TBool)const |
| CPicture::NativePixelSize(TSize &) |
| CPicture::ResetToOriginal() |
| CPicture::ScaleFactorHeight()const |
| CPicture::ScaleFactorWidth()const |
| CPicture::SetCropInTwips(const TMargins &) |
| CPicture::SetScaleFactor(TInt,TInt) |
| CPicture::SetSizeInPixels(MGraphicsDeviceMap *,const TSize &) |
| CPicture::SetSizeInTwips(const TSize &) |
| CPicture::StoreL(CStreamStore &)const |
| CPicture::~CPicture() |
Constructor & Destructor Documentation
CMyPicture(TSize, CFbsBitmap &)
CMyPicture(TSize, CFbsBitmap &, CFbsBitmap &)
Member Functions Documentation
Draw(CGraphicsContext &, const TPoint &, const TRect &, MGraphicsDeviceMap *)
Parameters
CGraphicsContext & aGc | The graphics context. |
const TPoint & aTopLeft | The co-ordinates where the top left corner pixel of the picture should be placed. Note that whether this is actually drawn depends on the clipping area defined. |
const TRect & aClipRect | A clipping rectangle that defines the area to which the function should draw. An implementation should never draw outside this rectangle. Note that the graphics context may also have a clipping rectangle set on it. |
MGraphicsDeviceMap * aMap | The device map for the graphics device. The implementation should use this to find the scaling to apply to the picture. |
ExternalizeL(RWriteStream &)
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Externalises the picture to a stream.
The presence of this function means that the standard templated stream operator<<() is available to externalise objects of this class.
A derived class must supply an implementation of this function.
GetOriginalSizeInTwips(TSize &)
IMPORT_C void | GetOriginalSizeInTwips | ( | TSize & | aSize | ) | const [virtual] |
Gets the pictur's original size, in twips.
Parameters
TSize & aSize | The size of the picture, in twips |
SetOriginalSizeInTwips(TSize)
IMPORT_C void | SetOriginalSizeInTwips | ( | TSize | aSize | ) | |
Member Data Documentation
TSize
iSizeInTwips
TSize
| iSizeInTwips | [protected] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.