CNvgFitToViewBoxImpl Class Reference
class CNvgFitToViewBoxImpl : public CBase
|
Public Member Functions
|
|
~CNvgFitToViewBoxImpl
()
|
void
|
Concatenate
(
TReal
)
|
void
|
Concatenate
(
TReal
,
TReal
,
TReal
,
TReal
,
TReal
,
TReal
)
|
CNvgFitToViewBoxImpl
*
|
NewL
()
|
CNvgFitToViewBoxImpl
*
|
NewLC
()
|
void
|
Scale
(
TReal
,
TReal
)
|
void
|
SetAlign
(
TNvgAlignStatusType
)
|
void
|
SetScaling
(
TNvgMeetOrSliceType
)
|
void
|
SetTransform
(
TReal
,
TReal
,
TReal
,
TReal
,
TReal
,
TReal
)
|
void
|
SetViewBox
(
TReal
,
TReal
,
TReal
,
TReal
)
|
void
|
SetWindowViewportTrans
(
TRect
,
TSize
)
|
void
|
Translate
(
TReal
,
TReal
)
|
Constructor & Destructor Documentation
CNvgFitToViewBoxImpl()
CNvgFitToViewBoxImpl
|
(
|
)
|
[private]
|
~CNvgFitToViewBoxImpl()
~CNvgFitToViewBoxImpl
|
(
|
)
|
[virtual]
|
Member Functions Documentation
Concatenate(TReal)
void
|
Concatenate
|
(
|
TReal
|
aMatrix
|
)
|
|
Concatenate(TReal, TReal, TReal, TReal, TReal, TReal)
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
: 2 Phase Constructor : None
NewLC()
: 2 Phase Constructor : None
Scale(TReal, TReal)
: Update the transformation matrix for Scaling the Contnet : Scaling factors Sx, Sy
SetAlign(TNvgAlignStatusType)
void
|
SetAlign
|
(
|
TNvgAlignStatusType
|
aAlignStatus
|
)
|
[inline]
|
: Setter function for Aligning : Indicates to fit the viewport in the viewbox
Parameters
TNvgAlignStatusType
aAlignStatus
|
|
SetScaling(TNvgMeetOrSliceType)
void
|
SetScaling
|
(
|
TNvgMeetOrSliceType
|
aMeetSlice
|
)
|
[inline]
|
: Setter function for MeetorSlice : Indicates whether to streach or slice the content
Parameters
TNvgMeetOrSliceType
aMeetSlice
|
|
SetTransform(TReal, TReal, TReal, TReal, TReal, TReal)
: Setter function for Transformation matrix : The first two rows of the transformation matrix
SetViewBox(TReal, TReal, TReal, TReal)
: Setter function for viewbox : :
TRect
which will be the viewbox for the content
SetWindowViewportTrans(TRect, TSize)
void
|
SetWindowViewportTrans
|
(
|
TRect
|
aViewPort,
|
|
TSize
|
aSize
|
|
)
|
|
: Calculating the transfomation matrix to carry out the viewport to viewbox transformation : The viewport which is to be transformed If viewbox is not defined, set the size of the viewbox
Translate(TReal, TReal)
: Update the transformation matrix for Translating the Contnet : Translation components by aX, aY coordinates
Member Data Documentation
TNvgAlignStatusType
iAlign
TNvgAlignStatusType
|
iAlign
|
TNvgMeetOrSliceType
iMeetSlice
TNvgMeetOrSliceType
|
iMeetSlice
|
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.