graphicsresourceservices/graphicsresourceinterface/inc/sgimage.inl
changeset 36 01a6848ebfd7
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Graphics Resource - image inline functions
       
    15 //
       
    16 
       
    17 #ifndef SGIMAGE_INL
       
    18 #define SGIMAGE_INL
       
    19 
       
    20 inline TSgImageInfo::TSgImageInfo()
       
    21 	{
       
    22 	}
       
    23 
       
    24 inline TSgImageInfo::TSgImageInfo(const TSize& aSizeInPixels, TInt aPixelFormat, TUint32 aUsage)
       
    25 	: iSizeInPixels(aSizeInPixels), iPixelFormat(aPixelFormat), iUsage(aUsage)
       
    26 	{
       
    27 	}
       
    28 
       
    29 inline RSgImage::RSgImage()
       
    30 	: RSgDrawable(KSgImageTypeUid)
       
    31 	{
       
    32 	}
       
    33 
       
    34 #endif // SGIMAGE_INL