phonebookui/Phonebook2/inc/Pbk2PresentationUtils.h
branchRCL_3
changeset 15 e8e3147d53eb
parent 3 04ab22b956c2
child 64 c1e8ba0c2b16
equal deleted inserted replaced
14:81f8547efd4f 15:e8e3147d53eb
   124 class Pbk2PresentationImageUtils
   124 class Pbk2PresentationImageUtils
   125     {
   125     {
   126 public:
   126 public:
   127     enum TCroppingMode
   127     enum TCroppingMode
   128         {
   128         {
   129         /// Landscape image is cropped to square, target size is not used
   129         /// Image is cropped to square, target size is not used
   130         ELandscapeCropping                  = 0x0,
   130         ECropping                  = 0x0,
   131         /**
   131         /**
   132          * Landscape image is cropped to square and optimized to target size.
   132          * Image is cropped to square and optimized to target size.
   133          * Cropped bitmap minimum width is aTargetSize width. 
   133          * Cropped bitmap minimum width/height is aTargetSize width/height. 
   134          */
   134          */
   135         ELandscapeOptimizedCropping
   135         EOptimizedCropping
   136         };
   136         };
   137     
   137     
   138     IMPORT_C static void CropImageL( 
   138     IMPORT_C static void CropImageL( 
   139             CFbsBitmap& aBitmap, 
   139             CFbsBitmap& aBitmap, 
   140             TCroppingMode aCroppingMode, 
   140             TCroppingMode aCroppingMode,