Public Member Functions | Static Public Member Functions | List of all members
IconData Struct Reference

Represents the multi-resolution contents of an ico file in memory. More...

#include <IconElementHandler.h>

Inheritance diagram for IconData:
RefCountedBase RefCounted< IRefCounted > IRefCounted

Public Member Functions

DGNPLATFORM_EXPORT void Serialize (DataExternalizer &externalizer) const
 
DGNPLATFORM_EXPORT double GetAspectRatio () const
 
- Public Member Functions inherited from RefCounted< IRefCounted >
void * operator new (size_t size)
 
void operator delete (void *rawMemory, size_t size)
 
UInt32 AddRef () const
 
UInt32 Release () const
 
 RefCounted ()
 
 RefCounted (RefCounted const &rhs)
 
RefCountedoperator= (RefCounted const &rhs)
 
UInt32 GetRefCount () const
 

Static Public Member Functions

static DGNPLATFORM_EXPORT
IconDataPtr 
CreateFromIcoFile (WCharCP fileName)
 
static DGNPLATFORM_EXPORT
IconDataPtr 
CreateFromResource (RscFileHandle handle, WCharCP alias)
 
static DGNPLATFORM_EXPORT
IconDataPtr 
CreateFromData (const byte *data, size_t dataSize)
 

Additional Inherited Members

- Protected Member Functions inherited from RefCounted< IRefCounted >
virtual ~RefCounted ()
 
- Protected Member Functions inherited from IRefCounted
virtual ~IRefCounted ()
 
void * operator new (size_t size)
 
void operator delete (void *rawMemory, size_t size)
 

Detailed Description

Represents the multi-resolution contents of an ico file in memory.

Remarks
Required library : DgnPlatform<ApiNumber>.lib i.e. DgnPlatform5.lib

Member Function Documentation

static DGNPLATFORM_EXPORT IconDataPtr CreateFromData ( const byte data,
size_t  dataSize 
)
static
static DGNPLATFORM_EXPORT IconDataPtr CreateFromIcoFile ( WCharCP  fileName)
static
static DGNPLATFORM_EXPORT IconDataPtr CreateFromResource ( RscFileHandle  handle,
WCharCP  alias 
)
static
DGNPLATFORM_EXPORT double GetAspectRatio ( ) const
DGNPLATFORM_EXPORT void Serialize ( DataExternalizer &  externalizer) const

The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.