CSvgImageElementImpl Class Reference
class CSvgImageElementImpl : public CSvgElementImpl
|
Class description goes here.
Nested Classes and Structures
Public Member Functions
|
|
CSvgImageElementImpl
(
CSvgDocumentImpl
*)
|
|
~CSvgImageElementImpl
()
|
void
|
AddImageElementListener
(
MSvgImageElementListener
*)
|
void
|
AssignImageData
(
HBufC8
*)
|
void
|
BitmapDecoded
(
CFbsBitmap
*,
CFbsBitmap
*)
|
TInt
|
CheckRequiredAttributes
()
|
MXmlElement
*
|
CloneL
(
MXmlElement
*)
|
TBool
|
DrawL
(
CGfx2dGc
*,
CSvgElementImpl
*)
|
TInt
|
GetAttributeDes
(const
TInt
,
TPtrC16
&)
|
TInt
|
GetAttributeFloat
(const
TInt
,
TFloatFixPt
&)
|
void
|
GetBBox
(
TGfxRectangle2D
&)
|
CFbsBitmap
*
|
GetBitmap
()
|
void
|
GetUnscaledBBox
(
TGfxRectangle2D
&)
|
TFloatFixPt
|
Height
()
|
void
|
ImageLoadingCompleted
(
TInt
)
|
TBool
|
IsViewable
()
|
void
|
LoadUriL
()
|
CSvgImageElementImpl
*
|
NewL
(const
TUint8
,
CSvgDocumentImpl
*)
|
CSvgImageElementImpl
*
|
NewLC
(const
TUint8
,
CSvgDocumentImpl
*)
|
const
TDesC
&
|
Par
()
|
void
|
Print
(
TBool
)
|
CSvgImageElementImpl
*
|
ReferenceElement
()
|
void
|
RemoveImageElementListener
(
MSvgImageElementListener
*)
|
void
|
ResetReference
()
|
TInt
|
SetAttributeDesL
(const
TInt
, const
TDesC
&)
|
TInt
|
SetAttributeFloatL
(const
TInt
, const
TFloatFixPt
)
|
TInt
|
SetAttributeL
(const
TDesC
&, const
TDesC
&)
|
void
|
SetBitmap
(
CFbsBitmap
*)
|
void
|
SetHeight
(
TFloatFixPt
)
|
void
|
SetParL
(const
TDesC
&)
|
void
|
SetReferenceElement
(
CSvgImageElementImpl
*)
|
void
|
SetUriL
(const
TDesC
&)
|
void
|
SetWidth
(
TFloatFixPt
)
|
TInt
|
StartImageDecoding
(const
TDesC8
&,
TBool
)
|
TInt
|
StartImageDecoding
(
RFile
&,
CFbsBitmap
*,
TBool
)
|
TFloatFixPt
|
Width
()
|
TFloatFixPt
|
X
()
|
TFloatFixPt
|
Y
()
|
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()
|
|
CSvgElementImpl::AnimateMotionMatrixIndexL()
|
|
CSvgElementImpl::AnimateTransformMatrixIndexL()
|
|
CSvgElementImpl::AppendChildL(MXmlElement *,TBool)
|
|
CSvgElementImpl::AreAllAttributesAdded()
|
|
CSvgElementImpl::CSvgElementImpl()
|
|
CSvgElementImpl::CanGenerateInternalEvent(TUint16,TSvgEvent)
|
|
CSvgElementImpl::CloneSvgStylePropertiesL(CSvgElementImpl *,CSvgElementImpl *)
|
|
CSvgElementImpl::CopyL(CSvgElementImpl *)
|
|
CSvgElementImpl::CreateSvgTestL(const TUint16)
|
|
CSvgElementImpl::CurrentColor()
|
|
CSvgElementImpl::DeactivateAnimation()
|
|
CSvgElementImpl::DoAnimProcL(MSvgEvent *)
|
|
CSvgElementImpl::DrawShapeL(CGfx2dGc *,CSvgElementImpl *)
|
|
CSvgElementImpl::DrawShapeL(CGfx2dGc *,MGfxShape &,CSvgElementImpl *)
|
|
CSvgElementImpl::FindProperty(const TInt8,CCssValue *&)
|
|
CSvgElementImpl::FindProperty(const TInt8,CCssValue *&,CSvgElementImpl *)
|
|
CSvgElementImpl::GetAttributeIntL(const TInt,TInt32 &)
|
|
CSvgElementImpl::GetAttributePath(const TInt,CGfxGeneralPath *&)
|
|
CSvgElementImpl::GetCTM()
|
|
CSvgElementImpl::GetCurrentScale()
|
|
CSvgElementImpl::GetDefaultAttributeL(const TInt,CCssValue *&)
|
|
CSvgElementImpl::GetPathAttribute(TInt)
|
|
CSvgElementImpl::GetRequiredExtensions(const CDesCArrayFlat *&)
|
|
CSvgElementImpl::GetRequiredFeatures(const CDesCArrayFlat *&)
|
|
CSvgElementImpl::GetSvgStylePropertiesArray(RPointerArray< CCssValue > *&)
|
|
CSvgElementImpl::GetSystemLanguage(const CDesCArrayFlat *&)
|
|
CSvgElementImpl::GetTransform(MSvgTransformList *&)
|
|
CSvgElementImpl::HasAnimation()
|
|
CSvgElementImpl::HasAnyTests()
|
|
CSvgElementImpl::HasExtension(const TDesC &)
|
|
CSvgElementImpl::HasFeature(const TDesC &)
|
|
CSvgElementImpl::Href()
|
|
CSvgElementImpl::HrefPointer()
|
|
CSvgElementImpl::Id()
|
|
CSvgElementImpl::InitAllSvgStyleProperties(CSvgElementImpl *)
|
|
CSvgElementImpl::InitSvgJSRStyleProperties(CSvgElementImpl *)
|
|
CSvgElementImpl::InitSvgStyleProperties()
|
|
CSvgElementImpl::InitSvgStylePropertiesWithNullL()
|
|
CSvgElementImpl::InitializeL(TUint8)
|
|
CSvgElementImpl::IsAnimatedElement()
|
|
CSvgElementImpl::IsAnimating()
|
|
CSvgElementImpl::IsDrawable()
|
|
CSvgElementImpl::IsInherited(const TInt)
|
|
CSvgElementImpl::IsMouseDown()
|
|
CSvgElementImpl::IsMouseIn()
|
|
CSvgElementImpl::IsOverwriteTransforms()
|
|
CSvgElementImpl::IsSVGEnginePaused()
|
|
CSvgElementImpl::IsTransformable()
|
|
CSvgElementImpl::IsVisible()
|
|
CSvgElementImpl::PointToParent(const TInt)
|
|
CSvgElementImpl::PrintStyleProperties()
|
|
CSvgElementImpl::PropagateToChildren(CCssValue *,CCssValue *,const TInt)
|
|
CSvgElementImpl::ReInitializeAnimation()
|
|
CSvgElementImpl::ReceiveEventL(MSvgEvent *)
|
|
CSvgElementImpl::ReceiveEventL(MSvgEvent *,const TUint16)
|
|
CSvgElementImpl::RemoveAttribute(const TInt)
|
|
CSvgElementImpl::Reset(MSvgEvent *)
|
|
CSvgElementImpl::ResetReferenceAttrSet()
|
|
CSvgElementImpl::ResetReferenceElementL()
|
|
CSvgElementImpl::SetAllAttributesAdded(TBool)
|
|
CSvgElementImpl::SetAttributeIntL(const TInt,const TInt32)
|
|
CSvgElementImpl::SetAttributePathL(const TInt,CGfxGeneralPath *)
|
|
CSvgElementImpl::SetAttributePathRef(const TInt,CGfxGeneralPath *&)
|
|
CSvgElementImpl::SetCTM(TGfxAffineTransform &)
|
|
CSvgElementImpl::SetGCL(CGfx2dGc *)
|
|
CSvgElementImpl::SetIdandXmlbaseL(const TDesC &,const TDesC &)
|
|
CSvgElementImpl::SetIsAnimating(TBool)
|
|
CSvgElementImpl::SetLangSpaceAttributeL(const TDesC &,const TDesC &)
|
|
CSvgElementImpl::SetMouseDown(TBool)
|
|
CSvgElementImpl::SetMouseIn(TBool)
|
|
CSvgElementImpl::SetOverwriteTransforms(TBool)
|
|
CSvgElementImpl::SetPathAttribute(TInt,CGfxGeneralPath *)
|
|
CSvgElementImpl::SetPresentationAttribute(const TInt8,CCssValue *&)
|
|
CSvgElementImpl::SetPropertyFloatL(const TInt &,TReal32)
|
|
CSvgElementImpl::SetPropertyL(const TInt &,const TDesC &)
|
|
CSvgElementImpl::SetRequiredExtensions(CDesCArrayFlat *&)
|
|
CSvgElementImpl::SetRequiredFeatures(CDesCArrayFlat *&)
|
|
CSvgElementImpl::SetSystemLanguage(CDesCArrayFlat *&)
|
|
CSvgElementImpl::SetTestAttributeL(const TDesC &,const TDesC &)
|
|
CSvgElementImpl::SetTransform(MSvgTransformList *&)
|
|
CSvgElementImpl::SetTransform(const TDesC &,const TDesC &)
|
|
CSvgElementImpl::SetTransformList(TGfxAffineTransform &)
|
|
CSvgElementImpl::SetTurnOff(TBool)
|
|
CSvgElementImpl::SetUriRefDesL(const TUint16,const TDesC &)
|
|
CSvgElementImpl::SetXMLLangL(const TDesC &)
|
|
CSvgElementImpl::SetXMLSpaceL(const TDesC &)
|
|
CSvgElementImpl::SetXlinkAttributeL(const TDesC &,const TDesC &)
|
|
CSvgElementImpl::StyleInParent(CSvgElementImpl *,TInt)
|
|
CSvgElementImpl::UpdateCTM()
|
|
CSvgElementImpl::WasTurnedOff()
|
|
CSvgElementImpl::XMLLang()
|
|
CSvgElementImpl::XMLSpace()
|
|
CSvgElementImpl::XlinkShow()
|
|
CSvgElementImpl::~CSvgElementImpl()
|
|
CXmlElementImpl::CopyL(CXmlElementImpl *)
|
|
CXmlElementImpl::ElemID()
|
|
CXmlElementImpl::FirstChild()
|
|
CXmlElementImpl::HasChildNodes()
|
|
CXmlElementImpl::LastChild()
|
|
CXmlElementImpl::NextSibling()
|
|
CXmlElementImpl::OwnerDocument()
|
|
CXmlElementImpl::ParentNode()
|
|
CXmlElementImpl::PreviousSibling()
|
|
CXmlElementImpl::RemoveAttribute(const TDesC &)
|
|
CXmlElementImpl::RemoveChild(MXmlElement *)
|
|
CXmlElementImpl::SetFirstChild(MXmlElement *)
|
|
CXmlElementImpl::SetLastChild(MXmlElement *)
|
|
CXmlElementImpl::SetNextSibling(MXmlElement *)
|
|
CXmlElementImpl::SetOwnerDocument(MXmlDocument *)
|
|
CXmlElementImpl::SetParentNode(MXmlElement *)
|
|
CXmlElementImpl::TagName()
|
|
CXmlElementImpl::~CXmlElementImpl()
|
Constructor & Destructor Documentation
CSvgImageElementImpl(CSvgDocumentImpl *)
~CSvgImageElementImpl()
~CSvgImageElementImpl
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddImageElementListener(MSvgImageElementListener *)
AssignImageData(HBufC8 *)
void
|
AssignImageData
|
(
|
HBufC8
*
|
aData
|
)
|
|
BitmapDecoded(CFbsBitmap *, CFbsBitmap *)
CheckRequiredAttributes()
TInt
|
CheckRequiredAttributes
|
(
|
)
|
|
ConstructL(const TUint8, CSvgDocumentImpl *)
CopyL(CSvgImageElementImpl *)
DrawL(CGfx2dGc *, CSvgElementImpl *)
GetAttributeDes(const TInt, TPtrC16 &)
GetAttributeFloat(const TInt, TFloatFixPt &)
GetBBox(TGfxRectangle2D &)
GetUnscaledBBox(TGfxRectangle2D &)
ImageLoadingCompleted(TInt)
void
|
ImageLoadingCompleted
|
(
|
TInt
|
aErrorStatus
|
)
|
|
IsViewable()
TBool
|
IsViewable
|
(
|
)
|
[inline, virtual]
|
Return wether an svg element is displayable, such as <rect>, <circle>, or an abstract element, such as <g>, <animate>.
NewL(const TUint8, CSvgDocumentImpl *)
NewLC(const TUint8, CSvgDocumentImpl *)
NotifyImageDecoded()
void
|
NotifyImageDecoded
|
(
|
)
|
[private]
|
NotifyResetReference()
void
|
NotifyResetReference
|
(
|
)
|
[private]
|
Notify the listeners (
MSvgImageElementListener
) to dereference the reference element. This function can be called for eg. when the reference element is getting deleted.
-
Since
-
s60 3.2
PrepareImageFromSvgFile(const TDesC8 &)
void
|
PrepareImageFromSvgFile
|
(
|
const
TDesC8
&
|
aImageData
|
)
|
[protected]
|
PrepareImageWithMask()
void
|
PrepareImageWithMask
|
(
|
)
|
[private]
|
Print(TBool)
void
|
Print
|
(
|
TBool
|
aIsEncodeOn
|
)
|
[virtual]
|
ProcessEncodedImageL(const TDesC &)
void
|
ProcessEncodedImageL
|
(
|
const
TDesC
&
|
aXlinkHrefValue
|
)
|
[private]
|
Process an encoded image in the xlink:href attribute value.
Parameters
const
TDesC
& aXlinkHrefValue
|
: the string of the xlink:href attribute value.
|
ReferenceElement()
Get function for reference element
-
Since
-
s60 3.2
RemoveImageElementListener(MSvgImageElementListener *)
SetAttributeDesL(const TInt, const TDesC &)
TInt
|
SetAttributeDesL
|
(
|
const
TInt
|
aNameId,
|
|
const
TDesC
&
|
aValue
|
|
)
|
[virtual]
|
SetAttributeFloatL(const TInt, const TFloatFixPt)
SetAttributeL(const TDesC &, const TDesC &)
TInt
|
SetAttributeL
|
(
|
const
TDesC
&
|
aName,
|
|
const
TDesC
&
|
aValue
|
|
)
|
[virtual]
|
SetParL(const TDesC &)
void
|
SetParL
|
(
|
const
TDesC
&
|
aName
|
)
|
|
SetReferenceElement(CSvgImageElementImpl *)
Informs the image element that it is referring to a particular element. This is used in case an image element is cloned.
-
Since
-
s60 3.2
SetUriL(const TDesC &)
void
|
SetUriL
|
(
|
const
TDesC
&
|
aUri
|
)
|
|
StartImageDecoding(const TDesC8 &, TBool)
Starts the image decoding. This is the version that accepts descriptor data of the image content. Image can be SVG/ any format supported by
CImageDecoder
-
Since
-
s60 3.2
Parameters
const
TDesC8
& aImageData
|
Image Data Descriptor
|
TBool
aSyncLoading
|
ETrue=Sync Loading
|
StartImageDecoding(RFile &, CFbsBitmap *, TBool)
Starts the image decoding. This is the version that accepts file handle of the image content. Image can be SVG/ any format supported by
CImageDecoder
-
Since
-
s60 3.2
Parameters
RFile
& aImageFile
|
Image File handle
|
CFbsBitmap
* aBitmap
|
Bitmap Pointer
|
TBool
aSyncLoading
|
ETrue=Sync Loading
|
Member Data Documentation
TBool
iBitmapOrgReady
TBool
|
iBitmapOrgReady
|
[private]
|
TFileName
iFullPathFileName
TBool
iImageDecodingDone
TBool
|
iImageDecodingDone
|
[private]
|
CPeriodic * iImageDownloadTimer
RPointerArray< MSvgImageElementListener > iImageElementListeners
CSvgImageLoaderUtil * iImageLoader
TBool
iIsUriSet
TBool
|
iIsUriSet
|
[private]
|
CSvgImageElementImpl * iRefElement
TBool
iRenderImage
TBool
|
iRenderImage
|
[private]
|
TBool
iUsedImage
TBool
|
iUsedImage
|
[private]
|
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.