1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mm_plat/display_posting_api/inc/posting_surface.inl Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,69 @@
1.4 +/*
1.5 +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description: Header file for S60 display posting API
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +
1.23 +
1.24 +
1.25 +/**
1.26 +* Constructor of TPostingCapab class
1.27 +*/
1.28 +inline CPostingSurface::TPostingCapab::TPostingCapab():
1.29 + iMaxSourceSize(0),
1.30 + iMaxPixelSize( 0, 0 ),
1.31 + iSupportedRotations(0),
1.32 + iSupportsMirroring(EFalse),
1.33 + iSupportsScaling(EFalse),
1.34 + iSupportsBrightnessControl(EFalse),
1.35 + iSupportsContrastControl(EFalse),
1.36 + iSupportedPostingBuffering(EBufferingInvalid),
1.37 + iSupportedBufferTypes(EBufferTypeInvalid)
1.38 + {
1.39 + }
1.40 +
1.41 +/**
1.42 +* Constructor of TPostingSourceParams class
1.43 +*/
1.44 +inline CPostingSurface::TPostingSourceParams::TPostingSourceParams():
1.45 + iPostingBuffering(EBufferingInvalid),
1.46 + iBufferType(EBufferTypeInvalid),
1.47 + iPostingUsage(EUsageInvalid),
1.48 + iSourceImageSize( 0, 0 ),
1.49 + iPostingFormat(EFormatInvalidValue),
1.50 + iPixelAspectRatioNum(0),
1.51 + iPixelAspectRatioDenom(0),
1.52 + iContentCopyRestricted(EFalse)
1.53 + {
1.54 + }
1.55 +
1.56 +/**
1.57 +* Constructor of TPostingParams class
1.58 +*/
1.59 +inline CPostingSurface::TPostingParams::TPostingParams():
1.60 + iDisplayedRect( 0, 0, 0, 0 ),
1.61 + iScaleToRect( 0, 0, 0, 0 ),
1.62 + iInputCrop( 0, 0, 0, 0 ),
1.63 + iMirror(EFalse),
1.64 + iRotation(ENoRotation),
1.65 + iBrightness(0),
1.66 + iContrast(0),
1.67 + iBackGround(0)//Black
1.68 + {
1.69 + }
1.70 +
1.71 +// End of File
1.72 +