S60 3rd Edition API Reference: akniconutils.h File Reference

akniconutils.h File Reference

API published in: S60 2nd Ed FP 3

Link against: aknicon.lib

Capability Information

Required Capabilities

None


#include <e32std.h>
#include <gdi.h>
#include "AknIconUtils.inl"

Go to the source code of this file.


Data Structures

class  TAknContentDimensions
 Class for storing the content dimensions of icons. More...
class  CAknIcon
 Cleanup stack helper. More...
class  MAknIconFileProvider
 The purpose of this class is for clients to provide opened file handles to icon files, which reside in private directories, where AknIcon server has no access. More...
class  AknIconUtils
 AknIconUtils. More...

Enumerations

enum  TScaleMode { EAspectRatioPreserved = 0, EAspectRatioPreservedAndUnusedSpaceRemoved = 1, EAspectRatioNotPreserved = 2, EAspectRatioPreservedSlice = 3 }

Enumeration Type Documentation

enum TScaleMode
 
Enumerator:
EAspectRatioPreserved 
EAspectRatioPreservedAndUnusedSpaceRemoved 
EAspectRatioNotPreserved 
EAspectRatioPreservedSlice  Scales the icon to the minimum size that covers the given size, whilst preserving the aspect ratio of the icon.

The sizes of the resulting bitmaps are exactly of the given size. If the aspect ratio of the given size differs from the aspect ratio of the icon, some parts of the icon will be sliced from the resulting bitmaps.

Public since 3rd Ed FP1


Copyright © Nokia Corporation 2001-2007
Back to top