MSmilRegion Class Reference
Interface representing a drawing region
Member Functions Documentation
AddMediaL(CSmilMedia *)
void
|
AddMediaL
|
(
|
CSmilMedia
*
|
aMedia
|
)
|
[pure virtual]
|
Called to by the Engine to tell that a piece of media is currently visible on this region
BackgroundTransparent()
TBool
|
BackgroundTransparent
|
(
|
)
|
const [pure virtual]
|
Is background transparent?
ContainsMedia(const CSmilMedia *)
Is the media currently visible on the region?
GetBackground()
TRgb
|
GetBackground
|
(
|
)
|
const [pure virtual]
|
GetBackgroundMode()
TBgMode
|
GetBackgroundMode
|
(
|
)
|
const [pure virtual]
|
Background mode of the region. Values match those of SMIL showBackground attribute:
EAlways - background is always drawn EWhenActive - background is drawn when some media is active on the region
GetFit()
TFit
|
GetFit
|
(
|
)
|
const [pure virtual]
|
Value of SMIL fit attribute. Values are:
EFill - media on this regions is scaled to fill it EMeet - media is scaled so that it fills the region in one direction while maintaining the aspect ratio ESlice - scale media to fill the region, while maintaining the aspect ration and slicing off the overflowing part EScroll - provide scrolling mechanism for the media EHidden - don't scale, slice off the overflow
GetForeground()
TRgb
|
GetForeground
|
(
|
)
|
const [pure virtual]
|
GetRectangle()
TRect
|
GetRectangle
|
(
|
)
|
const [pure virtual]
|
Coordinates of the drawing area
GetRectangle(const CSmilMedia *)
Coordinates of the media object within the rectangle. Empty rect if the media is not visible on the region
GetZIndex()
TInt
|
GetZIndex
|
(
|
)
|
const [pure virtual]
|
z-index of the region. Regions with higher z-index are drawn on top of lower ones
IsRoot()
TBool
|
IsRoot
|
(
|
)
|
const [pure virtual]
|
True if this is the root region
MediaTransitionEnd(CSmilMedia *)
void
|
MediaTransitionEnd
|
(
|
CSmilMedia
*
|
aMedia
|
)
|
[pure virtual]
|
Called to by the Engine to tell that a piece of media on the region has ended its transition (and fill=transition semantics should be applied)
Redraw()
void
|
Redraw
|
(
|
)
|
[pure virtual]
|
Requests redrawing of this region and its visible contents
Redraw(TRect)
void
|
Redraw
|
(
|
TRect
|
aUpdate
|
)
|
[pure virtual]
|
Requests redrawing of this region and its visible contents. Update area is given in the coordinate space of the region
RemoveMedia(CSmilMedia *)
void
|
RemoveMedia
|
(
|
CSmilMedia
*
|
aMedia
|
)
|
[pure virtual]
|
Called to by the Engine to tell that a piece of media is no longer visible on this region
Member Enumerations Documentation
Enum TFit
Enumerators
EFill
|
|
EMeet
|
|
ESlice
|
|
EScroll
|
|
EHidden
|
|
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.